Skip to main content

Leverages open-data weather information via the NetCDF interface

Project description

meteopendata2netcdf

CI Documentation PyPI Python License: BSD-3

Leverages open-data weather information via the NetCDF interface.

Download ECMWF IFS open-data surface forecasts (temperature, wind, humidity) via ecmwf-opendata and export them to NetCDF.

Uses HTTP Byte-Range requests: only the bytes corresponding to the requested parameters and forecast steps are transferred, not the full GRIB2 files.

Installation

pip install meteopendata2netcdf

[!NOTE] eccodes must be installed on your system (required by cfgrib): apt-get install libeccodes-dev on Linux · brew install eccodes on macOS · bundled in the cfgrib wheel on Windows.

Quick start

from meteopendata2netcdf import IFSSurfaceDownloader

dl = IFSSurfaceDownloader(output_dir="./ifs_output")
result = dl.download()          # latest IFS run, GRIB2 + xr.Dataset
result.to_netcdf("ifs_surface.nc")
print(result.dataset)
# CLI
meteopendata2netcdf --output ./data/ifs --netcdf ifs_surface.nc
meteopendata2netcdf --source aws --time 0 --log-level DEBUG

Parameters

Short name Description Unit Height
2t 2-metre temperature K 2 m
2d 2-metre dewpoint (humidity) K 2 m
10u 10-metre U-wind component m s⁻¹ 10 m
10v 10-metre V-wind component m s⁻¹ 10 m

Forecast steps: 0, 6, 12, … 72 h (every 6 h). Model: IFS HRES oper, 0.25°.

Documentation

Full documentation: https://meteopendata2netcdf.readthedocs.io

Licence

BSD 3-Clause — see LICENSE.

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

meteopendata2netcdf-0.3.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meteopendata2netcdf-0.3.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file meteopendata2netcdf-0.3.0.tar.gz.

File metadata

  • Download URL: meteopendata2netcdf-0.3.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for meteopendata2netcdf-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3b6dd95e5b5e439c55d23f22242ae9ce41fed92f46b3afd616850d02f23f5c5c
MD5 aab70d80cf4e03a0803392abe21dd089
BLAKE2b-256 e680978ae58015742262419f20aa50a5f7ef870c5c9456155eded1cf7790f355

See more details on using hashes here.

Provenance

The following attestation bundles were made for meteopendata2netcdf-0.3.0.tar.gz:

Publisher: publish.yml on miki4iaml/meteopendata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meteopendata2netcdf-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for meteopendata2netcdf-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de67d3485f2163b2287fb2b76be91aea8f71836b89624e27a4d21670a51dc454
MD5 c58e607e22d3daae342c9725b5d736d6
BLAKE2b-256 25d912ff20b493a21a1d7fbb7d35ee2bd857947ad2fbc03b3c79e070f77d6ebb

See more details on using hashes here.

Provenance

The following attestation bundles were made for meteopendata2netcdf-0.3.0-py3-none-any.whl:

Publisher: publish.yml on miki4iaml/meteopendata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page