Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider the removal of the PModel.estimate_productivity method #385

Open
Tracked by #383
davidorme opened this issue Jan 13, 2025 · 0 comments
Open
Tracked by #383

Consider the removal of the PModel.estimate_productivity method #385

davidorme opened this issue Jan 13, 2025 · 0 comments

Comments

@davidorme
Copy link
Collaborator

davidorme commented Jan 13, 2025

At the moment, PModel has a separate method for scaling light use efficiency calculations up to GPP:

model = PModel(....)
model.estimate_productivity(fapar=..., PPFD=...)

That saves a few calculations if only LUE is required. But, the same can't be applied to the calculation of SubdailyPModel and it would be better to have the two models have closer signatures. So, I'm consulting, but I think we lose this method and align the signatures so that both use:

model = PModel(..., fapar=..., PPFD=...)

We can then add getters for some of the properties so that they are calculated on demand to keep the memory footprint and calculation speed lower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant