Processes

Compliance Checker

class hummingbird.processes.wps_compliance_checker.CChecker[source]

cchecker IOOS Compliance Checker (v4.2.2)

Runs the IOOS Compliance Checker tool to check datasets against compliance standards. Each compliance standard is executed by a Check Suite, which functions similar to a Python standard Unit Test. A Check Suite runs one or more checks against a dataset, returning a list of Results which are then aggregated into a summary. Development and maintenance for the compliance checker is done by the Integrated Ocean Observing System (IOOS).

Parameters
  • test ({'cf', 'ioos'}) – Select the test you want to run. Default: cf (climate forecast conventions)

  • criteria ({'strict', 'normal', 'lenient'}) – Define the criteria for the checks. Either Strict, Normal or Lenient. Defaults to Normal.

  • dataset (application/x-netcdf, optional) – You may provide a URL or upload a NetCDF file.

  • dataset_opendap (application/x-ogc-dods, optional) – Or provide a remote OpenDAP data URL, for example: http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanalysis2.dailyavgs/surface/mslp.2016.nc

  • format ({'text', 'json', 'html'}) – The format of the check reporst. Either text, json or html. Defaults to html.

Returns

output – Report of check result.

Return type

text/html

References

NC Dump

class hummingbird.processes.wps_ncdump.NCDump[source]

ncdump NCDump (v4.6.2)

Run ncdump to retrieve NetCDF header metadata.

Parameters
Returns

output – NetCDF Metadata

Return type

text/plain

References

Spotchecker

class hummingbird.processes.wps_spotchecker.SpotChecker[source]

spotchecker Spot Checker (v0.3.1)

Checks a single uploaded or remote dataset against a variety of compliance standards. The dataset is either in the NetCDF format or a remote OpenDAP resource. Available compliance standards are the Climate and Forecast conventions (CF) and project specific rules for CMIP6 and CORDEX.

Parameters
Returns

  • output (text/html, text/plain) – Compliance checker test report.

  • ncdump (text/plain) – ncdump of header of checked dataset.

References