kujaku11 / mt_metadata

Tools for standardizing metadata, geared towards magnetotelluric (MT) data but is general enough to accommodate "any" type of metadata.
https://mt-metadata.readthedocs.io/en/latest/
MIT License
19 stars 5 forks source link

Add Ability to store processing configuration in TF #196

Closed kujaku11 closed 8 months ago

kujaku11 commented 8 months ago

Addressing issue #195 to allow for the ability to store the processing configuration on how the transfer functions are estimated.

Need to add container in mt_metadata.transfer_functions.tf.TransferFunction object. Should keep processing_parameters and make it work with a new attribute processing_config.

codecov-commenter commented 8 months ago

Codecov Report

Attention: Patch coverage is 92.19512% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 85.01%. Comparing base (d55730b) to head (ef9d0fa).

Files Patch % Lines
...etadata/transfer_functions/tf/transfer_function.py 80.00% 8 Missing :warning:
...unctions/processing/aurora/channel_nomenclature.py 83.33% 3 Missing :warning:
...transfer_functions/processing/aurora/processing.py 66.66% 2 Missing :warning:
...a/transfer_functions/processing/aurora/stations.py 60.00% 2 Missing :warning:
.../tf/processing/aurora/test_channel_nomenclature.py 96.96% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #196 +/- ## ========================================== + Coverage 84.57% 85.01% +0.44% ========================================== Files 269 270 +1 Lines 20253 20434 +181 ========================================== + Hits 17128 17371 +243 + Misses 3125 3063 -62 ``` | [Flag](https://app.codecov.io/gh/kujaku11/mt_metadata/pull/196/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JP) | Coverage Δ | | |---|---|---| | [tests](https://app.codecov.io/gh/kujaku11/mt_metadata/pull/196/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JP) | `85.01% <92.19%> (+0.44%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JP#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.