oceanarray 0.6.2__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oceanarray-0.7.0/.github/PULL_REQUEST_TEMPLATE.md +23 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/workflows/tests.yml +10 -4
- oceanarray-0.7.0/AGENTS.md +11 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/CHANGELOG.md +124 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/CITATION.cff +3 -3
- oceanarray-0.7.0/CONTRIBUTING.md +163 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/PKG-INFO +15 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/README.md +13 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/css/custom.css +9 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/array_configuration.rst +8 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/cli_reference.rst +38 -48
- oceanarray-0.7.0/docs/source/configuration_files.rst +176 -0
- oceanarray-0.7.0/docs/source/developer.rst +1318 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/files.rst +18 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/index.rst +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/auto_qc.rst +26 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/calibration.rst +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/oceansites_export.rst +7 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/standardisation.rst +3 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/time_gridding.rst +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/trimming.rst +36 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/vertical_gridding.rst +7 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/migrating_0_6_0.rst +23 -18
- oceanarray-0.7.0/docs/source/migrating_0_7_0.rst +902 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/oceanSITES_manual.rst +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/oceanarray.rst +221 -42
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/oceanarray_format.rst +10 -9
- oceanarray-0.7.0/docs/source/project_structure.rst +194 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/quickstart.rst +17 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/reports.rst +2 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/roadmap.rst +3 -3
- oceanarray-0.7.0/docs/source/sensor_catalog.rst +80 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/yaml_configuration.rst +60 -34
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/demo_mooring.ipynb +4 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_check_clock.ipynb +2 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_clock_offset.ipynb +2 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_stage1.ipynb +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_stage2.ipynb +2 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/__init__.py +21 -21
- oceanarray-0.7.0/oceanarray/_deprecated.py +613 -0
- oceanarray-0.7.0/oceanarray/_version.py +1 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/analysis/__init__.py +2 -0
- {oceanarray-0.6.2/oceanarray/pipeline → oceanarray-0.7.0/oceanarray/analysis}/clock/deployment.py +15 -3
- {oceanarray-0.6.2/oceanarray/pipeline → oceanarray-0.7.0/oceanarray/analysis}/clock/offsets.py +38 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/analysis/derived.py +23 -59
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/analysis/hydrography.py +5 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/analysis/site.py +24 -13
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/analysis/spectral.py +19 -7
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/__init__.py +87 -63
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/_common.py +232 -81
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/_deprecate.py +8 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/animate.py +21 -11
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/concat.py +20 -17
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/export.py +19 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/init.py +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/list.py +2 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/plot.py +6 -23
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/process.py +52 -90
- oceanarray-0.7.0/oceanarray/cli/report.py +393 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/run.py +103 -21
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/stamp.py +3 -14
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/cli/validate.py +38 -20
- oceanarray-0.7.0/oceanarray/config/__init__.py +1 -0
- oceanarray-0.7.0/oceanarray/config/labels.py +104 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/parameters.py +52 -125
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/unit_tables.py +80 -51
- oceanarray-0.7.0/oceanarray/config/validation.py +15 -0
- oceanarray-0.7.0/oceanarray/exceptions.py +43 -0
- oceanarray-0.7.0/oceanarray/history.py +58 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/inspect.py +34 -37
- oceanarray-0.7.0/oceanarray/instruments.py +31 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/__init__.py +0 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/process_rodb.py +0 -9
- oceanarray-0.7.0/oceanarray/location.py +27 -0
- oceanarray-0.7.0/oceanarray/logger.py +380 -0
- oceanarray-0.6.2/oceanarray/pipeline/masking.py → oceanarray-0.7.0/oceanarray/mask_flags.py +85 -135
- oceanarray-0.7.0/oceanarray/mooring/__init__.py +42 -0
- oceanarray-0.7.0/oceanarray/mooring/blocks.py +206 -0
- {oceanarray-0.6.2/oceanarray → oceanarray-0.7.0/oceanarray/mooring}/catalog.py +78 -92
- oceanarray-0.7.0/oceanarray/mooring/check_yaml.py +778 -0
- oceanarray-0.7.0/oceanarray/mooring/instruments.py +395 -0
- oceanarray-0.7.0/oceanarray/mooring/load_yaml.py +149 -0
- oceanarray-0.7.0/oceanarray/mooring/location.py +252 -0
- oceanarray-0.7.0/oceanarray/mooring/settings.py +200 -0
- {oceanarray-0.6.2/oceanarray/config → oceanarray-0.7.0/oceanarray/mooring}/validation.py +265 -221
- oceanarray-0.7.0/oceanarray/mooring/write_yaml.py +273 -0
- oceanarray-0.7.0/oceanarray/mooring/yaml_keys.py +87 -0
- oceanarray-0.7.0/oceanarray/originator_flags.py +78 -0
- oceanarray-0.7.0/oceanarray/paths.py +827 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/physics.py +48 -28
- oceanarray-0.7.0/oceanarray/pipeline/__init__.py +418 -0
- oceanarray-0.6.2/oceanarray/pipeline/attribution.py → oceanarray-0.7.0/oceanarray/pipeline/_attribution.py +96 -402
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/_run.py +126 -130
- oceanarray-0.7.0/oceanarray/pipeline/_stage.py +221 -0
- oceanarray-0.7.0/oceanarray/pipeline/attribution.py +52 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/calibration/__init__.py +17 -34
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/calibration/caldip.py +29 -56
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/calibration/dips.py +30 -46
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/calibration/stops.py +43 -94
- oceanarray-0.7.0/oceanarray/pipeline/clock/__init__.py +22 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/concat.py +161 -219
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/coordinate.py +78 -172
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/dataset.py +39 -15
- oceanarray-0.7.0/oceanarray/pipeline/export.py +246 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/grid.py +109 -228
- oceanarray-0.7.0/oceanarray/pipeline/gridders/__init__.py +5 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/gridders/climatology.py +16 -29
- oceanarray-0.7.0/oceanarray/pipeline/gridders/filters.py +65 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/gridders/rapid_interp.py +96 -232
- oceanarray-0.7.0/oceanarray/pipeline/masking.py +134 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/oceansites.py +101 -113
- oceanarray-0.7.0/oceanarray/pipeline/pressure.py +523 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/qc/__init__.py +114 -192
- oceanarray-0.7.0/oceanarray/pipeline/qc/adcp.py +352 -0
- oceanarray-0.7.0/oceanarray/pipeline/qc/originator.py +117 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/raw_files.py +119 -119
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/read_mooring.py +137 -132
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/sensors.py +56 -147
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/stack.py +209 -324
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/stage1.py +295 -413
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/stage2.py +139 -366
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/stage3.py +55 -246
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/stamp.py +17 -15
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/summary.py +19 -27
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/units.py +24 -86
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/pipeline/write_mooring.py +17 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/__init__.py +25 -63
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/_cli_legacy.py +64 -24
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/animation.py +28 -11
- oceanarray-0.7.0/oceanarray/plotters/colorbars.py +230 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/current.py +214 -300
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/diagnostic.py +125 -328
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/flags.py +19 -48
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/helpers.py +96 -169
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/hydrography.py +16 -16
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/primitives.py +134 -339
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/site.py +45 -152
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/spectrum.py +45 -52
- oceanarray-0.7.0/oceanarray/plotters/ticks.py +72 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/plotters/timeseries.py +78 -169
- oceanarray-0.7.0/oceanarray/plotters/ts.py +1080 -0
- oceanarray-0.7.0/oceanarray/plotters/ts_panels.py +568 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/provenance.py +12 -55
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/readers/__init__.py +62 -88
- oceanarray-0.7.0/oceanarray/readers/adcp_geometry.py +77 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/readers/netcdf.py +5 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/readers/nortek.py +91 -89
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/readers/oceansites.py +56 -131
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/readers/rodb.py +46 -65
- oceanarray-0.7.0/oceanarray/readers/sbe.py +58 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/__init__.py +17 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_array.py +85 -77
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_captions.py +62 -57
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_concat.py +65 -37
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_env.py +17 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_figdebug.py +10 -26
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_grid.py +44 -36
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_gridcat.py +27 -24
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_html_helpers.py +73 -35
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_instrument.py +45 -34
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_instrument_text.py +21 -44
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_masthead.py +34 -64
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_mooring.py +181 -135
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_pdf.py +21 -11
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_plots.py +55 -60
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_qcflags.py +8 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_read.py +77 -27
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_recovery_table.py +49 -61
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_slots.py +7 -15
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_stack.py +39 -22
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_summary.py +23 -13
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/MANIFEST.txt +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/report.mplstyle +5 -0
- oceanarray-0.7.0/oceanarray/reports/_verb.py +491 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/design.py +4 -20
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_macros.html +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_clock_table.html +10 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/mooring.html +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/writers/__init__.py +1 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/writers/dtypes.py +40 -24
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/writers/netcdf.py +34 -48
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/PKG-INFO +15 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/SOURCES.txt +50 -9
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/requires.txt +1 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/scm_file_list.json +50 -9
- oceanarray-0.7.0/oceanarray.egg-info/scm_version.json +8 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/pyproject.toml +107 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/scripts/survey_mooring_keys.py +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/conftest.py +22 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/dune2/dune2_1_2026_grid_report.html +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/dune2/dune2_1_2026_report.html +7 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/dune2/dune2_1_2026_stack_report.html +22 -20
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/dune2/instrument/dune2_1_2026_2941_report.html +3 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/dune2/instrument/dune2_1_2026_9920_report.html +1 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/golden/osnap/egM2_2018_14644_report.html +18 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/init_template_golden.yaml +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/before_sensor_records/dune2_1_2026_2941_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/aquadopp/dune2_1_2026_9920_stage1.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/aquadopp/dune2_1_2026_9920_stage2.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/aquadopp/dune2_1_2026_9920_stage3.nc +0 -0
- oceanarray-0.7.0/tests/fixtures/proc/dune2_1_2026/dune2_1_2026_stack.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/microcat/dune2_1_2026_2941_stage1.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/microcat/dune2_1_2026_2941_stage2.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/microcat/dune2_1_2026_2941_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2016/currentmeter/egM2_2016_8364_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2016/egM2_2016.mooring.yaml +3 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2016/microcat/egM2_2016_11331_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2016/microcat/egM2_2016_13020_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2018/aquadopp/egM2_2018_CM2000_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2018/egM2_2018.mooring.yaml +3 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2018/microcat/egM2_2018_11514_stage3.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/egM2_concat/egM2_2018/microcat/egM2_2018_13220_stage3.nc +0 -0
- oceanarray-0.7.0/tests/fixtures/proc/flmb_overlap/FLMB_2016_stack.nc +0 -0
- oceanarray-0.7.0/tests/fixtures/proc/flmb_overlap/FLMB_2017_stack.nc +0 -0
- oceanarray-0.7.0/tests/fixtures/raw/osnap/OS_OSNAP-cf2_201408_ADCP_179m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/README.md +1 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/regenerate_dune2_microcat.py +7 -12
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_cli_paths.py +54 -87
- oceanarray-0.7.0/tests/integration/test_cli_paths_yaml.py +285 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_instrument_page.py +10 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_originator_metadata.py +38 -25
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_osnap_pipeline.py +126 -22
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_pipeline.py +15 -96
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_process_verb.py +77 -63
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_provenance_products.py +39 -15
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_read.py +3 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_read_mooring.py +13 -13
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_readers.py +6 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_recovery_table.py +12 -9
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_report_verb.py +176 -39
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_run_verb.py +171 -109
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stack_grid_pure.py +3 -38
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stack_qc_flags.py +52 -31
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stage1_pure.py +73 -33
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stage2_pure.py +24 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stage3_pure.py +17 -21
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stamp.py +10 -10
- oceanarray-0.7.0/tests/integration/test_verbs_take_paths.py +672 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/conftest.py +3 -2
- oceanarray-0.7.0/tests/unit/test_adcp_boundary_qc.py +143 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_array.py +21 -21
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_attribution.py +41 -20
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_caldip.py +47 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_canonical_units.py +29 -24
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_cli.py +28 -85
- oceanarray-0.7.0/tests/unit/test_clock_bookkeeping.py +324 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_concat.py +71 -18
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_config_sites.py +15 -9
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_coordinate_unknown.py +6 -4
- oceanarray-0.7.0/tests/unit/test_deprecated.py +151 -0
- oceanarray-0.7.0/tests/unit/test_deprecated_figure_helpers.py +123 -0
- oceanarray-0.7.0/tests/unit/test_deprecated_keywords.py +528 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_derived_in_analysis.py +7 -7
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_description_link.py +6 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_doc_package_refs.py +0 -1
- oceanarray-0.7.0/tests/unit/test_exceptions.py +67 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_expand_all.py +5 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_export.py +37 -19
- oceanarray-0.7.0/tests/unit/test_failures_logged.py +52 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_filename_literals.py +2 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_grid_captions.py +64 -26
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_grid_cat.py +41 -44
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_helpers.py +3 -3
- oceanarray-0.7.0/tests/unit/test_import_paths.py +79 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_instrument_text.py +3 -3
- oceanarray-0.7.0/tests/unit/test_labels.py +190 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_logger.py +4 -20
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_masthead.py +11 -11
- oceanarray-0.7.0/tests/unit/test_module_surfaces.py +27 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_mooring.py +150 -81
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_oceansites_export_files.py +13 -5
- oceanarray-0.7.0/tests/unit/test_one_instrument_depth.py +97 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_osnap_readers.py +39 -19
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_package_boundaries.py +5 -12
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_parameters.py +7 -49
- oceanarray-0.7.0/tests/unit/test_paths.py +519 -0
- oceanarray-0.7.0/tests/unit/test_paths_file.py +255 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_pdf_report.py +1 -1
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_physics_shared.py +6 -6
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_plot_guard.py +15 -2
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_plot_updates.py +8 -11
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_plotters.py +45 -8
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_pressure.py +35 -82
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_provenance_sources.py +58 -27
- oceanarray-0.7.0/tests/unit/test_public_names.py +178 -0
- oceanarray-0.7.0/tests/unit/test_public_renames.py +507 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_qc.py +39 -11
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_report.py +40 -24
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_report_explorer_deployment.py +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_report_golden.py +3 -5
- oceanarray-0.7.0/tests/unit/test_report_masking_followup.py +92 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_report_plot_updates.py +25 -11
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_shared_helpers.py +27 -20
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stack_omission.py +34 -31
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stack_plotters.py +28 -10
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stack_time_step.py +19 -34
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stage1.py +45 -70
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stage2.py +83 -146
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stage3.py +7 -9
- oceanarray-0.7.0/tests/unit/test_stage_logs.py +94 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stage_marker.py +5 -4
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_summary.py +3 -3
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_tools.py +17 -5
- oceanarray-0.7.0/tests/unit/test_ts_diagram.py +130 -0
- oceanarray-0.7.0/tests/unit/test_ts_panels.py +141 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_unit_label_literals.py +5 -5
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_validation.py +192 -51
- oceanarray-0.7.0/tests/unit/test_velocity_colors.py +154 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_writers_netcdf.py +19 -6
- oceanarray-0.6.2/.github/PULL_REQUEST_TEMPLATE.md +0 -29
- oceanarray-0.6.2/CONTRIBUTING.md +0 -202
- oceanarray-0.6.2/docs/source/project_structure.md +0 -219
- oceanarray-0.6.2/docs/source/style_guide.md +0 -119
- oceanarray-0.6.2/oceanarray/_deprecated.py +0 -115
- oceanarray-0.6.2/oceanarray/_version.py +0 -1
- oceanarray-0.6.2/oceanarray/cli/report.py +0 -341
- oceanarray-0.6.2/oceanarray/config/__init__.py +0 -7
- oceanarray-0.6.2/oceanarray/exceptions.py +0 -25
- oceanarray-0.6.2/oceanarray/instruments.py +0 -138
- oceanarray-0.6.2/oceanarray/location.py +0 -177
- oceanarray-0.6.2/oceanarray/logger.py +0 -439
- oceanarray-0.6.2/oceanarray/mooring.py +0 -1340
- oceanarray-0.6.2/oceanarray/paths.py +0 -503
- oceanarray-0.6.2/oceanarray/pipeline/__init__.py +0 -638
- oceanarray-0.6.2/oceanarray/pipeline/_stage.py +0 -302
- oceanarray-0.6.2/oceanarray/pipeline/export.py +0 -163
- oceanarray-0.6.2/oceanarray/pipeline/gridders/__init__.py +0 -8
- oceanarray-0.6.2/oceanarray/pipeline/gridders/filters.py +0 -55
- oceanarray-0.6.2/oceanarray/pipeline/pressure.py +0 -842
- oceanarray-0.6.2/oceanarray/pipeline/qc/adcp.py +0 -430
- oceanarray-0.6.2/oceanarray/pipeline/qc/originator.py +0 -217
- oceanarray-0.6.2/oceanarray/plotters/ts.py +0 -1480
- oceanarray-0.6.2/oceanarray/readers/sbe.py +0 -35
- oceanarray-0.6.2/oceanarray/reports/_verb.py +0 -335
- oceanarray-0.6.2/oceanarray.egg-info/scm_version.json +0 -8
- oceanarray-0.6.2/tests/fixtures/proc/dune2_1_2026/dune2_1_2026_stack.nc +0 -0
- oceanarray-0.6.2/tests/fixtures/proc/flmb_overlap/FLMB_2016_stack.nc +0 -0
- oceanarray-0.6.2/tests/fixtures/proc/flmb_overlap/FLMB_2017_stack.nc +0 -0
- oceanarray-0.6.2/tests/integration/test_stage1_from_raw.py +0 -219
- oceanarray-0.6.2/tests/integration/test_stage2.py +0 -109
- oceanarray-0.6.2/tests/unit/test_deprecated.py +0 -105
- oceanarray-0.6.2/tests/unit/test_paths.py +0 -238
- oceanarray-0.6.2/tests/unit/test_process_api.py +0 -396
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.gitattributes +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/ISSUE_TEMPLATE.md +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/dependabot.yml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/workflows/docs.yml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/workflows/docs_deploy.yml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.github/workflows/pypi.yml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/.gitignore +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/LICENSE +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/Makefile +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/environment.yml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/caldip_cast.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/3_beam_transformation.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/auto_filt.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/hydro_grid.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/microcat2rodb_2.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/microcat2rodb_3.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/microcat_apply_cal.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/microcat_apply_cal_plus.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/microcat_raw2use_003.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/code/mooring_interp_wb2_3_5.m +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/FLMB/FLMB_gridcat_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/FLMB/FLMB_stackcat_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/dune2/dune2_1_2026_grid_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/dune2/dune2_1_2026_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/dune2/dune2_1_2026_stack_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/dune2/instrument/dune2_1_2026_2941_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/demo/dune2/instrument/dune2_1_2026_9920_report.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/instrument_processing_v6.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/mooring_processing_v4.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/oceanarray_icon.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/_static/oceanarray_report_header.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/calibration_dips.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/conf.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/installation.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/legacy.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/concatenation.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/methods/nortek_coordinate_transform.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/migrating_0_6_1.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/migration.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/processing_framework.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/rapid_heritage.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/docs/source/troubleshooting.rst +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/demo_climatology.ipynb +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/dsE_1_2018_microcat_7518_temperature.png +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/README.md +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_batch_instrument.ipynb +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_instrument.ipynb +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_instrument_rdb.ipynb +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/notebooks/legacy/demo_mooring_rdb.ipynb +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/__main__.py +0 -0
- {oceanarray-0.6.2/oceanarray/pipeline → oceanarray-0.7.0/oceanarray/analysis}/clock/__init__.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/flag_meanings.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/legacy/project_RAPID.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/legacy/rodb_keys.txt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/legacy/rodb_keys.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/config/logging.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/OS1_sensor_attributes.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/OS1_variable_attributes.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/OS1_variable_names.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/caldip.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/convertOS.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/mooring_rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/qc_rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/legacy/rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_breadcrumb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_navs.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/README.md +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/__init__.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/check.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/css.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/design_tokens.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/figure_png.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/leaflet/LICENSE +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/leaflet/leaflet.min.css +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/leaflet/leaflet.min.js +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/leaflet.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/nc_tables.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/page_model.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/templates/_map.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/templates/_nav.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/templates/_nc_tables.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/units.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/_vendored/units_tables.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_breadcrumb.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_collapsed.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_collapsed_figure.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_concat_deployments.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_concat_history.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_concat_instr_table.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_expand_all.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_grid_history.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_history_steps.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_analog_yaml.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_files.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_history.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_qc.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_rose_note.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_instrument_windows_note.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_magnetic_north_note.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_calibration.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_cols.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_description.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_diagram.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_instruments.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_issues.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_pipeline.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_qc.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_sensor_records.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_timing.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_mooring_timing_imported.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_processing_steps.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_qc_counts.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_qc_translation.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_quicklook_note.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_stack_instr_table.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/_stack_roses_note.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/array.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/base.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/concat.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/grid.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/gridcat.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/instrument.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/recovery_table.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray/reports/templates/stack.html +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/dependency_links.txt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/entry_points.txt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/oceanarray.egg-info/top_level.txt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/setup.cfg +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/adcp/dsG2_adcp_stage3_knockdown.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/bathymetry/etopo1_osnap_east_8min.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/caldip/castM4_caldip.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/catalog/sensor_catalog.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/MIXSED2026.array.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/before_sensor_records/README.md +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/dune2_1_2026.mooring.yaml +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/proc/dune2_1_2026/dune2_1_2026_grid.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/dune2_1_2026/aquadopp/9920_recovery.dat +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/dune2_1_2026/aquadopp/9920_recovery.hdr +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/dune2_1_2026/microcat/2941_recovery.asc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/CF7_MCTD_2020_22225_50m.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/M2_MC_2018_2020_SN14644_2190m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/OS_OSNAP-10633_KPO_1111_K7_201408_D_MCTD_OSNAPstyleOceanSITES.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/OS_OSNAP-UMM2_201407_ADCP_300m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/OS_OSNAP_CF1_202007_ADCP_173m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/OS_OSNAP_WHOI_CF7_202007_CM_500m.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/nocm3_03_2016_20961_bin01.edt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/nocm3_03_2016_20961_bin02.edt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/nocm3_03_2016_20961_bin04.edt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/os_osnap-ic1_201608_adcp_480m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/os_osnap-ic1_201608_mctd_76m_cut.nc +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/rtwb1_01_2014_001.microcat +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/rtwb1_01_2014_11021.edt +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/fixtures/raw/osnap/run_example.sh +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/__init__.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/conftest.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/integration/test_stage1.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/legacy/__init__.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/legacy/test_convertOS.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/legacy/test_mooring_rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/legacy/test_process_rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/legacy/test_rodb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/test_imports.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/__init__.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_base_css_no_vendored_dup.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_breadcrumb.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_caldip_stops.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_flag_merge.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_grid_manifest.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_history_rows.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_instrument_manifest.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_manifest.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_mooring_manifest.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_nav.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_nc_tables.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_private_names.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_recovery_table.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_report_tokens.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_stub_reason.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_vendored.py +0 -0
- {oceanarray-0.6.2 → oceanarray-0.7.0}/tests/unit/test_write_mooring.py +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Title: prefix with one tag — [DOC] [FIX] [FEAT] [REFACTOR] [TEST] [CI] [CLEANUP]
|
|
3
|
+
Example: [FIX] Correct dimension handling in RBR reader
|
|
4
|
+
The squash commit's title is the PR title. Keep it concise.
|
|
5
|
+
Write each bullet/paragraph as one continuous line — GitHub soft-wraps.
|
|
6
|
+
Delete "Breaking changes" when there are none.
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
What changed and why, in two or three sentences.
|
|
12
|
+
|
|
13
|
+
## What's changed
|
|
14
|
+
|
|
15
|
+
- Concrete change (one short line each).
|
|
16
|
+
|
|
17
|
+
## Breaking changes
|
|
18
|
+
|
|
19
|
+
Each breaking change and how to migrate (removed/renamed public API or CLI flag, changed signature or parameter meaning, changed output/config layout).
|
|
20
|
+
|
|
21
|
+
## Tests
|
|
22
|
+
|
|
23
|
+
What was run, and what new tests cover.
|
|
@@ -60,6 +60,9 @@ jobs:
|
|
|
60
60
|
pytest tests/unit -m "not slow and not local" -q
|
|
61
61
|
${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11') && '--cov=oceanarray --cov-report=term-missing --cov-fail-under=58' || '--no-cov' }}
|
|
62
62
|
|
|
63
|
+
- name: Run docstring examples (doctest)
|
|
64
|
+
run: pytest --doctest-modules oceanarray --ignore=oceanarray/legacy -q --no-cov -p no:cacheprovider
|
|
65
|
+
|
|
63
66
|
integration:
|
|
64
67
|
runs-on: ubuntu-latest
|
|
65
68
|
steps:
|
|
@@ -111,13 +114,13 @@ jobs:
|
|
|
111
114
|
import oceanarray
|
|
112
115
|
from oceanarray.config import parameters as params
|
|
113
116
|
from oceanarray.logger import load_logging_config
|
|
114
|
-
from oceanarray.
|
|
117
|
+
from oceanarray.originator_flags import flag_meaning_table
|
|
115
118
|
from oceanarray.reports._env import _ENV
|
|
116
119
|
from oceanarray.reports._vendored.leaflet import load_leaflet
|
|
117
120
|
|
|
118
121
|
assert "site-packages" in oceanarray.__file__, oceanarray.__file__
|
|
119
122
|
load_logging_config()
|
|
120
|
-
|
|
123
|
+
flag_meaning_table()
|
|
121
124
|
load_leaflet()
|
|
122
125
|
plt.style.use(str(params.MPLSTYLE))
|
|
123
126
|
for name in _ENV.list_templates():
|
|
@@ -134,11 +137,14 @@ jobs:
|
|
|
134
137
|
with:
|
|
135
138
|
python-version: "3.11"
|
|
136
139
|
|
|
137
|
-
- name: Install ruff
|
|
138
|
-
run: pip install ruff
|
|
140
|
+
- name: Install ruff and import-linter
|
|
141
|
+
run: pip install ruff import-linter
|
|
139
142
|
|
|
140
143
|
- name: Lint (ruff check)
|
|
141
144
|
run: ruff check .
|
|
142
145
|
|
|
143
146
|
- name: Format check (ruff format)
|
|
144
147
|
run: ruff format --check .
|
|
148
|
+
|
|
149
|
+
- name: Import rules (lint-imports, contracts in pyproject.toml)
|
|
150
|
+
run: PYTHONPATH=. lint-imports
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Notes for coding assistants
|
|
2
|
+
|
|
3
|
+
Read `docs/source/developer.rst` (the developer guide) before changing code. It sets out the layers, the one idiom for each recurring job, the vocabulary and the naming rules; follow it, and update it when a change renames, moves or fixes something it names.
|
|
4
|
+
|
|
5
|
+
- Test fixtures are trimmed real instrument files (`tests/fixtures/`), never synthetic or mocked data. An expected value is one you can justify without running the code.
|
|
6
|
+
- Code, docstrings and comments describe the code. They never refer to tools, local notes, plan or handoff files, or paths on a particular machine.
|
|
7
|
+
- Docstrings are NumPy style with type information; data passes between functions as xarray objects.
|
|
8
|
+
- One logical change per pull request; keep pull requests small.
|
|
9
|
+
- Before handing over a change, run `ruff format --check .`, `ruff check .`, `lint-imports` and `pytest`.
|
|
10
|
+
- Pull request titles and text follow `CONTRIBUTING.md`: `[TYPE] title`, then Summary, What's changed, Breaking changes (only if any) and Tests.
|
|
11
|
+
- Never substitute a default for a value that cannot be determined: raise, or warn and record the assumption in the file.
|
|
@@ -9,6 +9,130 @@ All notable changes to oceanarray are documented here, one line per change. Upgr
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
+
## [0.7.0] — 2026-12-07
|
|
13
|
+
|
|
14
|
+
### Breaking changes
|
|
15
|
+
|
|
16
|
+
What to do for each: *Upgrading from 0.6.2 to 0.7.0* (`migrating_0_7_0`).
|
|
17
|
+
|
|
18
|
+
- ADCP `seabed_qc`/`surface_qc`: 4 from the side-lobe zone on, else 1. Rerun stage 3 (#177).
|
|
19
|
+
- The ADCP beam angle comes from the file or `beam_angle_deg:`, never a default (#178).
|
|
20
|
+
- With a hab, depth is `waterdepth - hab`; `depth:` is not read. Rerun stage 1 (#177, #178).
|
|
21
|
+
- A negative `nominal_depth` is an error (#177, #178).
|
|
22
|
+
- Grid levels are `pmin_dbar`/`pmax_dbar`; defaults in `config.parameters.GRID_*_DBAR` (#162).
|
|
23
|
+
- All errors derive from `OceanarrayError`; `StageError` is no longer a `MooringError` (#161).
|
|
24
|
+
- Tilt QC is geometric only: `qc_ranges: pitch`/`roll` ignored, no `pitch_qc`/`roll_qc`.
|
|
25
|
+
- An unknown top-level mooring-YAML key is an ERROR, was a WARNING (#194).
|
|
26
|
+
- `directory:` in a mooring YAML is an ERROR; use `raw_dir` / `--raw-dir` (#194).
|
|
27
|
+
- Unmarked stage files are refused; mark them with `oceanarray stamp --declare N` (#194).
|
|
28
|
+
- Pre-0.6.1 `InstrDepth`/`serial_number` are no longer read (#194).
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- `oa.Paths` and the paths file (`paths.yaml`): every project folder in one place.
|
|
33
|
+
- The CLI takes a `*.paths.yaml` after the command; moorings by name, folder flags override (#179).
|
|
34
|
+
- `oceanarray run PATHS --array X.array.yaml` and `--all` (#179).
|
|
35
|
+
- `mooring.load_array`; `report_array` finds mooring YAMLs in `yaml_dir` (#179).
|
|
36
|
+
- `oa.report_array` and `oa.recovery_table`; `oa.report` builds a mooring's pages only (#176).
|
|
37
|
+
- `cruise_source` mooring YAML key, written by stage 1 (#194).
|
|
38
|
+
- `institution` mooring YAML key, written by `export` as a global attribute (#194).
|
|
39
|
+
- `oceanarray.paths.PathLike` type alias (#192).
|
|
40
|
+
- `plotters.colorbars` holds the colorbar helpers; `colorbar_norm(percentiles=)` (#187).
|
|
41
|
+
- Docs: developer guide, configuration files and sensor catalog pages (#154, #180, #187).
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- `run`, `process`, `report`, `export` take `(mooring_path, paths)`; the CLI is unchanged.
|
|
46
|
+
- Figures hide values by the `mask_flags` rule (default 4); suspect values show. Rerun reports (#155).
|
|
47
|
+
- Mask-flag helpers are in `oceanarray.mask_flags`, flag vocabulary in `originator_flags` (#163, #196).
|
|
48
|
+
- Public path arguments accept any `os.PathLike` (#195).
|
|
49
|
+
- Input problems raise `ReaderError` or `MooringError` (`OceanarrayError`, still `ValueError`) (#161).
|
|
50
|
+
- Data problems are logged WARNINGs, not `UserWarning`s (#160).
|
|
51
|
+
- An unreadable file or header is skipped with a WARNING naming it (#159).
|
|
52
|
+
- A missing processing folder or mooring YAML raises `MooringError`, no longer returns `None` (#159).
|
|
53
|
+
- Importing oceanarray no longer sets the `oceanarray` logger to DEBUG (#181).
|
|
54
|
+
- Mooring check: warns on a clock correction 120 s off the median; errors on non-numeric ones (#157).
|
|
55
|
+
- All mooring YAML code is in `oceanarray.mooring` (incl. `blocks`, `catalog`) (#166).
|
|
56
|
+
- Clock tools moved to `oceanarray.analysis.clock` (#158).
|
|
57
|
+
- Depth/pressure conversion moved to `physics`, ADCP bin geometry to `readers.adcp_geometry` (#164).
|
|
58
|
+
- `changed_attr` moved to `writers.dtypes`; plain modules no longer define `__all__` (#165).
|
|
59
|
+
- `stage_file`, `product_file`, `stage_output_name` take `mooring_name=`; later arguments keyword-only.
|
|
60
|
+
- Messages and docs say "mooring YAML", not "description".
|
|
61
|
+
- One T-S figure, `fig_ts_diagram`, for instrument and stack pages; suspect values stay marked (#191).
|
|
62
|
+
- One `fig_ts_by_deployment(show=)` for outlines, points or medians (#191).
|
|
63
|
+
- T-S figures built from `plotters.ts_panels`; σ labels follow the lines (#187).
|
|
64
|
+
- T-S figures share `ts_axes`; thin solid σ contours behind the data; `BrBG` oxygen panel (#189).
|
|
65
|
+
- `draw_ts_contours` takes `linewidth=`; `square_axes_grid` takes `right_in=` (#189).
|
|
66
|
+
- Colorbars get end arrows only where the data pass the color limits (#189, #193).
|
|
67
|
+
- Velocity sections use `RdBu_r` with one ± limit at the 2nd/98th percentile (#193).
|
|
68
|
+
- Direction scales tick on compass steps; `plotters.ticks.nice_ticks` gives round ticks (#193).
|
|
69
|
+
- Report lines: butt ends, miter corners; `plot_ts_profiles` loses `solid_capstyle=` (#190).
|
|
70
|
+
- Developer checks: `lint-imports`, doctests, a C901 limit, no deprecated imports (#156, #175).
|
|
71
|
+
|
|
72
|
+
### Deprecated
|
|
73
|
+
|
|
74
|
+
Each old name warns until 0.8.0.
|
|
75
|
+
|
|
76
|
+
- The verbs' folder keywords, a folder or dict for the YAML, and calls without `paths`.
|
|
77
|
+
- `paths` module functions (`mooring_proc_dir`, `resolve_report_dir`, …): use `Paths` methods.
|
|
78
|
+
- Thirty keywords renamed: `mooring_path=`, `array_path=`, `mooring_dict=`, `mooring=` (#174).
|
|
79
|
+
- `report(kind=)`: use `report_array` or `recovery_table` (#176).
|
|
80
|
+
- `export`, `concat_moorings`, `grid_site`: `overwrite=` is `force=` (#180).
|
|
81
|
+
- `oceanarray validate --strict` is `--fail-on-warnings` (#180).
|
|
82
|
+
- `data=` is `ds=` or `values=`; `lat=`/`lon=` are `latitude=`/`longitude=` (#180, #195).
|
|
83
|
+
- Path keywords are `out_path=`, `out_dir=` (also `generate(outdir=)`), `path=` or `proc_dir=` (#195).
|
|
84
|
+
- Abbreviated keywords spelled out (`serials=`, `instrument_type=`, `dt_seconds=`) (#195).
|
|
85
|
+
- Functions named for what they return: `resolve_hab`, `*_text`, `flag_translation`, … (#195).
|
|
86
|
+
- Functions returning a file's path end in `_path` (`stage_path`, `product_path`, …) (#197).
|
|
87
|
+
- `oa.report(pages=[...])` and `oceanarray report --pages` name the pages to build (#195).
|
|
88
|
+
- `report(sig_level=)` is `sigma_levels=`; `shown_depths(bins=)` is `which_bins=` (#195).
|
|
89
|
+
- Internal names start with `_` (`pipeline.attribution`, `cli.cmd_*`, 25 helpers) (#180).
|
|
90
|
+
- `instruments.nominal_depth` is `mooring.instruments.resolve_nominal_depth`, hab first (#178).
|
|
91
|
+
- ADCP QC `fail_margin_m=`/`suspect_margin_m=` are ignored (#177).
|
|
92
|
+
- `draw_ts_*` are `fig_ts_*`; `plotters.site.draw_site_ts` is `plotters.ts.fig_ts_profiles` (#191).
|
|
93
|
+
- `draw_grid_sigma` is `draw_grid_potential_density` (σ0 or σ2, from T and S) (#197).
|
|
94
|
+
- 0.6.2 `pipeline.masking` names: import them from `oceanarray.mask_flags` (#196).
|
|
95
|
+
- `pipeline.attribution.union` is `merge_people` (#196).
|
|
96
|
+
- σ-contour helpers moved to `plotters.ts_panels`; `COLORBAR_PLOW`/`PHIGH` (#187).
|
|
97
|
+
- Colorbar helpers from `plotters.primitives`: import from `plotters.colorbars` (#187).
|
|
98
|
+
- `plotters.site.symmetric_limit` moved to `plotters.helpers` (#193).
|
|
99
|
+
- `vlabel`, `vunit`, `var_unit_label`: use `config.labels` (#185).
|
|
100
|
+
- `logger.with_stage_handlers`: use `StageLog` as a `with` block (#181).
|
|
101
|
+
- `plotters.helpers.masked` and `ruled` are back as aliases.
|
|
102
|
+
|
|
103
|
+
### Fixed
|
|
104
|
+
- `check`: WARNING when `name:` is not the file name; ERROR for a `waterdepth` of 0 or less (#198).
|
|
105
|
+
- `write(chunks=)` raises `ValueError` for a key that is not a dimension of the dataset (#198).
|
|
106
|
+
- The stack lists a one-sample instrument in `instruments_slower_than_step` (#198).
|
|
107
|
+
- Concat keeps an attribute that is NaN in each deployment once (#198).
|
|
108
|
+
- Current roses warn on velocity not in m s-1; `draw_grid_n2` warns when given no latitude (#198).
|
|
109
|
+
- The CLI draws with the `Agg` matplotlib backend unless `MPLBACKEND` is set (#198).
|
|
110
|
+
- An invalid `stack: mask_flags` no longer stops the deployment and instrument pages (#196).
|
|
111
|
+
- A site stack grids when its `HEADING` carries `PRES` attributes (#188).
|
|
112
|
+
- Instrument page shows integer analog channels (#186).
|
|
113
|
+
- Figure labels and captions show the data's unit, not the registry's (#185).
|
|
114
|
+
- `oceanarray stamp` on a missing file reports it instead of creating it (#161).
|
|
115
|
+
- Page pressure ranges follow the mooring's `stack: mask_flags` (#156).
|
|
116
|
+
- Clock: an `unknown` or empty recovery reading is a warning; that drift is not corrected (#157).
|
|
117
|
+
- Clock table: correction sign as applied; not-read instruments listed; caption fixed (#157).
|
|
118
|
+
- Stage-2 history says "clock corrected" only when it was, otherwise why not (#157).
|
|
119
|
+
- `clock_offset` is written only when non-zero. Rerun stage 2 to update files (#157).
|
|
120
|
+
- Mooring YAML template: `clock_offset` comment (#157).
|
|
121
|
+
|
|
122
|
+
### Removed
|
|
123
|
+
|
|
124
|
+
- `config.parameters.QC_BAD_FLAGS`: figures mask by `mask_flags` (`pipeline.masking.masked`).
|
|
125
|
+
- `draw_adcp_progressive_vector(percent_good_qc_var=)`.
|
|
126
|
+
- Unused: `draw_knockdown_pressure`, `worst_flags`, `product_glob`, `REQUIRED_KEYS`, `RODB_EXTENSIONS`.
|
|
127
|
+
- Unused constants `INSTRUMENT_COLORS`, `FIGURE_SIZE_TALL`, `SIGMA_CONTOUR_LEVELS`.
|
|
128
|
+
- Four undefined names in `oceanarray.legacy.__all__` (#194).
|
|
129
|
+
- Names renamed in 0.6.0 (`oceanarray.parameters`, `validate_mooring_yaml`, …) (#194).
|
|
130
|
+
- Stage classes (`MooringProcessor`, …) and `process(name, stage, ...)`: use `process`, `run` (#194).
|
|
131
|
+
- `process --stage stack|grid` and the CLI spellings renamed in 0.6.0 (#194).
|
|
132
|
+
- `log_fn=`, `logger.enable_logging`/`disable_logging`, `grid(slope_angle=)` (#194).
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
12
136
|
## [0.6.2] — 2026-11-21
|
|
13
137
|
|
|
14
138
|
### Changed
|
|
@@ -4,11 +4,11 @@ authors:
|
|
|
4
4
|
- family-names: Frajka-Williams
|
|
5
5
|
given-names: Eleanor
|
|
6
6
|
orcid: https://orcid.org/0000-0001-8773-7838
|
|
7
|
-
affiliation: University of Hamburg,
|
|
7
|
+
affiliation: University of Hamburg, Bundesstrasse 57, 20146 Hamburg, Germany
|
|
8
8
|
title: oceanarray
|
|
9
9
|
doi: 10.5281/zenodo.21890564
|
|
10
|
-
version: 0.
|
|
11
|
-
date-released: 2026-
|
|
10
|
+
version: 0.7.0
|
|
11
|
+
date-released: 2026-12-07
|
|
12
12
|
url: https://github.com/ocean-uhh/oceanarray
|
|
13
13
|
repository-code: https://github.com/ocean-uhh/oceanarray
|
|
14
14
|
license: MIT
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Contributing to oceanarray
|
|
2
|
+
|
|
3
|
+
Thanks for taking the time to contribute.
|
|
4
|
+
|
|
5
|
+
All contributions are welcome: bug reports, feature suggestions, documentation improvements, and code.
|
|
6
|
+
|
|
7
|
+
## Table of Contents
|
|
8
|
+
|
|
9
|
+
- [Licensing of contributions](#licensing-of-contributions)
|
|
10
|
+
- [Credit and authorship](#credit-and-authorship)
|
|
11
|
+
- [I Have a Question](#i-have-a-question)
|
|
12
|
+
- [Reporting Bugs](#reporting-bugs)
|
|
13
|
+
- [Suggesting Enhancements](#suggesting-enhancements)
|
|
14
|
+
- [Your First Code Contribution](#your-first-code-contribution)
|
|
15
|
+
- [Improving The Documentation](#improving-the-documentation)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Licensing of contributions
|
|
20
|
+
|
|
21
|
+
oceanarray is MIT licensed, and contributions are accepted **under the same licence** — what GitHub calls "inbound = outbound". By opening a pull request you confirm that:
|
|
22
|
+
|
|
23
|
+
1. you wrote the contribution, or you have the right to submit it; and
|
|
24
|
+
2. you agree to license it to the project under the MIT licence.
|
|
25
|
+
|
|
26
|
+
This does not transfer your copyright, which remains yours.
|
|
27
|
+
|
|
28
|
+
**If your contribution contains code from somewhere else** — another repository, a paper's supplementary material, a Stack Overflow answer, a colleague's script, or generated output you did not review — say so in the pull request and name the source and its licence. This is the single most useful thing you can tell a reviewer. Code from an unlicensed source cannot be merged until its author agrees, so flagging it early avoids the work being wasted.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Credit and authorship
|
|
33
|
+
|
|
34
|
+
Three separate things.
|
|
35
|
+
|
|
36
|
+
**Copyright** stays with whoever wrote the code. You are not asked to assign it.
|
|
37
|
+
|
|
38
|
+
**Contributor credit** is automatic: everyone whose pull request is merged appears in the git history. If your name or preferred email in the git log is wrong, add a `.mailmap` entry via a pull request — that is the correct fix.
|
|
39
|
+
|
|
40
|
+
**Citation authorship** is the author list in `CITATION.cff`, which propagates into the Zenodo DOI for every release and therefore into other people's bibliographies. It reflects *substantial* contribution to the software — its design, a significant body of its implementation, its test suite, or its documentation architecture — and is decided by the maintainer at release time. Funding or supervision alone does not qualify. There is no line count that guarantees it or excludes it. If you believe your contribution crosses that line and it has not been reflected, please say so in an issue — being asked is better than being resented.
|
|
41
|
+
|
|
42
|
+
Where a contribution is adapted from someone else's work rather than written from scratch, we credit it **in the docstring of the code itself**, so the attribution travels with the code rather than living in a file nobody reads (see the existing examples in `pipeline/gridders/rapid_interp.py` and `plotters/current.py`).
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## I Have a Question
|
|
47
|
+
|
|
48
|
+
Read the [documentation](https://ocean-uhh.github.io/oceanarray/) first.
|
|
49
|
+
Then search [existing issues](https://github.com/ocean-uhh/oceanarray/issues) — your question may already be answered.
|
|
50
|
+
|
|
51
|
+
If you still need help, [open an issue](https://github.com/ocean-uhh/oceanarray/issues/new) and include:
|
|
52
|
+
|
|
53
|
+
- What you were trying to do and what you expected to happen.
|
|
54
|
+
- A minimal reproducible example (e.g. a short script or notebook cell).
|
|
55
|
+
- Your platform, Python version, and `pip show oceanarray seasenselib` output.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Reporting Bugs
|
|
60
|
+
|
|
61
|
+
Security vulnerabilities must be reported by email to [eleanorfrajka@gmail.com](mailto:eleanorfrajka@gmail.com) — do not use the public issue tracker.
|
|
62
|
+
|
|
63
|
+
For all other bugs:
|
|
64
|
+
|
|
65
|
+
1. Confirm you are on the latest release (`pip show oceanarray`).
|
|
66
|
+
2. [Open an issue](https://github.com/ocean-uhh/oceanarray/issues/new) with:
|
|
67
|
+
- Steps to reproduce (minimal script if possible).
|
|
68
|
+
- Expected vs. actual behaviour.
|
|
69
|
+
- Full traceback.
|
|
70
|
+
- OS, Python version, `oceanarray` and `seasenselib` versions.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Suggesting Enhancements
|
|
75
|
+
|
|
76
|
+
[Open an issue](https://github.com/ocean-uhh/oceanarray/issues/new) describing:
|
|
77
|
+
|
|
78
|
+
- What you want to do that is currently impossible or inconvenient.
|
|
79
|
+
- Why it would be useful to other users (not just your specific cruise).
|
|
80
|
+
- Whether you are willing to implement it yourself.
|
|
81
|
+
|
|
82
|
+
### Scope
|
|
83
|
+
|
|
84
|
+
oceanarray **processes moored-array observations**: raw instrument files → CF-NetCDF at stages 1–3 → a stack on a common time axis → a grid on pressure levels, each documented in an HTML report, with an OceanSITES export.
|
|
85
|
+
|
|
86
|
+
- **Fixed:** the output contract — variable names, standard names and unit spellings from one registry, OceanSITES/QARTOD flags, every processing setting recorded in the file. Changes to these change every user's files and are discussed in an issue first.
|
|
87
|
+
- **Open, as selectable options with the default unchanged:** gridding methods (PCHIP, the RAPID climatological-gradient method, handling above the shallowest instrument); how per-instrument corrections are applied in stage 3; new QC tests; new figures and report panels; readers (written in `seasenselib` where its maintainers can take them, see the developer guide).
|
|
88
|
+
- **Out of scope, because a sibling owns it:** shipboard CTD processing (`ctdcast`), deriving calibration-dip offsets (`caldip`), glider data (`glidertest`, `seagliderOG1`), transport and AMOC estimates (`AMOCatlas`), general-purpose plotting. Also out: cruise-specific raw data in the repository, heavy new dependencies.
|
|
89
|
+
|
|
90
|
+
If you are unsure whether an idea fits, open an issue first.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Your First Code Contribution
|
|
95
|
+
|
|
96
|
+
How the code is organized and written (layers, the one idiom for each recurring job, vocabulary, naming, tests) is in the [developer guide](https://ocean-uhh.github.io/oceanarray/developer.html). Read it before your first pull request.
|
|
97
|
+
|
|
98
|
+
### Development setup
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
git clone https://github.com/ocean-uhh/oceanarray.git
|
|
102
|
+
cd oceanarray
|
|
103
|
+
python -m venv venv && source venv/bin/activate
|
|
104
|
+
pip install --upgrade pip
|
|
105
|
+
pip install -e ".[dev]"
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
This installs the runtime stack (including `seasenselib` for raw-file reading),
|
|
109
|
+
plus the test and docs tooling and `ruff`, in one resolution. To also work on
|
|
110
|
+
PDF report output (WeasyPrint, which needs native pango/cairo libraries), use
|
|
111
|
+
`pip install -e ".[all]"` (everything, equivalent to `.[dev,pdf]`).
|
|
112
|
+
|
|
113
|
+
### Workflow
|
|
114
|
+
|
|
115
|
+
1. Fork the repository and create a feature branch from `main`.
|
|
116
|
+
2. Make your changes, following the conventions below.
|
|
117
|
+
3. Run `ruff check . --fix`, `ruff format .` and `lint-imports`, then `pytest` — all tests must pass. (`ruff format` owns line wrapping, which is why `E501` is ignored in `pyproject.toml`.)
|
|
118
|
+
4. Open a pull request against `main`. Prefix the title with a bracket tag: `[FEAT]`, `[FIX]`, `[REFACTOR]`, `[DOC]`, `[TEST]`, `[CI]`, or `[CLEANUP]`. Pull requests are squash-merged, and the squash commit's title is the PR title.
|
|
119
|
+
|
|
120
|
+
Keep each pull request to one logical change. A rename PR that also fixes a bug is a PR nobody can review — split them. (This matters most once more than one person is working on the code.)
|
|
121
|
+
|
|
122
|
+
### Commit messages
|
|
123
|
+
|
|
124
|
+
Commit messages on your branch follow no fixed form: the squash merge replaces them with the PR title. If you worked with someone, or adapted their code, add a trailer to the PR description or a commit:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Co-authored-by: Name <email@example.com>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Code conventions
|
|
131
|
+
|
|
132
|
+
All of them are in the [developer guide](https://ocean-uhh.github.io/oceanarray/developer.html). The ones a first pull request most often misses:
|
|
133
|
+
|
|
134
|
+
- NumPy-style docstrings and type annotations on every public function.
|
|
135
|
+
- Every processing setting is stored in the output file, so it can be reprocessed from itself.
|
|
136
|
+
- Never a silent default: when the right value cannot be determined, raise, or warn and record what was assumed.
|
|
137
|
+
- `ruff check .` and `ruff format --check .` clean.
|
|
138
|
+
|
|
139
|
+
### Testing
|
|
140
|
+
|
|
141
|
+
Tests live in `tests/unit/` and `tests/integration/`. Run the full suite:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pytest # all tests
|
|
145
|
+
pytest tests/unit -m "not slow and not local" # as the CI unit job
|
|
146
|
+
pytest --cov=oceanarray --cov-report=term-missing -q # with coverage
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
New or changed code must have a test, with fixtures from real instrument files (not mocks) and expected values you can justify without running the code. Report pages are compared with saved copies; re-baseline them (`REBASELINE_GOLDEN=1 pytest`) only after looking at the change. Details: the developer guide, *Tests*.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Improving The Documentation
|
|
154
|
+
|
|
155
|
+
Documentation is built with Sphinx from `docs/source/`. To build locally:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
pip install -e ".[docs]"
|
|
159
|
+
cd docs && make clean html
|
|
160
|
+
open build/html/index.html
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Docstring changes are picked up automatically. For narrative docs, edit `.rst` files in `docs/source/`. The API reference is auto-generated from docstrings via `autodoc`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oceanarray
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Multi-stage processing pipeline for moored oceanographic observations: raw instrument files to QC-flagged CF-compliant NetCDF with automated HTML reports.
|
|
5
5
|
Maintainer-email: Eleanor Frajka-Williams <eleanorfrajka@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -71,6 +71,7 @@ Requires-Dist: pypandoc>=1.11; extra == "docs"
|
|
|
71
71
|
Provides-Extra: dev
|
|
72
72
|
Requires-Dist: oceanarray[docs,test]; extra == "dev"
|
|
73
73
|
Requires-Dist: ruff>=0.3; extra == "dev"
|
|
74
|
+
Requires-Dist: import-linter>=2.0; extra == "dev"
|
|
74
75
|
Requires-Dist: jupyterlab>=4.0; extra == "dev"
|
|
75
76
|
Requires-Dist: nbconvert>=7.8; extra == "dev"
|
|
76
77
|
Provides-Extra: all
|
|
@@ -120,6 +121,8 @@ oceanarray run /data/proc/dsG3_1_2026 --raw-dir /data/raw # stages 1-3,
|
|
|
120
121
|
oceanarray export /data/proc/dsG3_1_2026 # OceanSITES 1.4 files (needs platform_code)
|
|
121
122
|
```
|
|
122
123
|
|
|
124
|
+
With a project's folders in a paths file (`osnap.paths.yaml`), a mooring is given by name: `oceanarray run osnap.paths.yaml dsG3_1_2026`, or `oceanarray run osnap.paths.yaml --all` for every mooring.
|
|
125
|
+
|
|
123
126
|
See the [documentation](https://ocean-uhh.github.io/oceanarray/) for the recommended first-processing workflow, YAML reference, and CLI reference.
|
|
124
127
|
|
|
125
128
|
## Python API
|
|
@@ -127,10 +130,17 @@ See the [documentation](https://ocean-uhh.github.io/oceanarray/) for the recomme
|
|
|
127
130
|
```python
|
|
128
131
|
import oceanarray as oa
|
|
129
132
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
paths = oa.Paths(
|
|
134
|
+
raw_dir="/data/raw",
|
|
135
|
+
proc_dir="/data/proc",
|
|
136
|
+
report_dir="/data/reports",
|
|
137
|
+
export_dir="/data/oceansites",
|
|
138
|
+
)
|
|
139
|
+
mooring_path = "/data/proc/dsG3_1_2026/dsG3_1_2026.mooring.yaml"
|
|
140
|
+
oa.process(mooring_path, paths) # stages 1-3
|
|
141
|
+
# re-run stage 3, the stack, the grid and the report
|
|
142
|
+
oa.run(mooring_path, paths, from_stage=3, report=True)
|
|
143
|
+
oa.export(mooring_path, paths) # OceanSITES 1.4 files in paths.export_dir
|
|
134
144
|
```
|
|
135
145
|
|
|
136
146
|
See the [API reference](https://ocean-uhh.github.io/oceanarray/oceanarray.html) for the full interface.
|
|
@@ -41,6 +41,8 @@ oceanarray run /data/proc/dsG3_1_2026 --raw-dir /data/raw # stages 1-3,
|
|
|
41
41
|
oceanarray export /data/proc/dsG3_1_2026 # OceanSITES 1.4 files (needs platform_code)
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
With a project's folders in a paths file (`osnap.paths.yaml`), a mooring is given by name: `oceanarray run osnap.paths.yaml dsG3_1_2026`, or `oceanarray run osnap.paths.yaml --all` for every mooring.
|
|
45
|
+
|
|
44
46
|
See the [documentation](https://ocean-uhh.github.io/oceanarray/) for the recommended first-processing workflow, YAML reference, and CLI reference.
|
|
45
47
|
|
|
46
48
|
## Python API
|
|
@@ -48,10 +50,17 @@ See the [documentation](https://ocean-uhh.github.io/oceanarray/) for the recomme
|
|
|
48
50
|
```python
|
|
49
51
|
import oceanarray as oa
|
|
50
52
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
paths = oa.Paths(
|
|
54
|
+
raw_dir="/data/raw",
|
|
55
|
+
proc_dir="/data/proc",
|
|
56
|
+
report_dir="/data/reports",
|
|
57
|
+
export_dir="/data/oceansites",
|
|
58
|
+
)
|
|
59
|
+
mooring_path = "/data/proc/dsG3_1_2026/dsG3_1_2026.mooring.yaml"
|
|
60
|
+
oa.process(mooring_path, paths) # stages 1-3
|
|
61
|
+
# re-run stage 3, the stack, the grid and the report
|
|
62
|
+
oa.run(mooring_path, paths, from_stage=3, report=True)
|
|
63
|
+
oa.export(mooring_path, paths) # OceanSITES 1.4 files in paths.export_dir
|
|
55
64
|
```
|
|
56
65
|
|
|
57
66
|
See the [API reference](https://ocean-uhh.github.io/oceanarray/oceanarray.html) for the full interface.
|
|
@@ -55,3 +55,12 @@
|
|
|
55
55
|
color: #ffcc00;
|
|
56
56
|
/* or another brand accent */
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
/* CLI reference: one option's flag and help sit close; options stay apart. */
|
|
60
|
+
#command-line dl.option-list dd {
|
|
61
|
+
margin-bottom: 4px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#command-line dl.option-list dd p {
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
}
|
|
@@ -24,7 +24,7 @@ own :doc:`mooring YAML file <yaml_configuration>`. Two commands read it:
|
|
|
24
24
|
sill: {name: Denmark Strait sill array, short: Sill}
|
|
25
25
|
moorings:
|
|
26
26
|
- mooring: dsG1_1_2026
|
|
27
|
-
config: dsG1_1_2026.
|
|
27
|
+
config: dsG1_1_2026.yaml # only when not {mooring}.mooring.yaml
|
|
28
28
|
subarray: sill # moorings are coloured by subarray
|
|
29
29
|
- mooring: dsK1_1_2026
|
|
30
30
|
subarray: sill
|
|
@@ -38,8 +38,11 @@ own :doc:`mooring YAML file <yaml_configuration>`. Two commands read it:
|
|
|
38
38
|
* - ``name``
|
|
39
39
|
- The array's name: the page's file name (default: the YAML file name).
|
|
40
40
|
* - ``moorings``
|
|
41
|
-
- One entry per mooring: ``mooring`` (its name), ``config`` (its YAML file
|
|
42
|
-
|
|
41
|
+
- One entry per mooring: ``mooring`` (its name), ``config`` (its YAML's file
|
|
42
|
+
name, only when it is not ``{mooring}.mooring.yaml``; looked for beside the
|
|
43
|
+
array file, then in the mooring's processed folder; a path, relative to the
|
|
44
|
+
array file or absolute, is still accepted and is planned to be deprecated in
|
|
45
|
+
0.7.0) and ``subarray`` (a key of
|
|
43
46
|
``subarrays``: the map colours moorings by subarray; moorings without one
|
|
44
47
|
are grouped as "other"; without any, one colour per mooring).
|
|
45
48
|
* - ``subarrays``
|
|
@@ -51,12 +54,13 @@ own :doc:`mooring YAML file <yaml_configuration>`. Two commands read it:
|
|
|
51
54
|
* - ``site_code``
|
|
52
55
|
- The OceanSITES site code, written into the exported files (left out, with a
|
|
53
56
|
warning, when absent).
|
|
57
|
+
|
|
54
58
|
Other keys are not used by the year page, which takes cruises, ships, dates,
|
|
55
59
|
positions and depths from each mooring's own YAML file; ``cruise``, ``ship``,
|
|
56
60
|
``deployment_time``, ``recovery_time``, ``latitude``, ``longitude``, ``position``,
|
|
57
61
|
``waterdepth_min``, ``waterdepth_max``, ``vocab`` and ``bathymetry`` get one warning
|
|
58
62
|
naming them. The bathymetry file (GEBCO or ETOPO, one elevation variable on latitude
|
|
59
63
|
and longitude) is given on the command line (``--bathymetry``) or as
|
|
60
|
-
``oa.
|
|
64
|
+
``oa.report_array(array_path, paths, bathymetry=...)``: the map draws its 500, 1000, 2000
|
|
61
65
|
and 2500 m contours, cached beside the page, and names the dataset from the file's
|
|
62
66
|
``title`` (e.g. "ETOPO1", "GEBCO 2025").
|