A Python toolkit for climate data processing and analysis
Project description
climalab
climalab is a Python toolkit designed to facilitate climate data analysis and manipulation, including tools for data extraction, processing, and visualization. It leverages external tools and standards like CDO and CDS to streamline workflows for climate-related research.
Features
- Meteorological Tools:
- Comprehensive handling of meteorological variables and data
- Weather software input file generation
- Variable conversion and standardisation utilities
- NetCDF Tools:
- Advanced CDO operations for netCDF file manipulation
- NCO tools for efficient data processing
- Faulty file detection and reporting
- Basic information extraction from netCDF files
- Supplementary Analysis Tools:
- Visualisation tools for maps and basic plots
- Bias correction methods (parametric and non-parametric quantile mapping)
- Statistical analysis tools
- Auxiliary functions for data processing
- Project Structure:
- Sample project templates for data analysis workflows
- Standardised directory organisation
- Version control and changelog management
Installation Guide
Dependency Notice
Before installing, please ensure the following dependencies are available on your system:
-
Required Third-Party Libraries:
- numpy
- pandas
- scipy
- cdsapi (for data downloads)
- PyYAML (for configuration files)
You can install them via pip:
pip install numpy pandas scipy cdsapi PyYAML
Or via Anaconda (recommended channel:
conda-forge):conda install -c conda-forge numpy pandas scipy cdsapi pyyaml
-
Other Internal Packages: these are other packages created by the same author:
- filewise
- paramlib
- pygenutils
Installation Instructions
Install the package using pip:
pip install climalab
Package Updates
To stay up-to-date with the latest version of this package, simply run:
pip install --upgrade climalab
Project Structure
The package is organised into several sub-packages:
-
meteorological/: Core tools for handling meteorological data and variables
variables.py: Meteorological variable definitions and conversionsweather_software.py: Tools for weather software input file generation
-
netcdf_tools/: Utilities for working with netCDF files
cdo_tools.py: CDO operations and utilitiesnco_tools.py: NCO operations and utilitiesdetect_faulty.py: Tools for identifying problematic netCDF filesextract_basics.py: Basic information extraction from netCDF files
-
supplementary_tools/: Additional analysis and visualisation tools
- Bias correction methods
- Plotting utilities
- Statistical analysis tools
- Auxiliary functions
-
data_analysis_projects_sample/: Example project structure demonstrating best practices
For detailed version history and changes, please refer to:
CHANGELOG.md: Comprehensive list of changes for each versionVERSIONING.md: Versioning policy and guidelines
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file climalab-4.3.0.tar.gz.
File metadata
- Download URL: climalab-4.3.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c08cc5f781e278879ea9948e31cb248ea6afbec60ff889b4adc16c4b6155f91b
|
|
| MD5 |
16dd216695f64c211efb936ef0d3faef
|
|
| BLAKE2b-256 |
e6b769355f595c5b9a4cfda5391da0cd222f86e78e61c6c6886749bf2e00d04e
|
File details
Details for the file climalab-4.3.0-py3-none-any.whl.
File metadata
- Download URL: climalab-4.3.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66b5ef98585ec4dec3b6c8dcec5a49888a626ed72ec0ec55505ee41f13b7a9f4
|
|
| MD5 |
3906cadecc9dfa4f2b939a67552cc3a5
|
|
| BLAKE2b-256 |
2a0033eab711b7f0650c522f9f4df4880c113abd64816c75bb22385db006c882
|