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

minor bug fixes to grid_opt.py #10

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

Conversation

cseaton
Copy link

@cseaton cseaton commented Mar 9, 2019

args.optparm is created , but then used as args.optparam, so I changed it to args.optparm
args.na_fill is never defined. I added a line to provide a default value for na_fill. Probably needs to be a command line argument with a default value, but this at least allows the code to run.

args.optparm is created , but then used as args.optparam, so I changed it to args.optparm
args.na_fill is never defined. I added a line to provide a default value for na_fill. Probably needs to be a command line argument with a default value, but this at least allows the code to run.
@water-e
Copy link
Collaborator

water-e commented Apr 28, 2019

We agree in general, but we're working out the default for na_fill. There are some reasons why na_fill = None (fail if not covered) is preferable because silently filling -9999 will pass pain. The real issue is in stacked_dem_fill.py. We are thinking of eliminating require_all and making this implied by na_fill = None. In the meantime there is nothing bad about this as long as it works for you or there are no holes in your elevation coverage.

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.

2 participants