Skip to main content

Toolkit provided by IMK at KIT

Project description

IMK Toolkit

This toolkit provides post-processing scripts developed by members of the Institute of Meteorology and Climate Research (IMK) at the Karlsruhe Institute of Technology (KIT). The goal of this module is to gather together python post-processing scripts for the analysis of netCDF data.

Install

Choose one of the following methods to install the package:

  1. Install using pip
  2. Install using conda
  3. Install straight from this repository using git clone

This package supports Python3 starting with version 3.7. If you are using an earlier version of Python please consider updating your system.

pip

Releases are automatically uploaded to PyPI. Please execute following command to install the package.

python3 -m pip install imktk

conda

Currently the package does no support native installation using conda respectively conda-forge. This feature is on the roadmap and you can follow its process using issue #34. The current workaround for conda installation is to use the following steps for any given environment <env>.

  1. Activate the environment
conda activate <env>
  1. Install using pip
python3 -m pip install imktk

git clone

It is also possible to install the package natively by cloning the repository. If you are interested in using this method of installation please follow these steps

  1. Clone repository
git clone https://github.com/imk-toolkit/imk-toolkit.git
  1. Enter the imktk directory and build Python packages for installation. The installation files will be saved in imk-toolkit/dist
cd imk-toolkit/imktk && python3 -m build
  1. Enter the dist directory and install packages
cd dist && pip3 install imktk-<current.version>-py3-none-any.whl

Please be aware that the package uses HDF5 and netCDF c-library in the backend. If you are installing using this method consider setting the HDF5_DIR environment variable with the location of the HDF5 header files.

Usage

import imktk
import xarray as xr

t = xr.tutorial.open_dataset("rasm").load().Tair
anomaly_free_t = t.imktk.anomalies()

Further reading

If you are interested in the inner workings of the package and details of the implementation please refer to the embedded README.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imktk-0.1.7.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

imktk-0.1.7-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file imktk-0.1.7.tar.gz.

File metadata

  • Download URL: imktk-0.1.7.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-1025-azure

File hashes

Hashes for imktk-0.1.7.tar.gz
Algorithm Hash digest
SHA256 017a316aae470280a8ec4c98f3e01edc66fc3b837626f56687e08aae379ae055
MD5 8ef3ad51a88fa3fccf15f6f0319a71e9
BLAKE2b-256 01e3d9006c533be910b429f623d0890e69e19bb3b215e90a7abe9d37d42b336f

See more details on using hashes here.

File details

Details for the file imktk-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: imktk-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-1025-azure

File hashes

Hashes for imktk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6c98c4987ddcf65ae26be635dfb3ca94c71937d46a4991cb0862fd391ccb22e2
MD5 9fb0fe3e37ee67701bf15b7db1c0eb9f
BLAKE2b-256 db252a4bbdc35170c6b57559dfac279dc7967ce2948bbd5cf44a299fa61be74f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page