Skip to main content

A python library containing automated data validation tools for the Atmos Data Service

Project description

atmos-validation

SCM Compliance Build Code style: black License Coverage badge

A library containing validation checks to be run on hindcast or measurement data to ensure API compliance and standardization.

Atmos is a project to streamline discoverability and data access for weather data sources through APIs. The first step to building a lean and efficient API is converting data to the standard format.

Data Validation

In order to ingest measurement or hindcast data into the Atmos Data Store, each source file needs to pass validation. Validation ensures that the file is compliant with the data conventions specified in Conventions. The standard file formats for source files are NetCDF files for hindcasts and ASCII or NetCDF for measurements.

Measurements by definition contain data for a single geographical location, whereas hindcasts are bigger models containing time series for a multitude of locations in (possibly rotated) grids. A measurement file is therefore expected to contain all of its data in a single file. A hindcast is comprised of a set of NetCDF files - all with the same coordinates, attributes, and variables, - where a single file contains data for a unique time period. Depending on the size of the files, the time separation should be either monthly or yearly. A rule-of-thumb is that if the file size grows more than 4 GB, it should be split into smaller files. See docs or example for how to name hindcast files.

To run validation on NetCDF and ASCII source files, we have built the atmos_validation CLI/library. The documentation below describes these checks, the standard format, and how to run validation using the CLI tool.

Documentation

Examples

Contributing

We welcome different types of contributions, including code, bug reports, issues, feature requests, and documentation. The preferred method of submitting a contribution is either to make an issue on GitHub or to fork the project on GitHub and make a pull request. In the case of bug reports, please provide a detailed explanation describing how to reproduce before submitting.

Before making your initial commit, please run:

pre-commit install

This sets up a Git hook to automatically run checks (like trufflehog secret scanning) every time you commit. You only need to run this command once — after that, the checks will run automatically.

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

atmos_validation-2.0.4.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

atmos_validation-2.0.4-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

File details

Details for the file atmos_validation-2.0.4.tar.gz.

File metadata

  • Download URL: atmos_validation-2.0.4.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atmos_validation-2.0.4.tar.gz
Algorithm Hash digest
SHA256 3fe1ffbb405e159019500476d1474dfcfe4ac27f846709b3fb3aef696765a84a
MD5 ecd0d9e6c0b1e8dfa8207cf7f1e905dd
BLAKE2b-256 7a1400454fb6754183466afcc600c6e91bfc97c4733558d6055f1ee5968f5350

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmos_validation-2.0.4.tar.gz:

Publisher: pypi-publisher.yml on equinor/atmos-validation

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

File details

Details for the file atmos_validation-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for atmos_validation-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cb04cc295607fc3a5aa4aff88d7422c00d504e101aff0ae6b184cad1f17b6e0a
MD5 f6f77bb16d6e804f5606d4d52697899c
BLAKE2b-256 d7f5104f5fa3a0c694b24808e8f79f936cee81136d9d9e272a7f88ff7fe6e97e

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmos_validation-2.0.4-py3-none-any.whl:

Publisher: pypi-publisher.yml on equinor/atmos-validation

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