Skip to content

ESGF/cc-plugin-wcrp

Repository files navigation

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.

And then install Esgvoc and universe to get the Controlled Vocabulary :

$ esgvoc config set universe:branch=esgvoc_dev
$ esgvoc config add cordex-cmip6
$ esgvoc install

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

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

About

IOOS Complicance Checker plugins for WCRP projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published