-
Notifications
You must be signed in to change notification settings - Fork 10
Add subdaily check #485
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
Add subdaily check #485
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #485 +/- ##
========================================
Coverage 96.92% 96.92%
========================================
Files 38 38
Lines 2955 2957 +2
========================================
+ Hits 2864 2866 +2
Misses 91 91 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The SubdailyPModel and AcclimationModel are basically paired - I don't think we should allow the AcclimationModel to create inputs that SubdailyPModel will reject, so it is probably better placed in AcclimationModel. It's also marginally more convenient since there is already one check on the pyrealm/pyrealm/pmodel/acclimation.py Lines 222 to 223 in 483976b
|
db23dc5 to
aa6f9b6
Compare
…ondon/pyrealm into issue416_check_subdaily
davidorme
left a comment
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.
LGTM - can we add a test?
Co-authored-by: David Orme <[email protected]>
…ondon/pyrealm into issue416_check_subdaily
I added a test now |
Description
The underlying issue #416 wanted to add a check for
SubdailyScalerto make sure that the data is indeed subdaily. The scaler has in the meantime been replaced by theAcclimationModel, which is paired with the SubdailyPModel.Fixes #416
Type of change
Key checklist
pre-commitchecks:$ pre-commit run -a$ poetry run pytestFurther checks