Metadata-Version: 2.5
Name: kval
Version: 0.6.1
Summary: Processing and analysis of ocean data in Python
Project-URL: Homepage, https://github.com/NPIOcean/kval/
Author-email: Øyvind Foss <oyvind.foss@npolar.no>, Tore Hattermann <tore.hattermann@npolar.no>
Maintainer: Norwegian Polar Institute, Oceanography section
Maintainer-email: "Øyvind Foss, NPI" <oyvind.foss@npolar.no>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Oceanography
Requires-Python: <3.14,>=3.11
Requires-Dist: cartopy>=0.21.1
Requires-Dist: cftime>=1.6.2
Requires-Dist: cmocean>=3.0.3
Requires-Dist: compliance-checker>=6.1
Requires-Dist: gsw>=3.6
Requires-Dist: ipykernel<7,>=6.26.0
Requires-Dist: ipympl>=0.9.3
Requires-Dist: matplotlib<3.11,>=3.10
Requires-Dist: netcdf4>=1.6.4
Requires-Dist: numpy>=1.23
Requires-Dist: pandas>=2.2.0
Requires-Dist: pygeomag>=1.1.0
Requires-Dist: pyrsktools>=1.1.1
Requires-Dist: ruamel-yaml>=0.18.15
Requires-Dist: scipy>=1.11.3
Requires-Dist: tqdm>=4.66.1
Requires-Dist: xarray>=2023.10.1
Provides-Extra: dev
Requires-Dist: pytest>=8.1.1; extra == 'dev'
Requires-Dist: requests>=2.2.1; extra == 'dev'
Description-Content-Type: text/markdown

![image](https://raw.githubusercontent.com/npiocean/kval/master/graphics/kval_banner.png)

Collection of Python tools for working with oceanography data processing and analysis.

Maintained by the Oceanography section at the [Norwegian Polar Institute](https://www.npolar.no/en/) and supported by the [HiAOOS](https://hiaoos.eu/) project.
___


#### [Documentation page](https://kval.readthedocs.io/) *(in development)*


___

### Installation

Conda:

    conda install -c npiocean -c conda-forge kval


Pip [^tag] :

    pip install kval


[^tag]: Conda is recommended for Windows users as we have experienced errors with the dependent library `compliance-checker` on Windows+pip.

___

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10360162.svg)](https://doi.org/10.5281/zenodo.10360162)

> ***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.

___