Citing API¶
Helper tools for citing Coupled Model Intercomparison Project data
-
netcdf_scm.citing.
check_licenses
(scmruns)[source]¶ Check datasets for non-standard licenses
Non-standard licenses result in a warning
- Parameters
scmruns (list of
scmdata.ScmRun
) – Datasets to check the licenses of- Returns
Datasets with non-standard licenses
- Return type
list of
scmdata.ScmRun
-
netcdf_scm.citing.
get_citation_tables
(database)[source]¶ Get citation tables for a given set of CMIP data
- Parameters
database (list of
ScmRun
) – Set of CMIP data for which we want to create citation tables- Returns
dict of str – Dictionary containing the citation table and bibtex references for each MIP era used in
database
- Return type
Union[List, pd.DataFrame]
- Raises
ValueError – Any
ScmRun
indatabase
has amip_era
other than “CMIP5” or “CMIP6”