Skip to main content

GitHub Workflow Status GitHub Workflow Status PyPI

Earth System Model (ESM)Collection specification Validator

This utility allows users to validate esm-collection json files against the esm-collection-spec.

Installation

The validator can be installed in any of the following ways:

Using Pip via PyPI:

python -m pip install esmcol-validator

Using Conda:

conda install -c conda-forge esmcol-validator

Or from the source repository:

python -m pip install git+https://github.com/NCAR/esmcol-validator.git

Usage

$ esmcol-validator --help
Usage: esmcol-validator [OPTIONS] ESMCOL_FILE

  A utility that allows users to validate esm-collection json files against
  the esm-collection-spec.

Options:
  --esmcol-spec-dirs TEXT
  --version TEXT           [default: master]
  --verbose                [default: False]
  --timer                  [default: False]
  --log-level TEXT         [default: CRITICAL]
  --help                   Show this message and exit.

Example:

$ esmcol-validator sample-pangeo-cmip6-collection.json
{'collections': {'valid': 1, 'invalid': 0}, 'catalogs': {'valid': 1, 'invalid': 0}, 'unknown': 0}
{
    "collections": {
        "valid": 1,
        "invalid": 0
    },
    "catalogs": {
        "valid": 1,
        "invalid": 0
    },
    "unknown": 0
}

Release files for esmcol-validator 2020.1.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esmcol-validator 2020.1.29
File Size Uploaded
esmcol-validator-2020.1.29.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esmcol-validator 2020.1.29
File Interpreter ABI Platform
esmcol_validator-2020.1.29-py3-none-any.whl Python 3 none any Details

Total release size: 28.7 kB

Release files / esmcol-validator-2020.1.29.tar.gz

Download URL esmcol-validator-2020.1.29.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
36b0fa8a60d12e0952b34b208cf728541779343bfc92dbfe43d6309eec1e3f3c
BLAKE2b-256 checksum
How to use checksums
e35022d6c04f11a97115c42b0e615e68e24227c830d4d04d19d38546ab7ee92e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / esmcol_validator-2020.1.29-py3-none-any.whl

Download URL esmcol_validator-2020.1.29-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee92f25e57e4e0da89f6b66d17af0e6fe51bba71065f10b317a25d339c007985
BLAKE2b-256 checksum
How to use checksums
5339089ccfd509010d39a5082075ef1a58c6fea4f2f66380931e6cefd735ddf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

2020.1.29 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page