-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure
env_params
intake for calibration (#985)
* add get_env_params_EK60 to CalibrateEK60.__init__, make sure CalibrateEK80.__init__ env param intake uses self.echodata and self.env_params * add a narrow integration test to ensure env_params intake for CalibrateEK60 * add a narrow integration test to ensure env_params intake for CalibrateAZFP * add sanitize_user_env_dict, revise get_env_params_AZFP to use new func * revise get_env_params_EK60, add sound speed and absorption formula sources as env params, fix tests * fix EK60 env params intake and tests * use get_env_params_EK for EK60 intake, add EK60 integration test without input * use get_env_params_EK in CalibrateEK80, add test_env_params_intake_EK80_no_input * add test_env_params_intake_EK80_with_input, fix condition to use values from EK80 data * add sound speed to FG absorption input in get_env_params_EK, shorten formula name * fix pre-commit errors * change to include pH in terms of whether to recompute sound speed/absorption, add input data array test case * remove get_env_params_EK80 completely from codebase * add test_sanitize_user_env_dict, fix typing for sanitize_user_*_dict * add test_get_env_params_AZFP * add test_get_env_params_EK60_calculate/from_data * add partial test_get_env_params_EK80_from_data * fix test_get_env_params_EK80_from_data, revise get_env_params_EK comments * change ed_group to ed_beam_group * fix azfp tests involving mean temperature * remove redundancy in passing in extra ed_beam_group in _cal_power_samples and _cal_complex_samples * add missed test cases in test_sanitize_user_env_dict * change list to List in typing --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Emilio Mayorga <[email protected]>
- Loading branch information
1 parent
da0a9e9
commit edc1d15
Showing
13 changed files
with
846 additions
and
217 deletions.
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
Oops, something went wrong.