Skip to main content

ISIMIP utils

Python Version License CI status Latest release DOI

ISIMIP offers a framework for consistently projecting the impacts of climate change across affected sectors and spatial scales. An international network of climate-impact modellers contribute to a comprehensive and consistent picture of the world under different climate-change scenarios.

This package contains various utility methods for use in custom scripts as well as in different ISIMIP tools:

The different methods are described are documented at https://utils.isimip.org.

Setup

Using the package requires a running Python 3 on your system. The installation for different systems is covered here.

Unless you already use an environment manager (e.g. conda or uv), it is highly recommended to use a virtual environment, which can be created using:

python3 -m venv env
source env/bin/activate  # needs to be invoked in every new terminal session

The package itself can be installed via pip:

pip install isimip-utils

For a development setup, the repo should be cloned and installed in editable mode:

git clone git@github.com:ISI-MIP/isimip-utils
pip install -e isimip-utils

Usage

Once installed, the modules can be used like any other Python library, e.g. in order to create a ISIMIP compliant NetCDF file, you can use:

from isimip_utils.xarray import init_dataset, write_dataset

time = np.arrange(0, 365, dtype=np.float64)
var = np.ones((365, 360, 720), dtype=np.float32)

attrs = {
    'global': {
        'contact': 'mail@example.com',
    },
    'var': {
        'standard_name': 'var',
        'long_name': 'Variable',
        'units': '1',
    },
}

# create an xarray.Dataset
ds = init_dataset(time=time, var=var, attrs=attrs)

# write the dataset as NetCDF file
write_dataset(ds, 'output.nc')

Please also note our examples page and the API reference.

Metadata

Release files for isimip-utils 2.1.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 isimip-utils 2.1.0
File Size Uploaded Provenance Actions
isimip_utils-2.1.0.tar.gz 57.4 kB With provenance Details for isimip_utils-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for isimip-utils 2.1.0
File Interpreter ABI Platform Actions
isimip_utils-2.1.0-py3-none-any.whl Python 3 none any Details for isimip_utils-2.1.0-py3-none-any.whl

Total release size: 91.5 kB

Release files / isimip_utils-2.1.0.tar.gz

Download URL isimip_utils-2.1.0.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0e1d391dd5f591efc938935b7bd1c71808796bd336295f14db3773380d16fe71
BLAKE2b-256 checksum
How to use checksums
17c78fad3dc3792c15d5b099ac01ea9eb6b5cf2dd03f94196cb2a2152349e5d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / isimip_utils-2.1.0-py3-none-any.whl

Download URL isimip_utils-2.1.0-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d96b87d6bb0ddc75e7416b675efa46e52f40ee35615f4e7c96ea4695e6bfc67
BLAKE2b-256 checksum
How to use checksums
c4789639b57774fff958204dc74fb0ba53b8325196bcc6ffbb7e486605377886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Security for isimip-utils 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for isimip_utils-2.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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