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.

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.5.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.5-py3-none-any.whl (68.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atmos_validation-2.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8bf71e2a5a0ef4f4b9899bcd3192af089e9aa31dabaa2dba38e9bec5655844e9
MD5 aafb74edacf461c85f787caf326848b4
BLAKE2b-256 6eddec23d9cc80fb73904de743aa6494bd2263b89587e1c7e0a17860a9218f81

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmos_validation-2.0.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for atmos_validation-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82728643b8b8063f23afc3cee5eff5fedd63e318fcd5e26e1a79c0aef263c933
MD5 9b38cc0a3fb6fa557bdadbfeb18f0e44
BLAKE2b-256 ece818a8f716440b527ffb7f849398ffd963872de03b50eb6d4129bb799ea7f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for atmos_validation-2.0.5-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