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

246 fix error when invalid waterways geometry #247

Merged
merged 16 commits into from
Feb 23, 2024

Conversation

rosepearson
Copy link
Owner

@rosepearson rosepearson commented Feb 22, 2024

Fixes:

  • Make code change
  • Update tests
    • Update / create new tests
    • Ensure these tests have the expected behavour
    • Test locally and ensure tests are passing
  • Ensure tests passing on GH Actions
  • Update documentation
    • Doc strings
    • Wiki
  • Update package (version.py & pyproject.toml) version (if needed)

Explicitly delete the DEM between save and load to encourage Python to release the file.
set this as default for the waterways step.
The thought is this may reduce processing load.
Hopefully produce fewer dask / garbage collection errors in waterways.
@rosepearson rosepearson merged commit 2e07142 into main Feb 23, 2024
2 checks passed
@rosepearson rosepearson deleted the 246-fix-error-when-invalid-waterways-geometry branch February 23, 2024 02:59
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.

fix error when invalid waterways geometry Compress output NetCDF files
1 participant