Skip to content
NPIOceanPublic

About

Tools for analysis and processing of ocean data in Python.

Resources

Contributing

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

image

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)


Installation

Conda:

conda install -c npiocean -c conda-forge kval

Pip 1 :

pip install kval

DOI

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_points returned the wrong object.
  • edit.replace failed on datasets with scalar coordinates (e.g. LATITUDE/LONGITUDE).
  • to_netcdf gives a clear error when the output directory does not exist (previously reported as "file already exists").

kval is in active development.


Footnotes

  1. Conda is recommended for Windows users as we have experienced errors with the dependent library compliance-checker on Windows+pip. ↩

About

Tools for analysis and processing of ocean data in Python.

Resources

Contributing

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages