A python library containing automated data validation tools for the Atmos Data Service
Project description
atmos-validation
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fe1ffbb405e159019500476d1474dfcfe4ac27f846709b3fb3aef696765a84a
|
|
| MD5 |
ecd0d9e6c0b1e8dfa8207cf7f1e905dd
|
|
| BLAKE2b-256 |
7a1400454fb6754183466afcc600c6e91bfc97c4733558d6055f1ee5968f5350
|
Provenance
The following attestation bundles were made for atmos_validation-2.0.4.tar.gz:
Publisher:
pypi-publisher.yml on equinor/atmos-validation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atmos_validation-2.0.4.tar.gz -
Subject digest:
3fe1ffbb405e159019500476d1474dfcfe4ac27f846709b3fb3aef696765a84a - Sigstore transparency entry: 549991570
- Sigstore integration time:
-
Permalink:
equinor/atmos-validation@7ecdc69bcff6561681201c804540a07717b60557 -
Branch / Tag:
refs/tags/v2.0.4 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publisher.yml@7ecdc69bcff6561681201c804540a07717b60557 -
Trigger Event:
release
-
Statement type:
File details
Details for the file atmos_validation-2.0.4-py3-none-any.whl.
File metadata
- Download URL: atmos_validation-2.0.4-py3-none-any.whl
- Upload date:
- Size: 68.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb04cc295607fc3a5aa4aff88d7422c00d504e101aff0ae6b184cad1f17b6e0a
|
|
| MD5 |
f6f77bb16d6e804f5606d4d52697899c
|
|
| BLAKE2b-256 |
d7f5104f5fa3a0c694b24808e8f79f936cee81136d9d9e272a7f88ff7fe6e97e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atmos_validation-2.0.4-py3-none-any.whl -
Subject digest:
cb04cc295607fc3a5aa4aff88d7422c00d504e101aff0ae6b184cad1f17b6e0a - Sigstore transparency entry: 549991592
- Sigstore integration time:
-
Permalink:
equinor/atmos-validation@7ecdc69bcff6561681201c804540a07717b60557 -
Branch / Tag:
refs/tags/v2.0.4 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publisher.yml@7ecdc69bcff6561681201c804540a07717b60557 -
Trigger Event:
release
-
Statement type: