Collection of Python tools for working with oceanography data processing and analysis.
Maintained by the Oceanography section at the Norwegian Polar Institute and supported by the HiAOOS project.
Documentation page (in development)
Conda:
conda install -c npiocean -c conda-forge kval
Pip 1 :
pip install kval
NOTE 0.6 changes some behaviour and defaults. Results can differ slightly from 0.5.
About the latest release, 0.6.1:
Changes
- Consistent behaviour: Functions in moored, ctdprof and metadata no longer change the input dataset. Assign the result:
ds = func(ds, ...). - Interactive tools (
moored.plot,threshold_pick,tsplot_pick, hand editing, the IOOS compliance report) now keep a static picture or text in the saved notebook, so the output is visible outside a live Jupyter session (e.g. on GitHub). This is not necessarily perfect (the best way to view notebooks is in JupyterLab), but it is better than displaying an empty or broken plot.- Tested with both ipywidgets 7 and 8.
Fixes
threshold_pick: "Apply" now removes exactly what the preview shows; limits that cut nothing no longer add attributes.ctdprof.hand_remove_pointsreturned the wrong object.edit.replacefailed on datasets with scalar coordinates (e.g. LATITUDE/LONGITUDE).to_netcdfgives a clear error when the output directory does not exist (previously reported as "file already exists").
kval is in active development.
Footnotes
-
Conda is recommended for Windows users as we have experienced errors with the dependent library
compliance-checkeron Windows+pip. ↩
