Skip to main content

What is pyCliTS?

Python Climate Time Series package is open-source python package for easy manipulation with climatic geo-spatial time series such as the reanalysis or CMIP5 outputs, which are usually distributed as netCDF4 files. The package includes functions for:

  • manipulating the data [temporal and spatial slicing, interpolating, subtracting the climatological cycle = anomalising, normalising, filtering, subsampling, etc.]

  • computing continuous complex wavelet transform [CCWT]

  • constructing spatio-temporal surrogate data using Monte-Carlo approach [Fourier transform surrogates, amplitude adjusted FT, iterative amplitude adjusted FT, autoregressive surrogates using the VAR(p) model, multifractal surrogates]

  • computing Singular Spectrum Analysis

  • computing mutual information and conditional mutual information [using equidistant, equiquantal binning and k-nearest neighbour algorithms]

  • constructing an empirical model from spatio-temporal data based on idea of LIMs [linear inverse modelling].

Uses fast numpy, scipy and scikit-learn libraries and offers multi-thread computations when possible [e.g. computing wavelet transform per grid point].

Documentation

Instead of proper documentation [I plan to add it later though!], I created a few examples on how to work with basic class DataField, SurrogateField, SSA and other functions. These can be found in examples folder. The folder also contain climate data to work on, all of them are publicly available and inside example_data folder, you can find disclaimer with links to the datasets.

Dependencies

pyclits relies on the following open source packages

Required:

Recommended:

(All of them are installed via pip automatically when installing this package, except basemap, since it is not on PyPI. Basemap still can be installed via pip using pip install git+https://github.com/matplotlib/basemap.git)

Contributing

All contributions are welcome! Just drop me an email or pull request.

Versions

  • 0.1: initial version

  • 0.2: various minor bug fixes, added VARIMAX rotation as optional parameter in pca_components() method of DataField

License information

pyclits is MIT-licensed, for more information see the file LICENSE.txt

Metadata

Release files for pyclits 0.2

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

Source distribution (sdist)

Source distribution for pyclits 0.2
File Size Uploaded
pyclits-0.2.tar.gz 53.8 kB Details

Release files / pyclits-0.2.tar.gz

Download URL pyclits-0.2.tar.gz
Size 53.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c898d7b422f75b1fec019092c25463c091dd29f5243fd2d9d0bf37954e8906ce
BLAKE2b-256 checksum
How to use checksums
25d00c01531269a9aa5b1af51f2d34de288e3833cb74a9fdcf118c1542cdc278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

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