ImperialCollegeLondon / pyrealm

Development of the pyrealm package, providing an integrated toolbox for modelling plant productivity, growth and demography using Python.
https://pyrealm.readthedocs.io/
MIT License
16 stars 6 forks source link

Create a draft Canopy class #230

Open davidorme opened 2 months ago

davidorme commented 2 months ago

This new feature is to take the canopy model description added in the WIP pull request #227 and implement the creation of a Canopy instance:

Approximate specification:

It isn't clear to me that this needs anything public except the __init__ method? It makes sense to break up the calculations into logical subfunctions for testing and readability, but basically it is one big calculation. We could have an explicit calculate_canopy step?