Skip to main content

Common utilities for DFM adapter libraries

Project description

nv-dfm-lib-common

Shared schemas and utilities for DFM adapter libraries.

Overview

nv-dfm-lib-common provides common building blocks used across DFM adapter libraries such as nv-dfm-lib-weather:

Component Description
Output Schemas Pydantic models for adapter return types: GeoJsonFile, TextureFile, TextureFileList
XArray Schemas Schema definitions and validation for xarray Datasets (XArraySchema, coordinate/variable checks)

Installation

This package is typically installed as a dependency of other nv-dfm-lib-* packages:

pip install nv-dfm-lib-common

Or with uv in the monorepo:

uv sync --package nv-dfm-lib-common

Usage

from nv_dfm_lib_common.schemas import GeoJsonFile, TextureFile, TextureFileList
from nv_dfm_lib_common.schemas.xarray import XArraySchema, check_dims, check_dtype

Documentation

License

Apache License 2.0. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nv_dfm_lib_common-3.1.27-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file nv_dfm_lib_common-3.1.27-py3-none-any.whl.

File metadata

File hashes

Hashes for nv_dfm_lib_common-3.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 9ffade1d9a730dd279aebd9005227b6350a8ef478794963194c4a8658f853d43
MD5 f1cecdac2d8cdc06506aee17cbcd7b35
BLAKE2b-256 a0f6d4867e68a9e5eb8035c9aeabf4cedc3582983ace0a17473b86d9828a1d69

See more details on using hashes here.

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