Skip to main content

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

About the latest release, 0.6.0:

NOTE 0.6 changes some behaviour and defaults. Results can differ slightly from 0.5.

New

  • Time averaging function now records what it did in a CF-compatible format (TIME_bnds, cell_methods), with optional sample counts, standard deviations and medians.
  • combine_datasets works with calendar intervals; dataset_size(ds) shows how large a dataset is.

Fixes

  • .cnv files could lose their first data row; SBE56 .csv dates could be read month-first - both fixed
  • Fixes to RBR reading, despiking of 2-D data, principal_angle, psd, magnetic declination and ACDD metadata (geospatial_bounds), plus many smaller ones.

Breaking changes

  • drop_variables takes retain/drop by name only.
  • Daily averaging bins run midnight to midnight; combine_datasets keeps TIME in its input form.
  • float64 is kept; int64 is written as int32.

Dependencies

  • Requires pandas>=2.2; glob2 and xlrd are no longer needed; kval.util.era5 is removed.

kval is in active development.


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

Metadata

Release files for kval 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kval 0.6.0
File Size Uploaded
kval-0.6.0.tar.gz 3.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for kval 0.6.0
File Interpreter ABI Platform
kval-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / kval-0.6.0.tar.gz

Download URL kval-0.6.0.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
718ac2507672d7e51ff1be6b351e373116137d41fdf2ed22fd1e25c34909f8a6
BLAKE2b-256 checksum
How to use checksums
7b8a2dd0f7db7d7ed8751fda60099df306c2b09f77c409da522e210101a1b7af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / kval-0.6.0-py3-none-any.whl

Download URL kval-0.6.0-py3-none-any.whl
Size 193.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a970bfb63e7e9d51fae1eec832543d8b446af8b263228444b14fea3cee3e0d0
BLAKE2b-256 checksum
How to use checksums
09fa6815b9b4c97e5847e1205adf6378294a3258cce26a06454c437c4ca646c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page