Skip to main content

databird-driver-climate

Data sources for climate and atmospheric research:

  • climate.EcmwfDriver: Retrieve data from the European Centre for Medium-Range Weather Forecasts (ECMWF) via their API
  • climate.C3SDriver: Retrieve data from the Copernicus Climate Change Service (C3S) via their API
  • climate.GesDiscDriver: Retrieve data from the NASA EarthData GES DISC service.

See also: databird

Installation

pip install databird-driver-climate

Example config

The following configuration file uses all the drivers that are provided by this package.

general:
  root: /tmp/databird

profiles:
  c3s:
    driver: climate.C3SDriver
    configuration:
      key: 1234:aabbcc-ddeeff-1234abcdefg

  ecmwf:
    driver: climate.EcmwfDriver
    configuration:
      key: env:$ECMWF_API_KEY
      email: "someone@example.com"

  gesdisc:
    driver: climate.GesDiscDriver
    configuration:
      login: username_xxx
      password: password_xxx

repositories: 
  era5:
    description: ERA5 data
    profile: c3s
    period: 1 day
    delay: 177 days
    start: 2019-02-01
    queue: slow
    targets:
      grib2: "{time:%Y}/era5_europe_{time:%Y%m%d}_00.grib"
    configuration:
      name: reanalysis-era5-complete
      request:
        dataset: era5
        class: ea
        type: an
        stream: oper
        expver: 1
        levtype: ml
        levelist: 71
        param: 131
        area: 70/-130/30/-60
        grid: 2/2
        date: "{time:%Y-%m-%d}"
        time: "{time:%H}"

  ecmwf/oper:
    description: ECMWF operational
    profile: ecmwf
    period: 1 days
    delay: 3 days
    start: 2019-08-01
    queue: slow
    targets:
      grib2: "{time:%Y}/ecmwf_oper_{time:%Y%m%d}.grib"
    configuration:
      mars:
        class: OD
        type: AN
        stream: OPER
        expver: 1
        grid: 1.125/1.125
        area: 90/-180/80/100
        levtype: ML
        levelist: ALL
        param: T/U/V
        date: "{time:%Y-%m-%d}"
        time: 00/06/12/18
        use: INFREQUENT
        format: GRIB2

  merra:
    description: MERRA-2
    profile: gesdisc
    period: 1 days
    delay: 180 days
    start: 2019-02-01
    queue: slow
    targets:
      default: "{time:%Y}/merra_{time:%Y-%m-%d}.nc"
    configuration:
      url: https://goldsmr5.gesdisc.eosdis.nasa.gov:443/opendap/MERRA2/M2I3NPASM.5.12.4/{time:%Y}/{time:%m}/MERRA2_400.inst3_3d_asm_Np.{time:%Y%m%d}.nc4
      variables: [U, T, V]
      subset:
        lat: "20:1:30"
        lon: "10:1:20"
        lev: "10:"

Release files for databird-driver-climate 0.1.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 databird-driver-climate 0.1.2
File Size Uploaded
databird-driver-climate-0.1.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for databird-driver-climate 0.1.2
File Interpreter ABI Platform
databird_driver_climate-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / databird-driver-climate-0.1.2.tar.gz

Download URL databird-driver-climate-0.1.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
30cf7f7911282dc0090912ff191e2fa1a5a0e117157e40b78d12c1d5ab46900d
BLAKE2b-256 checksum
How to use checksums
911ee35814f4c6b8f5009b3d080fe46b700e89f8fd6e68da7efec7ad9e920344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / databird_driver_climate-0.1.2-py3-none-any.whl

Download URL databird_driver_climate-0.1.2-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c1905d0d9a9166cfa81b7d3dba300f5ae22e83a258153b45ec2e8f79977c7a9
BLAKE2b-256 checksum
How to use checksums
2331c3d3b526d06b0a9f9944ca35156f04c730ad9243aa152604b43550c617af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

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