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

several low level flw and raster methods #74

Merged
merged 9 commits into from
Oct 11, 2021
Merged

several low level flw and raster methods #74

merged 9 commits into from
Oct 11, 2021

Conversation

DirkEilander
Copy link
Contributor

new:

  • flw.d8_from_dem to derive a flow direction raster from a DEM
  • flw.reproject_hydrography_like to reproject flow direction raster data
  • raster.flipud method to flip data along y-axis
  • raster.area_grid to get the raster cell areas [m2]
  • raster.density_grid to convert the values to [unit/m2]
  • gis_utils.spread2d method wrapping its pyflwdir equivalent

deprecation warnings added to:

  • flw.gaugemap is replaced by flw.gauge_map for a more conistent interace of flw.*map methods
  • flw.basin_shape is redundant

Copy link
Contributor

@hboisgon hboisgon left a comment

Choose a reason for hiding this comment

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

Very nice new functions implementation from the new pyflwdir version! They're also already added in the docs and finally some units tests on the flw and raster methods :) Thanks @DirkEilander

@hboisgon hboisgon merged commit e629c32 into main Oct 11, 2021
@DirkEilander DirkEilander deleted the flw branch October 11, 2021 12:21
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