Skip to main content

CDSupdate

CDSupdate is a Python package that automates the process of retrieving, processing, and managing climate data from the Climate Data Store (CDS) API. The tool generates daily climate data summaries, performs calculations to create custom variables such as relative humidity and heat index which serve as risk assessments, and organizes the data into a user-friendly format.

Installation

CDSupdate requires the following packages:

  • numpy
  • pandas
  • xarray
  • netCDF4
  • cftime
  • cdsapi
  • windows-curses (only for Microsoft Windows users)

From pip:

pip3 install CDSupdate

Or from source:

git clone https://github.com/yrobink/CDSupdate.git
cd CDSupdaye
pip3 install .

This adds the CDSupdate package in your python installation, and the command cdsupdate.

How to use ?

Start by read the documentation with:

cdsupdate --help

As example, to download the daily mean temperature over the North Atlantic (80W-50E,5N,72N) between 2019-11-09 and 2022-01-17 in the directory odir, just run:

cdsupdate --log info test.log --period 2019-11-09/2022-01-17 --cvar tas --area NorthAtlantic --odir odir

How to cite it ?

You can use this DOI:10.5281/zenodo.7991331

License

Copyright(c) 2022 / 2025 Yoann Robin, Andreia Hisi

This file is part of CDSupdate.

CDSupdate is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CDSupdate is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CDSupdate. If not, see https://www.gnu.org/licenses/.

Release files for CDSupdate 2.3.1

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

Source distribution (sdist)

Source distribution for CDSupdate 2.3.1
File Size Uploaded
cdsupdate-2.3.1.tar.gz 35.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CDSupdate 2.3.1
File Interpreter ABI Platform
CDSupdate-2.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 80.8 kB

Release files / cdsupdate-2.3.1.tar.gz

Download URL cdsupdate-2.3.1.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7882a50635aa007ff551f7eda03df591cc51f24ee1a6713e5681b40ebdba22c9
BLAKE2b-256 checksum
How to use checksums
4b9ef0410dd78e87b0aaf07afd76c9aa822aa165553677c4bba2c80090b62aa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / CDSupdate-2.3.1-py3-none-any.whl

Download URL CDSupdate-2.3.1-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fa4bf39add6dcfdfc26cf76258391a72778be14518305eb66444e88a3405f86
BLAKE2b-256 checksum
How to use checksums
c50173ce9ef721fce2f039b4c86a70c989db22389aee2696f72b172bedb84c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

2.3.1 This release

2 release files

2.0.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

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