-
Notifications
You must be signed in to change notification settings - Fork 9
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
Aligning PModel and Subdaily PModel #401
Merged
davidorme
merged 17 commits into
383-meta-release-200
from
386-align-pmodel-and-subdailypmodel
Feb 12, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c16d901
Functional sketch of new architecture for PModel and SubdailyPModel
davidorme ba11ec4
Adding self._fit_model() at end of __init__
davidorme 2f551ff
Removed commented code - longwinded way of trying to run _fit_model, …
davidorme 519bc83
No need to store Arrhenius calculator
davidorme a687300
Merge branch 'develop' into 386-align-pmodel-and-subdailypmodel
davidorme 832c42d
Cleaner methods setup in PModelABC
davidorme 377b690
Docstrings
davidorme a3eaa1e
Port convert_pmodel_to_subdaily to PModelNew.to_subdaily
davidorme 46f02a1
Porting tests.unit.pmodel.test_subdaily.py
davidorme cd8cef1
More test porting
davidorme 34ddfc9
Merge branch 'develop' into 386-align-pmodel-and-subdailypmodel
davidorme 3dedb8c
Merge branch '390-update-pmodelenvironment' into 386-align-pmodel-and…
davidorme ea4a5dc
Updating to new PModelEnvironment
davidorme a809cd4
Fixing bug, test updates
davidorme 5d0b72c
Merge branch 'develop' into 386-align-pmodel-and-subdailypmodel
davidorme 9c92293
Updating CHANGES.md
davidorme 509b279
Merge branch '386-align-pmodel-and-subdailypmodel' of https://github.…
davidorme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,8 @@ | |
calculate_simple_arrhenius_factor, | ||
) | ||
from pyrealm.pmodel.isotopes import CalcCarbonIsotopes | ||
|
||
# from pyrealm.pmodel.new_pmodel import PModelNew, SubdailyPModelNew | ||
from pyrealm.pmodel.pmodel import PModel | ||
from pyrealm.pmodel.pmodel_environment import PModelEnvironment | ||
from pyrealm.pmodel.scaler import SubdailyScaler | ||
|
@@ -62,6 +64,8 @@ | |
"PModel", | ||
"PModelEnvironment", | ||
"SubdailyPModel", | ||
# "PModelNew", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same, rather delete There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here too. |
||
# "SubdailyPModelNew", | ||
"SubdailyScaler", | ||
"calc_co2_to_ca", | ||
"calc_ftemp_inst_rd", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather delete than comment out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are as a placeholder to remind me when I strip out the old implementations. Because this isn't merging into
develop
directly, there are a few loose ends which I'll tidy up before that branch merges down.