gem2-seaice-toolbox issueshttps://gitlab.awi.de/sitem/gem2-seaice-toolbox/-/issues2022-01-04T09:20:13Zhttps://gitlab.awi.de/sitem/gem2-seaice-toolbox/-/issues/6Code cleanup2022-01-04T09:20:13ZStefan HendricksCode cleanupThe toolbox has accumulated a lot of non-functional and deprecated code. A code clean-up and simplification is required for the longlevity of the toolbox.
This action should include:
- [x] {- Remove EMPEX classes -}
- [x] {- Remove m...The toolbox has accumulated a lot of non-functional and deprecated code. A code clean-up and simplification is required for the longlevity of the toolbox.
This action should include:
- [x] {- Remove EMPEX classes -}
- [x] {- Remove module driftcor -}
- [ ] {+ Add type hints +}Stefan HendricksStefan Hendrickshttps://gitlab.awi.de/sitem/gem2-seaice-toolbox/-/issues/5EMSensorMetadata key error in survey.py2021-12-06T11:50:43ZMara NeudertEMSensorMetadata key error in survey.pyrunning "merge_and_calibrate_transect_data.py" with sensor definition file
\mosaic-gem2-analysis\config\sensor-definition\gem2-556-mosaic-seaice-default.yaml
results in
```
Traceback (most recent call last):
File "merge_and_calibrat...running "merge_and_calibrate_transect_data.py" with sensor definition file
\mosaic-gem2-analysis\config\sensor-definition\gem2-556-mosaic-seaice-default.yaml
results in
```
Traceback (most recent call last):
File "merge_and_calibrate_transect_data.py", line 246, in <module>
main()
File "merge_and_calibrate_transect_data.py", line 51, in main
sensor_def_repo=sensor_def_repo
File "C:\Users\mara-\anaconda3\lib\site-packages\gem2_seaice_toolbox\survey.py", line 42, in __init__
self.metadata = EMSensorMetadata(self._yaml_content["metadata"])
KeyError: 'metadata'
```https://gitlab.awi.de/sitem/gem2-seaice-toolbox/-/issues/2Verify correctness of calibration and survey definition files2021-12-23T12:44:12ZStefan HendricksVerify correctness of calibration and survey definition filesPassing a link to a wrong definition (yaml) file will result in random exceptions, whose origin are not immediatly clear to the user.
All scripts shall therefore evaluate the correctness of the input definition files before execution a...Passing a link to a wrong definition (yaml) file will result in random exceptions, whose origin are not immediatly clear to the user.
All scripts shall therefore evaluate the correctness of the input definition files before execution and provide appropriate feedback on errors.Stefan HendricksStefan Hendricks