ImperialCollegeLondon / ImperialCollegeLondon/virtual_ecosystem
Adjust transpiration conversion to changing density of water with temperature and pressure
- Dominant language
- Python
- Stars
- 20
- Forks
- 5
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 34
Description
The code in `PlantsModel.estimate_gpp` currently use a conversion factor for plant transpiration from `µmol m2` to `mm m2` of 1.8e-8. This is approximate for fixed standard temp and pressure, (1 mol is ~ 18 cm2 = 18000 mm2 = 0.018 mm m2 so 1 µmol is 1.8e-8 mm m2) but we can get this more precisely. This is being implemented in `pyrealm` in `pyrealm.core.water.convert_water_moles_to_mm` but that isn't in a public release yet.
Contributor guide
Research direction
Start at PlantsModel.estimate_gpp and inspect how the fixed 1.8e-8 factor is applied. Check the referenced pyrealm.core.water.convert_water_moles_to_mm API and its release availability; done means transpiration conversion accounts for temperature and pressure rather than fixed standard conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100