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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for atmos_validation-2.0.6.tar.gz
Algorithm Hash digest
SHA256 50f85c0ed10c940597cb29ab1f1a1e31580a2f04c34477db2b65ccb307ec454d
MD5 f69c0526518bac8040ecc067ae343b32
BLAKE2b-256 6e32d84a3428495b8f4a0621a1cdcd378ffacc791311b68c6056fabaa2510f63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for atmos_validation-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0076990df065c47a0c912235ae401626f0477f1f54eabb2e1cbb37a372cc2a50
MD5 f9fce13a4f951200990fdbd252a34bf3
BLAKE2b-256 8a29b05765eefd75d211a8897b5b324f71905bf4edd9e1992aacf288b7f16601

See more details on using hashes here.

Provenance

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