uaf-arctic-eco-modeling / dvm-dos-tem

A process based Dynamic Vegetation, Dynamic Organic Soil, Terrestrial Ecosystem Model.
MIT License
22 stars 24 forks source link

Clean up Soil_Env::getPenMonET() #627

Open rarutter opened 1 year ago

rarutter commented 1 year ago

Note that Vegetation_Env::getPenMonET() is an identical copy.

This function has hard-coded physical constants (heat capacity of dry air, air density, etc) that should be extracted to the constants header file. It also needs an explanatory Doxygen comment, some cleanup of the existing comments (formatting and spelling), and possibly a rename to something clearer.

Explanatory comment:

New name: penman, monteith

Typos: raiative convectie

Formatting: Random spacing choices

Constants: