Using CMIP data

In this notebook we discuss netCDF-SCM’s tools for using CMIP data. CMIP has a number of strict citation requirements, we attempt to make adhering to these as simple as possible with these tools. For futher discussion, please see the disclaimer in our docs.

[1]:
# NBVAL_IGNORE_OUTPUT
import glob
import os.path

import tqdm.autonotebook as tqdman

from netcdf_scm.citing import check_licenses, get_citation_tables
from netcdf_scm.io import load_mag_file
from netcdf_scm.retractions import check_depends_on_retracted
<ipython-input-1-60a5925146ff>:5: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)
  import tqdm.autonotebook as tqdman
[2]:
import logging

root_logger = logging.getLogger()
root_logger.setLevel(logging.WARNING)
fmt = logging.Formatter("{levelname}:{name}:{message}", style="{")
stream_handler = logging.StreamHandler()
stream_handler.setFormatter(fmt)
root_logger.addHandler(stream_handler)

Test data

For this example, let’s use our test data.

[3]:
DATA_PATH_TEST = os.path.join("..", "..", "..", "tests", "test-data")
[4]:
# NBVAL_IGNORE_OUTPUT
mag_files = glob.glob(
    os.path.join(DATA_PATH_TEST, "expected-stitch-output", "**", "*.MAG"),
    recursive=True,
)
print("Found {} files".format(len(mag_files)))
mag_files[:4]
Found 39 files
[4]:
['../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/31-yr-mean-after-branch-time/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG',
 '../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/21-yr-running-mean/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG',
 '../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/21-yr-running-mean-dedrift/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG',
 '../../../tests/test-data/expected-stitch-output/cmip6output/normalised/31-yr-mean-after-branch-time/mag-files/CMIP6/C4MIP/BCC/BCC-CSM2-MR/1pctCO2-bgc/r1i1p1f1/Amon/tas/gn/v20190321/netcdf-scm_tas_Amon_BCC-CSM2-MR_1pctCO2-bgc_r1i1p1f1_gn_185001-200012.MAG']
[5]:
# NBVAL_IGNORE_OUTPUT
db = [
    load_mag_file(f, "CMIP6Output" if "cmip6" in f else "MarbleCMIP5")
    for f in tqdman.tqdm(mag_files)
]
db[0].head()

[5]:
time 1850-01-15 12:00:00 1850-02-14 00:00:00 1850-03-15 12:00:00 1850-04-15 00:00:00 1850-05-15 12:00:00 1850-06-15 00:00:00 1850-07-15 12:00:00 1850-08-15 12:00:00 1850-09-15 00:00:00 1850-10-15 12:00:00 ... 2300-03-15 12:00:00 2300-04-15 00:00:00 2300-05-15 12:00:00 2300-06-15 00:00:00 2300-07-15 12:00:00 2300-08-15 12:00:00 2300-09-15 00:00:00 2300-10-15 12:00:00 2300-11-15 00:00:00 2300-12-15 12:00:00
activity_id climate_model member_id mip_era model region scenario unit variable
cmip5 NorESM1-M r1i1p1 CMIP5 unspecified World rcp45 K tas -2.062360 -1.695470 -0.978669 -0.008818 0.897924 1.439600 1.790620 1.69442 1.167280 -0.055348 ... 1.685270 2.56390 3.28813 3.93398 4.28833 4.35942 3.73151 2.72484 1.695470 0.963889
World|El Nino N3.4 rcp45 K tas -0.318386 0.159077 0.342337 0.627578 0.579712 0.752038 0.357578 0.18459 0.001576 -0.059699 ... 2.039260 2.03610 2.41717 2.33817 2.02651 1.85694 1.66247 1.49768 1.594550 1.697900
World|Land rcp45 K tas -6.029940 -5.108860 -3.036910 -0.156864 2.715940 4.460910 5.842120 5.73890 3.796100 0.195049 ... 0.171098 3.09954 5.48405 7.53832 8.98543 9.14097 6.93318 3.69029 0.570492 -1.781070
World|North Atlantic Ocean rcp45 K tas -2.214140 -2.328330 -1.923620 -1.064490 -0.222693 0.938037 1.916490 2.49772 2.114200 1.212890 ... 0.478465 1.21837 2.08397 3.33599 4.36027 4.84155 4.52193 3.58720 2.283270 1.016070
World|Northern Hemisphere rcp45 K tas -6.668830 -5.648410 -3.318310 -0.332735 2.631710 4.956190 6.315250 6.04261 4.121100 0.767058 ... -0.325949 2.37494 5.14928 7.56705 8.98235 8.92650 7.22476 3.97971 0.752720 -1.960780

5 rows × 5412 columns

[6]:
# NBVAL_IGNORE_OUTPUT
db[2].head()
[6]:
time 1850-01-15 12:00:00 1850-02-14 00:00:00 1850-03-15 12:00:00 1850-04-15 00:00:00 1850-05-15 12:00:00 1850-06-15 00:00:00 1850-07-15 12:00:00 1850-08-15 12:00:00 1850-09-15 00:00:00 1850-10-15 12:00:00 ... 2300-03-15 12:00:00 2300-04-15 00:00:00 2300-05-15 12:00:00 2300-06-15 00:00:00 2300-07-15 12:00:00 2300-08-15 12:00:00 2300-09-15 00:00:00 2300-10-15 12:00:00 2300-11-15 00:00:00 2300-12-15 12:00:00
activity_id climate_model member_id mip_era model region scenario unit variable
cmip5 NorESM1-M r1i1p1 CMIP5 unspecified World rcp45 K tas 284.270 284.636 285.352 286.320 287.226 287.766 288.116 288.019 287.491 286.267 ... 287.908 288.786 289.509 290.155 290.508 290.578 289.950 288.942 287.912 287.180
World|El Nino N3.4 rcp45 K tas 298.401 298.874 299.053 299.334 299.282 299.450 299.051 298.873 298.686 298.621 ... 300.271 300.266 300.645 300.564 300.250 300.079 299.883 299.717 299.814 299.919
World|Land rcp45 K tas 274.357 275.277 277.348 280.228 283.100 284.844 286.224 286.120 284.176 280.574 ... 280.534 283.460 285.844 287.900 289.344 289.499 287.290 284.045 280.922 278.571
World|North Atlantic Ocean rcp45 K tas 289.390 289.275 289.678 290.537 291.377 292.537 293.514 294.095 293.710 292.808 ... 292.052 292.792 293.657 294.907 295.930 296.409 296.089 295.154 293.851 292.585
World|Northern Hemisphere rcp45 K tas 280.140 281.159 283.488 286.473 289.436 291.759 293.117 292.843 290.920 287.565 ... 286.464 289.164 291.937 294.356 295.768 295.712 294.009 290.763 287.534 284.820

5 rows × 5412 columns

Check licenses

The first thing we can do is check the license information of our files. This check is very basic, but will quickly highlight anything which is not obviously licensed in an open way.

[7]:
# NBVAL_SKIP
non_standard = check_licenses(db)
non_standard[0].metadata["license"]

/Users/znicholls/Documents/AGCEC/netCDF-SCM/netcdf-scm/src/netcdf_scm/citing/__init__.py:56: UserWarning: Non-standard license for CNRM-CM6-1
License terms:
        Non-standard licenses: {'CMIP6 model data produced by CNRM-CERFACS is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (https://creativecommons.org/licenses). Consult https://pcmdi.llnl.gov/CMIP6/TermsOfUse for terms of use governing CMIP6 output, including citation requirements and proper acknowledgment. Further information about this data, including some limitations, can be found via the further_info_url (recorded as a global attribute in this file) and at http://www.umr-cnrm.fr/cmip6/. The data producers and data providers make no warranty, either express or implied, including, but not limited to, warranties of merchantability and fitness for a particular purpose. All liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law.'}
  warnings.warn(
[7]:
'CMIP6 model data produced by CNRM-CERFACS is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (https://creativecommons.org/licenses). Consult https://pcmdi.llnl.gov/CMIP6/TermsOfUse for terms of use governing CMIP6 output, including citation requirements and proper acknowledgment. Further information about this data, including some limitations, can be found via the further_info_url (recorded as a global attribute in this file) and at http://www.umr-cnrm.fr/cmip6/. The data producers and data providers make no warranty, either express or implied, including, but not limited to, warranties of merchantability and fitness for a particular purpose. All liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law.'

We can see that data produced by CNRM-CERFACS is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, rather than the more standard Creative Commons Attribution ShareAlike 4.0 International License.

Checking retractions

The second thing to do is check retractions. This ensures that none of the data we are using has in fact been found to be erroneous.

Checking retractions provides with a table of retractions plus warnings about files which couldn’t be checked (in this example it is our CMIP5 data as this cannot be checked automatically).

[8]:
# NBVAL_SKIP
retracted_table = check_depends_on_retracted(
    mag_files, raise_on_mismatch=False
)
retracted_table
ERROR:netcdf_scm.retractions:Source data is not CMIP6 for: {'../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/21-yr-running-mean/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG', '../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/31-yr-mean-after-branch-time/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG', '../../../tests/test-data/expected-stitch-output/marble-cmip5output/normalised/21-yr-running-mean-dedrift/mag-files/cmip5/rcp45/Amon/tas/NorESM1-M/r1i1p1/netcdf-scm_tas_Amon_NorESM1-M_rcp45_r1i1p1_185001-230012.MAG'}



[8]:
mag_file dependency_file dependency_instance_id dependency_retracted
0 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/C4MIP/BCC/BCC-CSM2-MR/1pctCO2-bgc/r1i1p... CMIP6.C4MIP.BCC.BCC-CSM2-MR.1pctCO2-bgc.r1i1p1... False
1 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/CMIP/BCC/BCC-CSM2-MR/piControl/r1i1p1f1... CMIP6.CMIP.BCC.BCC-CSM2-MR.piControl.r1i1p1f1.... False
2 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/CMIP/BCC/BCC-CSM2-MR/historical/r1i1p1f... CMIP6.CMIP.BCC.BCC-CSM2-MR.historical.r1i1p1f1... False
3 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/CMIP/BCC/BCC-CSM2-MR/piControl/r1i1p1f1... CMIP6.CMIP.BCC.BCC-CSM2-MR.piControl.r1i1p1f1.... False
4 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/ScenarioMIP/NCAR/CESM2/ssp370/r1i1p1f1/... CMIP6.ScenarioMIP.NCAR.CESM2.ssp370.r1i1p1f1.A... True
... ... ... ... ...
57 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/ScenarioMIP/BCC/BCC-CSM2-MR/ssp126/r1i1... CMIP6.ScenarioMIP.BCC.BCC-CSM2-MR.ssp126.r1i1p... False
58 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/CMIP/BCC/BCC-CSM2-MR/historical/r1i1p1f... CMIP6.CMIP.BCC.BCC-CSM2-MR.historical.r1i1p1f1... False
59 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/ScenarioMIP/MOHC/UKESM1-0-LL/ssp585/r1i... CMIP6.ScenarioMIP.MOHC.UKESM1-0-LL.ssp585.r1i1... False
60 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/CMIP/MOHC/UKESM1-0-LL/historical/r1i1p1... CMIP6.CMIP.MOHC.UKESM1-0-LL.historical.r1i1p1f... False
61 ../../../tests/test-data/expected-stitch-outpu... /CMIP6/DAMIP/CNRM-CERFACS/CNRM-CM6-1/hist-aer/... CMIP6.DAMIP.CNRM-CERFACS.CNRM-CM6-1.hist-aer.r... False

62 rows × 4 columns

We can get a list of the retracted files as shown below.

[9]:
# NBVAL_SKIP
retracted_table.loc[
    retracted_table["dependency_retracted"], "mag_file"
].unique().tolist()
[9]:
['../../../tests/test-data/expected-stitch-output/cmip6output/normalised/31-yr-mean-after-branch-time/mag-files/CMIP6/ScenarioMIP/NCAR/CESM2/ssp370/r1i1p1f1/Amon/tas/gn/v20190730/netcdf-scm_tas_Amon_CESM2_ssp370_r1i1p1f1_gn_185001-210012.MAG',
 '../../../tests/test-data/expected-stitch-output/cmip6output/mag-files-average-year-mid-year/CMIP6/CMIP/EC-Earth-Consortium/EC-Earth3-Veg/historical/r1i1p1f1/Omon/hfds/gn/v20190605/netcdf-scm_hfds_Omon_EC-Earth3-Veg_historical_r1i1p1f1_gn_2012-2014.MAG',
 '../../../tests/test-data/expected-stitch-output/cmip6output/mag-files-average-year-mid-year/CMIP6/ScenarioMIP/EC-Earth-Consortium/EC-Earth3-Veg/ssp585/r1i1p1f1/Omon/hfds/gn/v20190629/netcdf-scm_hfds_Omon_EC-Earth3-Veg_ssp585_r1i1p1f1_gn_2012-2017.MAG',
 '../../../tests/test-data/expected-stitch-output/cmip6output/mag-files/CMIP6/CMIP/EC-Earth-Consortium/EC-Earth3-Veg/historical/r1i1p1f1/Omon/hfds/gn/v20190605/netcdf-scm_hfds_Omon_EC-Earth3-Veg_historical_r1i1p1f1_gn_201201-201412.MAG',
 '../../../tests/test-data/expected-stitch-output/cmip6output/mag-files/CMIP6/ScenarioMIP/EC-Earth-Consortium/EC-Earth3-Veg/ssp585/r1i1p1f1/Omon/hfds/gn/v20190629/netcdf-scm_hfds_Omon_EC-Earth3-Veg_ssp585_r1i1p1f1_gn_201201-201712.MAG']

Create citation tables

The final thing to do is to create tables which contain the citations required for the data which has been used. netCDF-SCM includes automated functionality to just this, based on the CMIP infrastructure.

From the outputs of get_citation_tables, you can write latex tables, reformat to something else, whatever.

[10]:
# NBVAL_SKIP
res = get_citation_tables(db)
/Users/znicholls/miniconda3/envs/netcdf-scm/lib/python3.8/site-packages/pandas/core/indexing.py:873: PerformanceWarning: indexing past lexsort depth may impact performance.
  return self._getitem_tuple(key)

[11]:
# NBVAL_SKIP
res["cmip6_references"]
[11]:
Reference
Modelling Group Climate Model Scenario
BCC BCC-CSM2-MR 1pctCO2 \citet{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_1p...
1pctCO2-bgc \citet{cmip6data_CMIP6_C4MIP_BCC_BCC-CSM2-MR_1...
historical \citet{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_hi...
piControl \citet{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_pi...
ssp126 \citet{cmip6data_CMIP6_ScenarioMIP_BCC_BCC-CSM...
CCCma CanESM5 esm-hist \citet{cmip6data_CMIP6_CMIP_CCCma_CanESM5_esm-...
CNRM-CERFACS CNRM-CM6-1 hist-aer \citet{cmip6data_CMIP6_DAMIP_CNRM-CERFACS_CNRM...
historical \citet{cmip6data_CMIP6_CMIP_CNRM-CERFACS_CNRM-...
EC-Earth-Consortium EC-Earth3-Veg historical \citet{cmip6data_CMIP6_CMIP_EC-Earth-Consortiu...
ssp585 \citet{cmip6data_CMIP6_ScenarioMIP_EC-Earth-Co...
MIROC MIROC6 abrupt-4xCO2 \citet{cmip6data_CMIP6_CMIP_MIROC_MIROC6_abrup...
MOHC UKESM1-0-LL G6solar \citet{cmip6data_CMIP6_GeoMIP_MOHC_UKESM1-0-LL...
historical \citet{cmip6data_CMIP6_CMIP_MOHC_UKESM1-0-LL_h...
ssp585 \citet{cmip6data_CMIP6_ScenarioMIP_MOHC_UKESM1...
NASA-GISS GISS-E2-1-G abrupt-4xCO2 \citet{cmip6data_CMIP6_CMIP_NASA-GISS_GISS-E2-...
NCAR CESM2 historical \citet{cmip6data_CMIP6_CMIP_NCAR_CESM2_histori...
piControl \citet{cmip6data_CMIP6_CMIP_NCAR_CESM2_piControl}
ssp370 \citet{cmip6data_CMIP6_ScenarioMIP_NCAR_CESM2_...
NOAA-GFDL GFDL-CM4 1pctCO2 \citet{cmip6data_CMIP6_CMIP_NOAA-GFDL_GFDL-CM4...
abrupt-4xCO2 \citet{cmip6data_CMIP6_CMIP_NOAA-GFDL_GFDL-CM4...
[12]:
# NBVAL_SKIP
print("\n\n".join(res["cmip6_bibtex"]))
@misc{cmip6data_CMIP6_ScenarioMIP_BCC_BCC-CSM2-MR_ssp126,
  doi = {10.22033/ESGF/CMIP6.3028},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.ScenarioMIP.BCC.BCC-CSM2-MR.ssp126},
  author = {Xin, Xiaoge and Wu, Tongwen and Shi, Xueli and Zhang, Fang and Li, Jianglong and Chu, Min and Liu, Qianxia and Yan, Jinghui and Ma, Qiang and Wei, Min},
  keywords = {CMIP6, climate, CMIP6.ScenarioMIP.BCC.BCC-CSM2-MR.ssp126},
  language = {en},
  title = {BCC BCC-CSM2MR model output prepared for CMIP6 ScenarioMIP ssp126. Version v20190314},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_CNRM-CERFACS_CNRM-CM6-1_historical,
  doi = {10.22033/ESGF/CMIP6.4066},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.CNRM-CERFACS.CNRM-CM6-1.historical},
  author = {Voldoire, Aurore},
  keywords = {CMIP6, climate, CMIP6.CMIP.CNRM-CERFACS.CNRM-CM6-1.historical},
  language = {en},
  title = {CMIP6 simulations of the CNRM-CERFACS based on CNRM-CM6-1 model for CMIP experiment historical. Version v20180917},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_NCAR_CESM2_piControl,
  doi = {10.22033/ESGF/CMIP6.7733},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.NCAR.CESM2.piControl},
  author = {Danabasoglu, Gokhan and Lawrence, David and Lindsay, Keith and Lipscomb, William and Strand, Gary},
  keywords = {CMIP6, climate, CMIP6.CMIP.NCAR.CESM2.piControl},
  language = {en},
  title = {NCAR CESM2 model output prepared for CMIP6 CMIP piControl. Version v20190320},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_NOAA-GFDL_GFDL-CM4_abrupt-4xCO2,
  doi = {10.22033/ESGF/CMIP6.8486},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.NOAA-GFDL.GFDL-CM4.abrupt-4xCO2},
  author = {Guo, Huan and John, Jasmin G and Blanton, Chris and McHugh, Colleen and Nikonov, Serguei and Radhakrishnan, Aparna and Rand, Kristopher and Zadeh, Niki T. and Balaji, V and Durachta, Jeff and Dupuis, Christopher and Menzel, Raymond and Robinson, Thomas and Underwood, Seth and Vahlenkamp, Hans and Bushuk, Mitchell and Dunne, Krista A. and Dussin, Raphael and Gauthier, Paul PG and Ginoux, Paul and Griffies, Stephen M. and Hallberg, Robert and Harrison, Matthew and Hurlin, William and Malyshev, Sergey and Naik, Vaishali and Paulot, Fabien and Paynter, David J and Ploshay, Jeffrey and Reichl, Brandon G and Schwarzkopf, Daniel M and Seman, Charles J and Shao, Andrew and Silvers, Levi and Wyman, Bruce and Yan, Xiaoqin and Zeng, Yujin and Adcroft, Alistair and Dunne, John P. and Held, Isaac M and Krasting, John P. and Horowitz, Larry W. and Milly, P.C.D and Shevliakova, Elena and Winton, Michael and Zhao, Ming and Zhang, Rong},
  keywords = {CMIP6, climate, CMIP6.CMIP.NOAA-GFDL.GFDL-CM4.abrupt-4xCO2},
  language = {en},
  title = {NOAA-GFDL GFDL-CM4 model output abrupt-4xCO2. Version v20180701},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution Share Alike 4.0 International}
}


@misc{cmip6data_CMIP6_CMIP_CCCma_CanESM5_esm-hist,
  doi = {10.22033/ESGF/CMIP6.3583},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.CCCma.CanESM5.esm-hist},
  author = {Swart, Neil Cameron and Cole, Jason N.S. and Kharin, Viatcheslav V. and Lazare, Mike and Scinocca, John F. and Gillett, Nathan P. and Anstey, James and Arora, Vivek and Christian, James R. and Jiao, Yanjun and Lee, Warren G. and Majaess, Fouad and Saenko, Oleg A. and Seiler, Christian and Seinen, Clint and Shao, Andrew and Solheim, Larry and von Salzen, Knut and Yang, Duo and Winter, Barbara and Sigmond, Michael},
  keywords = {CMIP6, climate, CMIP6.CMIP.CCCma.CanESM5.esm-hist},
  language = {en},
  title = {CCCma CanESM5 model output prepared for CMIP6 CMIP esm-hist. Version v20190429},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_ScenarioMIP_EC-Earth-Consortium_EC-Earth3-Veg_ssp585,
  doi = {10.22033/ESGF/CMIP6.4914},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.ScenarioMIP.EC-Earth-Consortium.EC-Earth3-Veg.ssp585},
  author = {{EC-Earth Consortium (EC-Earth)}},
  keywords = {CMIP6, climate, CMIP6.ScenarioMIP.EC-Earth-Consortium.EC-Earth3-Veg.ssp585},
  language = {en},
  title = {EC-Earth-Consortium EC-Earth3-Veg model output prepared for CMIP6 ScenarioMIP ssp585. Version v20190629},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_C4MIP_BCC_BCC-CSM2-MR_1pctCO2-bgc,
  doi = {10.22033/ESGF/CMIP6.2835},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.C4MIP.BCC.BCC-CSM2-MR.1pctCO2-bgc},
  author = {Wu, Tongwen and Chu, Min and Dong, Min and Fang, Yongjie and Jie, Weihua and Li, Jianglong and Li, Weiping and Liu, Qianxia and Shi, Xueli and Xin, Xiaoge and Yan, Jinghui and Zhang, Fang and Zhang, Jie and Zhang, Li and Zhang, Yanwu},
  keywords = {CMIP6, climate, CMIP6.C4MIP.BCC.BCC-CSM2-MR.1pctCO2-bgc},
  language = {en},
  title = {BCC BCC-CSM2MR model output prepared for CMIP6 C4MIP 1pctCO2-bgc. Version v20190321},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_piControl,
  doi = {10.22033/ESGF/CMIP6.3016},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.BCC.BCC-CSM2-MR.piControl},
  author = {Wu, Tongwen and Chu, Min and Dong, Min and Fang, Yongjie and Jie, Weihua and Li, Jianglong and Li, Weiping and Liu, Qianxia and Shi, Xueli and Xin, Xiaoge and Yan, Jinghui and Zhang, Fang and Zhang, Jie and Zhang, Li and Zhang, Yanwu},
  keywords = {CMIP6, climate, CMIP6.CMIP.BCC.BCC-CSM2-MR.piControl},
  language = {en},
  title = {BCC BCC-CSM2MR model output prepared for CMIP6 CMIP piControl. Version v20181016},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_DAMIP_CNRM-CERFACS_CNRM-CM6-1_hist-aer,
  doi = {10.22033/ESGF/CMIP6.4044},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.DAMIP.CNRM-CERFACS.CNRM-CM6-1.hist-aer},
  author = {Voldoire, Aurore},
  keywords = {CMIP6, climate, CMIP6.DAMIP.CNRM-CERFACS.CNRM-CM6-1.hist-aer},
  language = {en},
  title = {CNRM-CERFACS CNRM-CM6-1 model output prepared for CMIP6 DAMIP hist-aer. Version v20190308},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_NCAR_CESM2_historical,
  doi = {10.22033/ESGF/CMIP6.7627},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.NCAR.CESM2.historical},
  author = {Danabasoglu, Gokhan},
  keywords = {CMIP6, climate, CMIP6.CMIP.NCAR.CESM2.historical},
  language = {en},
  title = {NCAR CESM2 model output prepared for CMIP6 CMIP historical. Version v20190313},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_MOHC_UKESM1-0-LL_historical,
  doi = {10.22033/ESGF/CMIP6.6113},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.MOHC.UKESM1-0-LL.historical},
  author = {Tang, Yongming and Rumbold, Steve and Ellis, Rich and Kelley, Douglas and Mulcahy, Jane and Sellar, Alistair and Walton, Jeremy and Jones, Colin},
  keywords = {CMIP6, climate, CMIP6.CMIP.MOHC.UKESM1-0-LL.historical},
  language = {en},
  title = {MOHC UKESM1.0-LL model output prepared for CMIP6 CMIP historical. Version v20190627},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_historical,
  doi = {10.22033/ESGF/CMIP6.2948},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.BCC.BCC-CSM2-MR.historical},
  author = {Wu, Tongwen and Chu, Min and Dong, Min and Fang, Yongjie and Jie, Weihua and Li, Jianglong and Li, Weiping and Liu, Qianxia and Shi, Xueli and Xin, Xiaoge and Yan, Jinghui and Zhang, Fang and Zhang, Jie and Zhang, Li and Zhang, Yanwu},
  keywords = {CMIP6, climate, CMIP6.CMIP.BCC.BCC-CSM2-MR.historical},
  language = {en},
  title = {BCC BCC-CSM2MR model output prepared for CMIP6 CMIP historical. Version v20181126},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_NASA-GISS_GISS-E2-1-G_abrupt-4xCO2,
  doi = {10.22033/ESGF/CMIP6.6976},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.NASA-GISS.GISS-E2-1-G.abrupt-4xCO2},
  author = {{NASA Goddard Institute For Space Studies (NASA/GISS)}},
  keywords = {CMIP6, climate, CMIP6.CMIP.NASA-GISS.GISS-E2-1-G.abrupt-4xCO2},
  language = {en},
  title = {NASA-GISS GISS-E2.1G model output prepared for CMIP6 CMIP abrupt-4xCO2. Version v20181002},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_GeoMIP_MOHC_UKESM1-0-LL_G6solar,
  doi = {10.22033/ESGF/CMIP6.5820},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.GeoMIP.MOHC.UKESM1-0-LL.G6solar},
  author = {Jones, Andy},
  keywords = {CMIP6, climate, CMIP6.GeoMIP.MOHC.UKESM1-0-LL.G6solar},
  language = {en},
  title = {MOHC UKESM1.0-LL model output prepared for CMIP6 GeoMIP G6solar. Version v20191031},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_MIROC_MIROC6_abrupt-4xCO2,
  doi = {10.22033/ESGF/CMIP6.5411},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.MIROC.MIROC6.abrupt-4xCO2},
  author = {Tatebe, Hiroaki and Watanabe, Masahiro},
  keywords = {CMIP6, climate, CMIP6.CMIP.MIROC.MIROC6.abrupt-4xCO2},
  language = {en},
  title = {MIROC MIROC6 model output prepared for CMIP6 CMIP abrupt-4xCO2. Version v20181212},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_ScenarioMIP_MOHC_UKESM1-0-LL_ssp585,
  doi = {10.22033/ESGF/CMIP6.6405},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.ScenarioMIP.MOHC.UKESM1-0-LL.ssp585},
  author = {Good, Peter and Sellar, Alistair and Tang, Yongming and Rumbold, Steve and Ellis, Rich and Kelley, Douglas and Kuhlbrodt, Till},
  keywords = {CMIP6, climate, CMIP6.ScenarioMIP.MOHC.UKESM1-0-LL.ssp585},
  language = {en},
  title = {MOHC UKESM1.0-LL model output prepared for CMIP6 ScenarioMIP ssp585. Version v20190726},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_BCC_BCC-CSM2-MR_1pctCO2,
  doi = {10.22033/ESGF/CMIP6.2833},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.BCC.BCC-CSM2-MR.1pctCO2},
  author = {Wu, Tongwen and Chu, Min and Dong, Min and Fang, Yongjie and Jie, Weihua and Li, Jianglong and Li, Weiping and Liu, Qianxia and Shi, Xueli and Xin, Xiaoge and Yan, Jinghui and Zhang, Fang and Zhang, Jie and Zhang, Li and Zhang, Yanwu},
  keywords = {CMIP6, climate, CMIP6.CMIP.BCC.BCC-CSM2-MR.1pctCO2},
  language = {en},
  title = {BCC BCC-CSM2MR model output prepared for CMIP6 CMIP 1pctCO2. Version v20181015},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_EC-Earth-Consortium_EC-Earth3-Veg_historical,
  doi = {10.22033/ESGF/CMIP6.4706},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.EC-Earth-Consortium.EC-Earth3-Veg.historical},
  author = {{EC-Earth Consortium (EC-Earth)}},
  keywords = {CMIP6, climate, CMIP6.CMIP.EC-Earth-Consortium.EC-Earth3-Veg.historical},
  language = {en},
  title = {EC-Earth-Consortium EC-Earth3-Veg model output prepared for CMIP6 CMIP historical. Version v20190605},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_ScenarioMIP_NCAR_CESM2_ssp370,
  doi = {10.22033/ESGF/CMIP6.7753},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.ScenarioMIP.NCAR.CESM2.ssp370},
  author = {Danabasoglu, Gokhan},
  keywords = {CMIP6, climate, CMIP6.ScenarioMIP.NCAR.CESM2.ssp370},
  language = {en},
  title = {NCAR CESM2 model output prepared for CMIP6 ScenarioMIP ssp370. Version v20190730},
  publisher = {Earth System Grid Federation},
  year = {2019},
  copyright = {Creative Commons Attribution 4.0 International License (CC BY-SA 4.0)}
}


@misc{cmip6data_CMIP6_CMIP_NOAA-GFDL_GFDL-CM4_1pctCO2,
  doi = {10.22033/ESGF/CMIP6.8470},
  url = {http://cera-www.dkrz.de/WDCC/meta/CMIP6/CMIP6.CMIP.NOAA-GFDL.GFDL-CM4.1pctCO2},
  author = {Guo, Huan and John, Jasmin G and Blanton, Chris and McHugh, Colleen and Nikonov, Serguei and Radhakrishnan, Aparna and Rand, Kristopher and Zadeh, Niki T. and Balaji, V and Durachta, Jeff and Dupuis, Christopher and Menzel, Raymond and Robinson, Thomas and Underwood, Seth and Vahlenkamp, Hans and Bushuk, Mitchell and Dunne, Krista A. and Dussin, Raphael and Gauthier, Paul PG and Ginoux, Paul and Griffies, Stephen M. and Hallberg, Robert and Harrison, Matthew and Hurlin, William and Malyshev, Sergey and Naik, Vaishali and Paulot, Fabien and Paynter, David J and Ploshay, Jeffrey and Reichl, Brandon G and Schwarzkopf, Daniel M and Seman, Charles J and Shao, Andrew and Silvers, Levi and Wyman, Bruce and Yan, Xiaoqin and Zeng, Yujin and Adcroft, Alistair and Dunne, John P. and Held, Isaac M and Krasting, John P. and Horowitz, Larry W. and Milly, P.C.D and Shevliakova, Elena and Winton, Michael and Zhao, Ming and Zhang, Rong},
  keywords = {CMIP6, climate, CMIP6.CMIP.NOAA-GFDL.GFDL-CM4.1pctCO2},
  language = {en},
  title = {NOAA-GFDL GFDL-CM4 model output 1pctCO2. Version v20180701},
  publisher = {Earth System Grid Federation},
  year = {2018},
  copyright = {Creative Commons Attribution Share Alike 4.0 International}
}

[13]:
# NBVAL_SKIP
res["cmip5_references"]
[13]:
Reference
Modelling Group Climate Model Scenario
NCC NorESM1-M historical \citet{cmip5data_NorESM1-M_historical}
piControl \citet{cmip5data_NorESM1-M_piControl}
rcp45 \citet{cmip5data_NorESM1-M_rcp45}
[14]:
# NBVAL_SKIP
print("\n\n".join(res["cmip5_bibtex"]))
@misc{cmip5data_NorESM1-M_piControl,
  doi = {10.1594/WDCC/CMIP5.NCCNMPC},
  url = {http://cera-www.dkrz.de/WDCC/CMIP5/Compact.jsp?acronym=NCCNMpc},
  author = {Bentsen, Mats and Bethke, Ingo and Debernard, Jens and Drange, Helge and Heinze, Christoph and Iversen, Trond and Kirkevåg, Alf and Seland, Øyvind and Tjiputra, Jerry},
  keywords = {Climate, CMIP5, IPCC, IPCC-AR5, IPCC-AR5_CMIP5, IPCC-DDC, NorESM1-M, climate simulation},
  language = {en},
  title = {cmip5 output1 NCC NorESM1-M piControl, served by ESGF},
  publisher = {World Data Center for Climate (WDCC) at DKRZ},
  year = {2011},
  copyright = {Open access data at least for academic use.}
}


@misc{cmip5data_NorESM1-M_rcp45,
  doi = {10.1594/WDCC/CMIP5.NCCNMR4},
  url = {http://cera-www.dkrz.de/WDCC/CMIP5/Compact.jsp?acronym=NCCNMr4},
  author = {Bentsen, Mats and Bethke, Ingo and Debernard, Jens and Drange, Helge and Heinze, Christoph and Iversen, Trond and Kirkevåg, Alf and Seland, Øyvind and Tjiputra, Jerry},
  keywords = {Climate, CMIP5, IPCC, IPCC-AR5, IPCC-AR5_CMIP5, IPCC-DDC, NorESM1-M, climate simulation},
  language = {en},
  title = {cmip5 output1 NCC NorESM1-M rcp45, served by ESGF},
  publisher = {World Data Center for Climate (WDCC) at DKRZ},
  year = {2012},
  copyright = {Open access data at least for academic use.}
}


@misc{cmip5data_NorESM1-M_historical,
  doi = {10.1594/WDCC/CMIP5.NCCNMHI},
  url = {http://cera-www.dkrz.de/WDCC/CMIP5/Compact.jsp?acronym=NCCNMhi},
  author = {Bentsen, Mats and Bethke, Ingo and Debernard, Jens and Drange, Helge and Heinze, Christoph and Iversen, Trond and Kirkevåg, Alf and Seland, Øyvind and Tjiputra, Jerry},
  keywords = {Climate, CMIP5, IPCC, IPCC-AR5, IPCC-AR5_CMIP5, IPCC-DDC, NorESM1-M, climate simulation},
  language = {en},
  title = {cmip5 output1 NCC NorESM1-M historical, served by ESGF},
  publisher = {World Data Center for Climate (WDCC) at DKRZ},
  year = {2012},
  copyright = {Open access data at least for academic use.}
}

Use the data

At this point, assuming you have also followed the CMIP terms of use (CMIP5 terms of use, CMIP6 terms of use), you should now be ready to use the data for your own analysis. If you do so, on top of following the CMIP terms of use, please also cite netCDF-SCM [TODO: add link to netCDF-SCM citation file].

Happy CMIP data using :)