Skip to content

Mutiple changes#489

Merged
rubencalje merged 4 commits intodevfrom
small_improvements
Jul 4, 2025
Merged

Mutiple changes#489
rubencalje merged 4 commits intodevfrom
small_improvements

Conversation

@rubencalje
Copy link
Copy Markdown
Collaborator

Multiple smaller changes:

  • Add method nlmod.grid.gdf_area_per_index_to_da
  • Replace "angrot" in ds.attrs and ds.attrs["angrot"] != 0.0 by is_rotated(ds_out) in nlmod.grid
  • Add docstring to nlmod.time.dataframe_to_flopy_timeseries
  • Add parameter move_index_from_end_to_start to nlmod.time.dataframe_to_flopy_timeseries
  • Add nlmod.plot.get_ahn_colormap
  • Add parameter season_filename to nlmod.gwf.surface_water.gdf_to_seasonal_pkg

Not sure about the naming of gdf_area_per_index_to_da and move_index_from_end_to_start. Suggestions are welcome...

Add method `nlmod.grid.gdf_area_per_index_to_da'
Replace `"angrot" in ds.attrs and ds.attrs["angrot"] != 0.0` by `is_rotated(ds_out)` in `nlmod.grid`
Add docstring to `nlmod.time.dataframe_to_flopy_timeseries`
Add `nlmod.plot.get_ahn_colormap`
Add parameter `season_filename` to `nlmod.gwf.surface_water.gdf_to_seasonal_pkg`
Copy link
Copy Markdown
Collaborator

@dbrakenhoff dbrakenhoff left a comment

Choose a reason for hiding this comment

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

Nice, good additions :)

@github-project-automation github-project-automation bot moved this from Todo to In Progress in NHFLO Jun 25, 2025
@dbrakenhoff
Copy link
Copy Markdown
Collaborator

Ah, just saw your comment about the names, some suggestions:

gdf_area_per_index_to_da

  • area_da_from_gdf
  • area_da_per_geometry
  • ...

move_index_from_end_to_start

  • time_period_label = "end" or time_period_label = "start"
  • use_period_end_index = True/False
  • ...

@rubencalje
Copy link
Copy Markdown
Collaborator Author

After discussing with @dbrakenhoff :
gdf_area_to_da
shift_label_from_right_to_left

@rubencalje rubencalje merged commit 7c6dc27 into dev Jul 4, 2025
4 of 5 checks passed
@rubencalje rubencalje deleted the small_improvements branch July 4, 2025 08:44
@github-project-automation github-project-automation bot moved this from In Progress to Done in NHFLO Jul 4, 2025
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