Skip to main content

nv-dfm-lib-weather

Weather and climate data adapters for NVIDIA Data Federation Mesh (DFM).

What is DFM?

Data Federation Mesh (DFM) is a Python-based framework for creating and orchestrating complex workflows that process data from various distributed sources and stream results into applications. DFM determines where to run each operation of a data processing pipeline and handles data movement between sites automatically.

Experimental: This library is provided as a collection of examples and starting points for building your own adapters. Before any production use, review and extensively test all adapters in your target environment.

Overview

nv-dfm-lib-weather provides pre-built adapters for weather and climate data sources, AI models, and xarray processing:

Category Adapters
Data Loaders GFS, ECMWF ERA5, HRRR, CMIP6
Xarray VariableNorm, ConvertToUint8, RenderUint8ToImages, caching
AI Models SFNO (Spherical Fourier Neural Operator), cBottle (Climate in a Bottle)

Installation

pip install nv-dfm-lib-weather

Or with uv in the monorepo:

uv sync --package nv-dfm-lib-weather

Note: This package depends on earth2studio, which may require additional dependencies depending on your environment. See the Weather Data Library section of the installation guide for details.

Optional Extras

Extra Description
cbottle cBottle (Climate in a Bottle) model adapters (video, TC guidance, super-resolution, infilling, data gen)
sfno Spherical Fourier Neural Operator for weather prediction
all All optional AI model dependencies
uv sync --package nv-dfm-lib-weather --extra sfno
uv sync --package nv-dfm-lib-weather --extra cbottle

GPU Prerequisites for AI Model Adapters

The SFNO and cBottle adapters require GPU hardware, drivers and model-specific prerequisites. Follow the AI Model Adapters installation guide for the tested CUDA 12.9 / PyTorch cu129 / Earth2Studio 0.16 environment and the additional source-built model dependencies. Install those prerequisites before installing the published sfno or cbottle extra. Source installs with uv use the workspace's pinned model sources.

Adapters

Data Loaders

Adapter Description
LoadGfsEra5Data GFS data via Earth2Studio (AWS backend)
LoadEcmwfEra5Data ECMWF ERA5 reanalysis data
LoadHrrrEra5Data HRRR high-resolution data
LoadCmip6Data CMIP6 climate model data

Xarray Processing

Adapter Description
VariableNorm Normalize xarray variables
ConvertToUint8 Convert to uint8 for visualization
RenderUint8ToImages Render datasets to PNG textures

AI Models (optional extras)

Adapter Description
SfnoPrognostic Spherical Fourier Neural Operator for weather prediction
CbottleVideo video prognostic Climate in a Bottle
CbottleInfilling Climate in a bottle infill diagnostic
CbottleSuperResolution cBottle super-resolution
CBottleTropicalCycloneGuidance cBottle tropical cyclone guidance diagnostic
CbottleDataGen CBottle3D synthetic climate data generator

DFM Ecosystem

Package Description
nv-dfm-core Core framework — Pipeline API, execution engine, code generation, and CLI
nv-dfm-lib-common Shared schemas and utilities used across adapter libraries

Dependencies

  • nv-dfm-core – Core DFM framework
  • nv-dfm-lib-common – Shared schemas (GeoJsonFile, TextureFile, etc.)
  • earth2studio[data] – Data loaders (GFS, ECMWF, HRRR, CMIP6)
  • xarray, netCDF4, rioxarray – Data handling

Documentation

License

Apache License 2.0. See the LICENSE file for details.

Metadata

Release files for nv-dfm-lib-weather 3.1.59

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

Built distribution (wheel)

Table of built distributions (wheels) for nv-dfm-lib-weather 3.1.59
File Interpreter ABI Platform Actions
nv_dfm_lib_weather-3.1.59-py3-none-any.whl Python 3 none any Details for nv_dfm_lib_weather-3.1.59-py3-none-any.whl

Release files / nv_dfm_lib_weather-3.1.59-py3-none-any.whl

Download URL nv_dfm_lib_weather-3.1.59-py3-none-any.whl
Size 98.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0586b4be43cf8b20cf5813336d1d0fcd1cf23dee7891cd8acdef52555cb80406
BLAKE2b-256 checksum
How to use checksums
468fd166b8679c9c4a562f4b38b8282a7e05b0770d18ea21c88029f7a40de555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for nv-dfm-lib-weather 3.1.59

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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