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

suggested fixes #82

Merged
merged 4 commits into from
Sep 23, 2024
Merged

suggested fixes #82

merged 4 commits into from
Sep 23, 2024

Conversation

apryet
Copy link
Contributor

@apryet apryet commented Jun 26, 2024

Hello Andy

Here are two suggested fixes :

fcddf29 sets the raster loading method to avoid issue in projection (circumvents bug in rasterstats)

09b2cc0 removes unnecessary processing of array data for generic (non high k lakes)

Feel free to take them into consideration !

Alex

…ad to proj issues. Bypassed when source raster is loaded with rasterio and affine transform specified
…its to the model top if the lake package is being built, and a lake bathymetry raster was supplied (to be subtracted from the initial model top, which presumably represents a typical lake surface elevation, so that the model top is set at the lake bottom.
…ray, since top shouldn't be modified; refactor(sourcedata.setup_array): move resetting of model top to branch where the top modified by supplied lake bathymetry (since this should be the only situation where this is needed)
@aleaf aleaf merged commit 9f53a9c into DOI-USGS:develop Sep 23, 2024
8 checks passed
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