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

Uploaded Python 3

File details

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

File metadata

  • Download URL: atmos_validation-2.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 8306bb6def5127c3a4ff566916aab12752b1d07fe594bafd27dab8c8e94b0d1d
MD5 f9e256ef11c992220f6ea62e6aae9874
BLAKE2b-256 72945bb62a2ad4cd51018b702d1b97c6455822b39b29f6d3e23ffe181ea4dd60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for atmos_validation-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3f94d70757c02a581497e124dde1bedfd540ed67685d2ec198d9a674a4e4226f
MD5 645368a714e7a6e93aea06854a000e2a
BLAKE2b-256 fff12a3a6395eba007e2e6ccf1996829e68fc06d0347f1cde523512be7e541be

See more details on using hashes here.

Provenance

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