Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications to i.image.bathymetry to return original functionality #321

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dnewcomb
Copy link

This will restore the previous options for adaptive and bisquare kernel as described in the manual page.

#predict = g.read_command("g.tempfile", pid=os.getpid()).strip() + '.txt'
#replace dynamic variable of predict with a static filename until g.tempfile formatting
#is cross platform
predict="bathytemp.txt"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we use tempfile library to get a temporary name? something like os.path.join(tempfile.gettempdir(), os.getpid()).strip() + '.txt') should work

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, maybe better

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@lucadelu lucadelu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems good, I suggest only a small change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants