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
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esmcol-validator-2020.1.29.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esmcol_validator-2020.1.29-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file esmcol-validator-2020.1.29.tar.gz.

File metadata

  • Download URL: esmcol-validator-2020.1.29.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for esmcol-validator-2020.1.29.tar.gz
Algorithm Hash digest
SHA256 36b0fa8a60d12e0952b34b208cf728541779343bfc92dbfe43d6309eec1e3f3c
MD5 0afd20655028d65a8bec9526cc33ef43
BLAKE2b-256 e35022d6c04f11a97115c42b0e615e68e24227c830d4d04d19d38546ab7ee92e

See more details on using hashes here.

File details

Details for the file esmcol_validator-2020.1.29-py3-none-any.whl.

File metadata

  • Download URL: esmcol_validator-2020.1.29-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for esmcol_validator-2020.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 ee92f25e57e4e0da89f6b66d17af0e6fe51bba71065f10b317a25d339c007985
MD5 d67321bbc0c82b924403a9cdbc24229e
BLAKE2b-256 5339089ccfd509010d39a5082075ef1a58c6fea4f2f66380931e6cefd735ddf5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2020.1.29 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page