Skip to content

Add PTF for air entry pressure (hb) computation in setup_soilmaps#781

Draft
shartgring wants to merge 3 commits into
Deltares:mainfrom
PeterNelemans:clean-pr
Draft

Add PTF for air entry pressure (hb) computation in setup_soilmaps#781
shartgring wants to merge 3 commits into
Deltares:mainfrom
PeterNelemans:clean-pr

Conversation

@shartgring

Copy link
Copy Markdown
Collaborator
  • Add hb_brakensiek() and hb_clapp() PTF functions in workflows/ptf.py
  • Add air_entry_pressure() workflow in workflows/soilgrids.py
  • Add ptf_hb parameter to soilgrids() and setup_soilmaps()
  • Add soil_hb to default output_names in setup_soilmaps()
  • Add 'soil_hb' entry to naming.py for v0/v1 name mapping
  • Update example reference models (staticmaps.nc, TOML configs)
  • Update test layer count (69 -> 70) for the new soil_hb variable
  • Update changelog

Issue addressed

Fixes #28

Explanation

See #411.

Checklist

  • Updated tests or added new tests
  • Branch is up to date with main
  • Tests & pre-commit hooks pass
  • Updated documentation if needed

Additional Notes (optional)

Add any additional notes or information that may be helpful.

- Add hb_brakensiek() and hb_clapp() PTF functions in workflows/ptf.py
- Add air_entry_pressure() workflow in workflows/soilgrids.py
- Add ptf_hb parameter to soilgrids() and setup_soilmaps()
- Add soil_hb to default output_names in setup_soilmaps()
- Add 'soil_hb' entry to naming.py for v0/v1 name mapping
- Update example reference models (staticmaps.nc, TOML configs)
- Update test layer count (69 -> 70) for the new soil_hb variable
- Update changelog
@shartgring

shartgring commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

The old PR included new versions of the staticmaps. However as that PR was already quite old, they have been updated in other PRs. So, I recreated the test models using python scripts/generate_example_models.py for this PR. This was successful for Windows, now trying Linux through WSL

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.

Air entry pressure (PTF) from SoilGrids

1 participant