Skip to main content

Python Climate Time Series package

Project description

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

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

pyclits-0.2.tar.gz (53.8 kB view details)

Uploaded Source

File details

Details for the file pyclits-0.2.tar.gz.

File metadata

  • Download URL: pyclits-0.2.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyclits-0.2.tar.gz
Algorithm Hash digest
SHA256 c898d7b422f75b1fec019092c25463c091dd29f5243fd2d9d0bf37954e8906ce
MD5 f7ebc4d1cb52811f0db7d84c86eac505
BLAKE2b-256 25d00c01531269a9aa5b1af51f2d34de288e3833cb74a9fdcf118c1542cdc278

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