Skip to main content

WCRP Compliance Checker Plugins

This IOOS/compliance-checker plugins checks compliance with WCRP Projects specifications:

Installation

Pip

To install IOOS compliance-checker and the wcrp plugins :

pip install cc-plugin-wcrp

See the IOOS/compliance-checker for additional Installation notes.

If you have an old version of esgvoc, you should upgrade it:

pip install esgvoc --upgrade

[!CAUTION]

The CMIP7 and CORDEX-CMIP6 coordinate checks require esgvoc>=7.1.0, including the coordinate descriptor models and compatible configured project/universe databases. If the installed version is too old or the required records cannot be read, the plugin emits one high-severity COORD000 result with the technical reason and skips the dependent coordinate checks. Horizontal topology is configured project-wide in each project configuration under config/wcrp/mappings/grid_topology.toml.

Then, use the commands below to activate the project you want:

esgvoc use project@latest universe@latest

for example for CMIP6 :

esgvoc use cmip6@latest universe@latest

The projects currently available in both 'cc_plugin_wcrp' and 'esgvoc' are:

cmip6, cmip6plus, cmip7, and cordex-cmip6.

Usage

compliance-checker -l

This command displays the checkers already present on the iOS compliance checker in addition to the recently installed WCRP plugins :

 - wcrp_cmip6 (x.x.x)
 - wcrp_cordex_cmip6 (x.x.x)

To run the plugins on IOOS CC, use the following command:

compliance-checker -t ''plugin'' path/to/data/file.nc

Example for WCRP CMIP6 plugin :

compliance-checker -t wcrp_cmip6:1.0  path/to/data/CMIP6/CMIP/IPSL/IPSL-CM5A2-INCA/historical/r1i1p1f1/Amon/pr/gr/v20240619/pr_Amon_IPSL-CM5A2-INCA_historical_r1i1p1f1_gr_185001-201412.nc

CORDEX-CMIP6 also relies on verification via ESGVoc by default. To run its variable and coordinate metadata checks against legacy CMOR tables instead, select the optional path:

compliance-checker -t wcrp_cordex_cmip6 \
  -O wcrp_cordex_cmip6:verification_against_tables \
  -O wcrp_cordex_cmip6:tables_dir=path/to/cordex-cmip6-cmor-tables \
  path/to/data/file.nc

The CMOR-table base URL is configurable under [cmor_tables] in plugins/cordex_cmip6/config/wcrp/cordex.toml. If no custom table path is provided, the tables will be automatically downloaded and cached. A re-download of the cached tables can be triggered with -O wcrp_cordex_cmip6:force_table_download.

By default, the output is in plain text, but you can specify other formats with the -f option :

compliance-checker -t ''plugin'' path/to/data/file.nc -f json
compliance-checker -t ''plugin'' path/to/data/file.nc -f html

License

cc-plugin-wcrp is distributed under the CeCILL-C Free Software License Agreement (CECILL-C). The complete license text is provided in the LICENSE file.

Metadata

Release files for cc-plugin-wcrp 2.4.0

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

Source distribution (sdist)

Source distribution for cc-plugin-wcrp 2.4.0
File Size Uploaded Provenance Actions
cc_plugin_wcrp-2.4.0.tar.gz 1.1 MB Without provenance Details for cc_plugin_wcrp-2.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cc-plugin-wcrp 2.4.0
File Interpreter ABI Platform Actions
cc_plugin_wcrp-2.4.0-py3-none-any.whl Python 3 none any Details for cc_plugin_wcrp-2.4.0-py3-none-any.whl

Total release size: 1.5 MB

Release files / cc_plugin_wcrp-2.4.0.tar.gz

Download URL cc_plugin_wcrp-2.4.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b4d74711db1ebdd2930709cc1519550c492c9e1e074bc000a7fd0b3fc0657b3f
BLAKE2b-256 checksum
How to use checksums
76dd0a95c904f1595efe91f7ee699629115c141c98b05ac8d309a0b178557aca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / cc_plugin_wcrp-2.4.0-py3-none-any.whl

Download URL cc_plugin_wcrp-2.4.0-py3-none-any.whl
Size 342.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d46270a28c1d8ac64fe3d690e6282b99946a06779e9dc484f523d92b1b56bd31
BLAKE2b-256 checksum
How to use checksums
7c11689a8bf73a8f5d40960132ec97f70ed453f4dab55f1a416a4ac4c880909c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for cc-plugin-wcrp 2.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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