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

Feature/parametrization #47

Merged
merged 9 commits into from
Jan 21, 2025
Merged

Feature/parametrization #47

merged 9 commits into from
Jan 21, 2025

Conversation

geier1993
Copy link
Contributor

Allows sending (static) global metadata at the beginning of the simulation - called parametrization.

Parametrization can be accessed explicitly or inherently through local metadata objects.

When specific key lookups are made on a metadata object and the key is not-existing, a lookup to the global parametrization is made and its value is copied to the local object.

There should be no side effects to existing, working models - due to the second lookup, there may be a measurable difference in computational performance.

The feature was initially planned to be used with ifs, by sending static IFS specific information at the beginning and performing mappings from IFS specific information through an action.

@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 67.33668% with 195 lines in your changes missing coverage. Please review.

Project coverage is 23.09%. Comparing base (2c04b5d) to head (6ad461d).
Report is 30 commits behind head on develop.

Files with missing lines Patch % Lines
...o/action/statistics/cfg/StatisticsConfiguration.cc 55.81% 38 Missing ⚠️
src/multio/api/c/multio_capi.cc 18.18% 18 Missing ⚠️
src/multio/action/statistics/Statistics.cc 74.57% 15 Missing ⚠️
...istics/operations/OperationWithDeaccumulatedData.h 0.00% 13 Missing ⚠️
src/multio/message/BaseMetadata.cc 82.81% 11 Missing ⚠️
src/multio/api/fortran/multio_fapi_handle.F90 0.00% 10 Missing ⚠️
...ion/statistics/period-updaters/HourPeriodUpdater.h 0.00% 8 Missing ⚠️
src/multio/message/Parametrization.cc 82.97% 8 Missing ⚠️
src/multio/action/statistics/RemapParamID.cc 41.66% 7 Missing ⚠️
...tion/statistics/period-updaters/DayPeriodUpdater.h 0.00% 7 Missing ⚠️
... and 27 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #47      +/-   ##
===========================================
+ Coverage    22.91%   23.09%   +0.17%     
===========================================
  Files          292      296       +4     
  Lines        30582    30711     +129     
  Branches      1169     1176       +7     
===========================================
+ Hits          7009     7092      +83     
- Misses       23573    23619      +46     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dsarmany dsarmany force-pushed the feature/parametrization branch from 84217bd to 55e5921 Compare January 21, 2025 16:23
@dsarmany dsarmany merged commit 58e0782 into develop Jan 21, 2025
130 checks passed
@dsarmany dsarmany deleted the feature/parametrization branch January 21, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants