Skip to main content

Data sources for climate and atmospheric research.

Project description

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:"

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

databird-driver-climate-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

databird_driver_climate-0.1.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file databird-driver-climate-0.1.2.tar.gz.

File metadata

  • Download URL: databird-driver-climate-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for databird-driver-climate-0.1.2.tar.gz
Algorithm Hash digest
SHA256 30cf7f7911282dc0090912ff191e2fa1a5a0e117157e40b78d12c1d5ab46900d
MD5 791faa6d18f6d8bc29cc6fc8e981c0d7
BLAKE2b-256 911ee35814f4c6b8f5009b3d080fe46b700e89f8fd6e68da7efec7ad9e920344

See more details on using hashes here.

File details

Details for the file databird_driver_climate-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: databird_driver_climate-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for databird_driver_climate-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4c1905d0d9a9166cfa81b7d3dba300f5ae22e83a258153b45ec2e8f79977c7a9
MD5 66e4da68d192ea7220e01d06311f308f
BLAKE2b-256 2331c3d3b526d06b0a9f9944ca35156f04c730ad9243aa152604b43550c617af

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