diff --git a/.gitignore b/.gitignore index e1c878ef..3037e45f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.[oa] *~ *.nc +!notebooks/data/*.nc *.pyc *.gcno *.gcda @@ -29,3 +30,6 @@ include/cmor_locale.h recipes/cmor/meta.yaml CMOR.egg-info cmor.log* +venv/ +notebooks/output/ +.ipynb_checkpoints/ diff --git a/notebooks/01_basic_ocean_surface_temperature.ipynb b/notebooks/01_basic_ocean_surface_temperature.ipynb new file mode 100644 index 00000000..a1966b48 --- /dev/null +++ b/notebooks/01_basic_ocean_surface_temperature.ipynb @@ -0,0 +1,1894 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Basic Ocean Surface Temperature\n", + "\n", + "Create a CMIP7 monthly sea surface temperature file (`tos_tavg-u-hxy-sea`) on a global 10 degree latitude-longitude grid." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Using CMIP7 tables from ../cmip7-cmor-tables/tables\n" + ] + } + ], + "source": [ + "from pathlib import Path\n", + "import calendar\n", + "import json\n", + "import shutil\n", + "\n", + "import cmor\n", + "from IPython.display import display\n", + "import matplotlib.pyplot as plt\n", + "from mpl_toolkits.basemap import Basemap\n", + "import numpy as np\n", + "import xarray as xr\n", + "\n", + "TABLES_DIR = \"../cmip7-cmor-tables/tables\"\n", + "CV_PATH = \"../cmip7-cmor-tables/tables-cvs/cmor-cvs.json\"\n", + "DATA_PATH = Path(\"data\") / \"tos_Omon_CanCM4_decadal1982_r5i1p1_198301-198310.nc\"\n", + "if not Path(TABLES_DIR).exists():\n", + " raise FileNotFoundError(f\"CMIP7 tables directory not found: {TABLES_DIR}\")\n", + "if not Path(CV_PATH).exists():\n", + " raise FileNotFoundError(f\"CMIP7 CV file not found: {CV_PATH}\")\n", + "if not DATA_PATH.exists():\n", + " raise FileNotFoundError(f\"Source data file not found: {DATA_PATH}\")\n", + "\n", + "\n", + "\n", + "def month_year_label(time_coord):\n", + " decoded_time = xr.coding.times.decode_cf_datetime(\n", + " time_coord.values[:1],\n", + " time_coord.attrs[\"units\"],\n", + " calendar=time_coord.attrs.get(\"calendar\", \"standard\"),\n", + " )[0]\n", + " if hasattr(decoded_time, \"strftime\"):\n", + " return decoded_time.strftime(\"%B %Y\")\n", + " date_text = np.datetime_as_string(decoded_time, unit=\"D\")\n", + " year, month = date_text.split(\"-\")[:2]\n", + " return f\"{calendar.month_name[int(month)]} {year}\"\n", + "\n", + "\n", + "print(f\"Using CMIP7 tables from {TABLES_DIR}\")\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
<xarray.Dataset> Size: 2MB\n", + "Dimensions: (time: 10, bnds: 2, lat: 192, lon: 256)\n", + "Coordinates:\n", + " * time (time) float64 80B 4.856e+04 4.859e+04 ... 4.88e+04 4.883e+04\n", + " * lat (lat) float64 2kB -89.43 -88.29 -87.15 ... 87.15 88.29 89.43\n", + " * lon (lon) float64 2kB 0.7031 2.109 3.516 4.922 ... 356.5 357.9 359.3\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 160B 4.854e+04 4.858e+04 ... 4.885e+04\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -88.86 -88.86 ... 88.86 88.86 90.0\n", + " lon_bnds (lon, bnds) float64 4kB 0.0 1.406 1.406 ... 358.6 358.6 360.0\n", + " tos (time, lat, lon) float32 2MB nan nan nan ... 271.2 271.2 271.2\n", + "Attributes:\n", + " institution: CCCma (Canadian Centre for Climate Modelling and ...\n", + " institute_id: CCCma\n", + " experiment_id: decadal1982\n", + " source: CanCM4 2010 atmosphere: CanAM4 (AGCM15i, T63L35) ...\n", + " model_id: CanCM4\n", + " forcing: GHG,Oz,SA,BC,OC,LU,Sl,Vl (GHG includes CO2,CH4,N2...\n", + " parent_experiment_id: N/A\n", + " parent_experiment_rip: N/A\n", + " branch_time: 0.0\n", + " contact: cccma_info@ec.gc.ca\n", + " references: http://www.cccma.ec.gc.ca/models\n", + " initialization_method: 1\n", + " physics_version: 1\n", + " tracking_id: 5152f593-3451-453f-9c5f-b45e46a2efc0\n", + " branch_time_YMDH: 1983:01:01:00\n", + " CCCma_runid: DHFP1B_E005_I1983_M01\n", + " CCCma_parent_runid: DHFP1_E005\n", + " CCCma_data_licence: 1) GRANT OF LICENCE - The Government of Canada (E...\n", + " product: output\n", + " experiment: 10- or 30-year run initialized in year 1982\n", + " frequency: mon\n", + " creation_date: 2011-07-13T02:25:29Z\n", + " history: 2011-07-13T02:25:29Z CMOR rewrote data to comply ...\n", + " Conventions: CF-1.4\n", + " project_id: CMIP5\n", + " table_id: Table Omon (28 March 2011) d71862c6fdafa47720d8a4...\n", + " title: CanCM4 model output prepared for CMIP5 10- or 30-...\n", + " parent_experiment: N/A\n", + " modeling_realm: ocean\n", + " realization: 5\n", + " cmor_version: 2.5.4
<xarray.Dataset> Size: 2MB\n", + "Dimensions: (time: 10, bnds: 2, lat: 192, lon: 256)\n", + "Coordinates:\n", + " * time (time) float64 80B 4.856e+04 4.859e+04 ... 4.88e+04 4.883e+04\n", + " * lat (lat) float64 2kB -89.43 -88.29 -87.15 ... 87.15 88.29 89.43\n", + " * lon (lon) float64 2kB 0.7031 2.109 3.516 4.922 ... 356.5 357.9 359.3\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 160B 4.854e+04 4.858e+04 ... 4.885e+04\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -88.86 -88.86 ... 88.86 88.86 90.0\n", + " lon_bnds (lon, bnds) float64 4kB 0.0 1.406 1.406 ... 358.6 358.6 360.0\n", + " tos (time, lat, lon) float32 2MB nan nan nan ... -1.95 -1.95 -1.95\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: sea\n", + " branded_variable: tos_tavg-u-hxy-sea\n", + " branding_suffix: tavg-u-hxy-sea\n", + " creation_date: 2026-06-05T21:59:20Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " external_variables: areacello\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:20Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: ocean\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_ocean.json; Creation Date:(2026-04-21 ...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/f81ce082-86e4-413b-8b72-598c9e3ba40d\n", + " variable_id: tos\n", + " variant_label: r9i1p1f3\n", + " vertical_label: u\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1
<xarray.Dataset> Size: 524kB\n", + "Dimensions: (time: 10, bnds: 2, lat: 90, lon: 144)\n", + "Coordinates:\n", + " * time (time) float64 80B 15.5 45.0 74.5 105.0 ... 227.5 258.0 288.5\n", + " * lat (lat) float64 720B -89.0 -87.0 -85.0 -83.0 ... 85.0 87.0 89.0\n", + " * lon (lon) float64 1kB 1.25 3.75 6.25 8.75 ... 351.2 353.8 356.2 358.8\n", + " height float64 8B 2.0\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 160B 0.0 31.0 31.0 ... 273.0 273.0 304.0\n", + " lat_bnds (lat, bnds) float64 1kB -90.0 -88.0 -88.0 ... 88.0 88.0 90.0\n", + " lon_bnds (lon, bnds) float64 2kB 0.0 2.5 2.5 5.0 ... 357.5 357.5 360.0\n", + " tas (time, lat, lon) float32 518kB 246.9 246.9 246.9 ... 259.4 259.4\n", + "Attributes:\n", + " institution: NASA/GISS (Goddard Institute for Space Studies) N...\n", + " institute_id: NASA-GISS\n", + " experiment_id: historical\n", + " source: GISS-E2-H-Eh137Tcadf9a Atmosphere: GISS-E2; Ocean: H\n", + " model_id: GISS-E2-H\n", + " forcing: GHG, LU, Sl, Vl, BC, OC, SA, Oz (also includes or...\n", + " parent_experiment_id: piControl\n", + " parent_experiment_rip: r1i1p2\n", + " branch_time: 2490.0\n", + " contact: Kenneth Lo (cdkkl@giss.nasa.gov)\n", + " references: http://data.giss.nasa.gov/modelE/ar5\n", + " initialization_method: 1\n", + " physics_version: 2\n", + " tracking_id: d43050cd-5c43-4dc5-914a-f724463bc109\n", + " product: output\n", + " experiment: historical\n", + " frequency: mon\n", + " creation_date: 2011-10-18T13:06:09Z\n", + " history: 2011-10-18T13:06:09Z CMOR rewrote data to comply ...\n", + " Conventions: CF-1.4\n", + " project_id: CMIP5\n", + " table_id: Table Amon (31 January 2011) 53b766a395ac41696af4...\n", + " title: GISS-E2-H model output prepared for CMIP5 historical\n", + " parent_experiment: pre-industrial control\n", + " modeling_realm: atmos\n", + " realization: 1\n", + " cmor_version: 2.5.7
<xarray.Dataset> Size: 524kB\n", + "Dimensions: (time: 10, bnds: 2, lat: 90, lon: 144)\n", + "Coordinates:\n", + " * time (time) float64 80B 15.5 45.0 74.5 105.0 ... 227.5 258.0 288.5\n", + " * lat (lat) float64 720B -89.0 -87.0 -85.0 -83.0 ... 85.0 87.0 89.0\n", + " * lon (lon) float64 1kB 1.25 3.75 6.25 8.75 ... 351.2 353.8 356.2 358.8\n", + " height float64 8B 2.0\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 160B 0.0 31.0 31.0 ... 273.0 273.0 304.0\n", + " lat_bnds (lat, bnds) float64 1kB -90.0 -88.0 -88.0 ... 88.0 88.0 90.0\n", + " lon_bnds (lon, bnds) float64 2kB 0.0 2.5 2.5 5.0 ... 357.5 357.5 360.0\n", + " tas (time, lat, lon) float32 518kB 246.9 246.9 246.9 ... 259.4 259.4\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: u\n", + " branded_variable: tas_tavg-h2m-hxy-u\n", + " branding_suffix: tavg-h2m-hxy-u\n", + " creation_date: 2026-06-05T21:59:23Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " external_variables: areacella\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:23Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: atmos\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_atmos.json; Creation Date:(2026-04-21 ...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/690c47b6-9792-4b4a-8b94-8ed784e21eae\n", + " variable_id: tas\n", + " variant_label: r9i1p1f3\n", + " vertical_label: h2m\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1
<xarray.Dataset> Size: 10MB\n", + "Dimensions: (time: 2, bnds: 2, lat: 180, lon: 360, plev: 19)\n", + "Coordinates:\n", + " * time (time) float64 16B 7.316e+03 7.345e+03\n", + " * lat (lat) float64 1kB -89.5 -88.5 -87.5 -86.5 ... 86.5 87.5 88.5 89.5\n", + " * lon (lon) float64 3kB 0.5 1.5 2.5 3.5 4.5 ... 356.5 357.5 358.5 359.5\n", + " * plev (plev) float64 152B 1e+05 9.25e+04 8.5e+04 ... 1e+03 500.0 100.0\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 32B 7.3e+03 7.331e+03 7.331e+03 7.359e+03\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -89.0 -89.0 ... 89.0 89.0 90.0\n", + " lon_bnds (lon, bnds) float64 6kB 0.0 1.0 1.0 2.0 ... 359.0 359.0 360.0\n", + " ta (time, plev, lat, lon) float32 10MB nan nan nan ... 269.4 269.4\n", + "Attributes:\n", + " Conventions: CF-1.7 CMIP-6.2\n", + " activity_id: CMIP\n", + " branch_method: standard\n", + " branch_time_in_child: 0.0\n", + " branch_time_in_parent: 18250.0\n", + " creation_date: 2025-08-10T17:00:06Z\n", + " data contact: E3SM-DATA-SUPPORT@LLNL.GOV\n", + " data_specs_version: 01.00.33\n", + " experiment: all-forcing simulation of the recent past\n", + " experiment_id: historical\n", + " external_variables: areacella\n", + " forcing_index: 1\n", + " frequency: mon\n", + " further_info_url: https://furtherinfo.es-doc.org/CMIP6.E3SM-Project...\n", + " grid: data regridded to a CMIP6 standard 1x1 degree lon...\n", + " grid_label: gr\n", + " history: 2025-08-10T17:00:06Z ;rewrote data to be consiste...\n", + " initialization_index: 1\n", + " institution: LLNL (Lawrence Livermore National Laboratory, Liv...\n", + " institution_id: E3SM-Project\n", + " label: E3SM 3.0\n", + " label_extended: E3SM 3.0 (Energy Exascale Earth System Model)\n", + " mip_era: CMIP6\n", + " nominal_resolution: 100 km\n", + " parent_activity_id: CMIP\n", + " parent_experiment_id: piControl\n", + " parent_mip_era: CMIP6\n", + " parent_source_id: E3SM-3-0\n", + " parent_time_units: days since 0001-01-01\n", + " parent_variant_label: r1i1p1f1\n", + " physics_index: 1\n", + " product: model-output\n", + " project PI: Dr. Peter Caldwell (caldwell19@llnl.gov), Dr. Dav...\n", + " realization_index: 1\n", + " realm: atmos\n", + " references: Xie, S., and co-authors, 2025: The Energy Exascal...\n", + " release_year: 2024\n", + " source: E3SM 3.0 (2025): \\naerosol: MAM5 w/ prognostic st...\n", + " source_id: E3SM-3-0\n", + " source_type: AOGCM AER\n", + " sub_experiment: none\n", + " sub_experiment_id: none\n", + " table_id: Amon\n", + " table_info: Creation Date:(18 November 2020) MD5:4945869d85ef...\n", + " title: E3SM-3-0 output prepared for CMIP6\n", + " tracking_id: hdl:21.14100/e908eefe-4329-4f97-9de6-8b2dd3a78be0\n", + " variable_id: ta\n", + " variant_label: r1i1p1f1\n", + " version: v20250810\n", + " license: CMIP6 model data produced by E3SM-Project is lice...\n", + " cmor_version: 3.11.0
<xarray.Dataset> Size: 10MB\n", + "Dimensions: (time: 2, bnds: 2, lat: 180, lon: 360, plev: 19)\n", + "Coordinates:\n", + " * time (time) float64 16B 7.316e+03 7.345e+03\n", + " * lat (lat) float64 1kB -89.5 -88.5 -87.5 -86.5 ... 86.5 87.5 88.5 89.5\n", + " * lon (lon) float64 3kB 0.5 1.5 2.5 3.5 4.5 ... 356.5 357.5 358.5 359.5\n", + " * plev (plev) float64 152B 1e+05 9.25e+04 8.5e+04 ... 1e+03 500.0 100.0\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 32B 7.3e+03 7.331e+03 7.331e+03 7.359e+03\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -89.0 -89.0 ... 89.0 89.0 90.0\n", + " lon_bnds (lon, bnds) float64 6kB 0.0 1.0 1.0 2.0 ... 359.0 359.0 360.0\n", + " ta (time, plev, lat, lon) float32 10MB nan nan nan ... 269.4 269.4\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: air\n", + " branded_variable: ta_tavg-p19-hxy-air\n", + " branding_suffix: tavg-p19-hxy-air\n", + " creation_date: 2026-06-05T21:59:27Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " external_variables: areacella\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:27Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: atmos\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_atmos.json; Creation Date:(2026-04-21 ...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/68194740-6201-4c23-8c14-40acf6955be7\n", + " variable_id: ta\n", + " variant_label: r9i1p1f3\n", + " vertical_label: p19\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1
<xarray.Dataset> Size: 7MB\n", + "Dimensions: (time: 5, bnds: 2, lev: 40, lat: 64, lon: 128)\n", + "Coordinates:\n", + " * time (time) float64 40B 15.5 45.0 74.5 105.0 135.5\n", + " * lev (lev) float64 320B 0.9975 0.9915 0.983 ... 0.0106 0.002905\n", + " * lat (lat) float64 512B -87.86 -85.1 -82.31 ... 82.31 85.1 87.86\n", + " * lon (lon) float64 1kB 0.0 2.812 5.625 8.438 ... 351.6 354.4 357.2\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 80B 0.0 31.0 31.0 ... 120.0 120.0 151.0\n", + " lev_bnds (lev, bnds) float64 640B 1.0 0.995 0.995 ... 0.007 0.007 0.0\n", + " p0 float64 8B 1e+05\n", + " a (lev) float64 320B 0.001113 0.003782 ... 0.0106 0.002905\n", + " b (lev) float64 320B 0.9964 0.9877 0.9754 0.9595 ... 0.0 0.0 0.0\n", + " ps (time, lat, lon) float32 164kB 6.951e+04 6.928e+04 ... 1.029e+05\n", + " a_bnds (lev, bnds) float64 640B 0.0 0.002224 0.002224 ... 0.007 0.0\n", + " b_bnds (lev, bnds) float64 640B 1.0 0.9928 0.9928 ... 0.0 0.0 0.0\n", + " lat_bnds (lat, bnds) float64 1kB -90.0 -86.58 -86.58 ... 86.58 86.58 90.0\n", + " lon_bnds (lon, bnds) float64 2kB -1.406 1.406 1.406 ... 355.8 355.8 358.6\n", + " tnhusscpbl (time, lev, lat, lon) float32 7MB 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + "Attributes:\n", + " Conventions: CF-1.7 CMIP-6.2\n", + " activity_id: CMIP\n", + " branch_method: no parent\n", + " creation_date: 2020-08-15T22:41:28Z\n", + " data_specs_version: 01.00.28\n", + " experiment: AMIP\n", + " experiment_id: amip\n", + " external_variables: areacella\n", + " forcing_index: 2\n", + " frequency: mon\n", + " further_info_url: https://furtherinfo.es-doc.org/CMIP6.MIROC.MIROC-E...\n", + " grid: native atmosphere T42 Gaussian grid\n", + " grid_label: gn\n", + " history: 2020-08-15T22:41:28Z ; CMOR rewrote data to be con...\n", + " initialization_index: 1\n", + " institution: JAMSTEC (Japan Agency for Marine-Earth Science and...\n", + " institution_id: MIROC\n", + " mip_era: CMIP6\n", + " nominal_resolution: 500 km\n", + " parent_activity_id: no parent\n", + " parent_experiment_id: no parent\n", + " physics_index: 1\n", + " product: model-output\n", + " realization_index: 2\n", + " realm: atmos\n", + " source: MIROC-ES2L (2018): \\naerosol: SPRINTARS6.0\\natmos:...\n", + " source_id: MIROC-ES2L\n", + " source_type: AGCM AER BGC\n", + " sub_experiment: none\n", + " sub_experiment_id: none\n", + " table_id: CFmon\n", + " table_info: Creation Date:(06 November 2018) MD5:af8da38b788c1...\n", + " title: MIROC-ES2L output prepared for CMIP6\n", + " variable_id: tnhusscpbl\n", + " variant_label: r2i1p1f2\n", + " license: CMIP6 model data produced by MIROC is licensed und...\n", + " cmor_version: 3.3.2\n", + " tracking_id: hdl:21.14100/f575a148-89c0-40d7-bdd5-b67e0f73cf4a
<xarray.Dataset> Size: 7MB\n", + "Dimensions: (time: 5, bnds: 2, lev: 40, lat: 64, lon: 128)\n", + "Coordinates:\n", + " * time (time) float64 40B 15.5 45.0 74.5 105.0 135.5\n", + " * lev (lev) float64 320B 0.9975 0.9915 0.983 ... 0.0106 0.002905\n", + " * lat (lat) float64 512B -87.86 -85.1 -82.31 ... 82.31 85.1 87.86\n", + " * lon (lon) float64 1kB 0.0 2.812 5.625 8.438 ... 351.6 354.4 357.2\n", + "Dimensions without coordinates: bnds\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 80B 0.0 31.0 31.0 ... 120.0 120.0 151.0\n", + " lev_bnds (lev, bnds) float64 640B 1.0 0.995 0.995 ... 0.007 0.007 0.0\n", + " p0 float64 8B 1e+05\n", + " a (lev) float64 320B 0.001113 0.003782 ... 0.0106 0.002905\n", + " b (lev) float64 320B 0.9964 0.9877 0.9754 0.9595 ... 0.0 0.0 0.0\n", + " ps (time, lat, lon) float32 164kB 6.951e+04 6.928e+04 ... 1.029e+05\n", + " a_bnds (lev, bnds) float64 640B 0.0 0.002224 0.002224 ... 0.007 0.0\n", + " b_bnds (lev, bnds) float64 640B 1.0 0.9928 0.9928 ... 0.0 0.0 0.0\n", + " lat_bnds (lat, bnds) float64 1kB -90.0 -86.58 -86.58 ... 86.58 86.58 90.0\n", + " lon_bnds (lon, bnds) float64 2kB -1.406 1.406 1.406 ... 355.8 355.8 358.6\n", + " tnhusscpbl (time, lev, lat, lon) float32 7MB 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: u\n", + " branded_variable: tnhusscpbl_tavg-al-hxy-u\n", + " branding_suffix: tavg-al-hxy-u\n", + " creation_date: 2026-06-05T21:59:30Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " external_variables: areacella\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:30Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: atmos\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_atmos.json; Creation Date:(2026-04-21 ...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " variable_id: tnhusscpbl\n", + " variant_label: r9i1p1f3\n", + " vertical_label: al\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1\n", + " tracking_id: hdl:21.14107/0706140a-0c18-498b-a18a-b6dc2d5082cd
<xarray.Dataset> Size: 2MB\n", + "Dimensions: (time: 420, bnds: 2, lat: 330, basin: 3)\n", + "Coordinates:\n", + " * time (time) float64 3kB 5.942e+04 5.944e+04 ... 7.196e+04 7.198e+04\n", + " * lat (lat) float64 3kB -85.35 -85.19 -85.04 ... 81.73 81.77 81.79\n", + " sector (basin) |S21 63B b'atlantic_arctic_ocean' ... b'indian_pacific...\n", + "Dimensions without coordinates: bnds, basin\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 7kB 5.94e+04 5.943e+04 ... 7.197e+04 7.2e+04\n", + " lat_bnds (lat, bnds) float64 5kB -85.42 -85.27 -85.27 ... 81.78 81.78 81.8\n", + " htovgyre (time, basin, lat) float32 2MB nan nan nan nan ... nan nan nan\n", + "Attributes:\n", + " Conventions: CF-1.7 CMIP-6.2\n", + " activity_id: AerChemMIP\n", + " branch_method: standard\n", + " branch_time_in_child: 59400.0\n", + " branch_time_in_parent: 59400.0\n", + " creation_date: 2020-08-21T14:28:52Z\n", + " cv_version: 6.2.53.5\n", + " data_specs_version: 01.00.31\n", + " experiment: SSP3-7.0, with low NTCF emissions and methane con...\n", + " experiment_id: ssp370-lowNTCFCH4\n", + " forcing_index: 2\n", + " frequency: mon\n", + " further_info_url: https://furtherinfo.es-doc.org/CMIP6.MOHC.UKESM1-...\n", + " grid: Native eORCA1 tripolar primarily 1 deg with merid...\n", + " grid_label: gnz\n", + " history: 2020-08-21T14:24:56Z ; CMOR rewrote data to be co...\n", + " initialization_index: 1\n", + " institution: Met Office Hadley Centre, Fitzroy Road, Exeter, D...\n", + " institution_id: MOHC\n", + " mip_era: CMIP6\n", + " mo_runid: u-bu258\n", + " nominal_resolution: 100 km\n", + " parent_activity_id: CMIP\n", + " parent_experiment_id: historical\n", + " parent_mip_era: CMIP6\n", + " parent_source_id: UKESM1-0-LL\n", + " parent_time_units: days since 1850-01-01\n", + " parent_variant_label: r4i1p1f2\n", + " physics_index: 1\n", + " product: model-output\n", + " realization_index: 2\n", + " realm: ocean\n", + " source: UKESM1.0-LL (2018): \\naerosol: UKCA-GLOMAP-mode\\n...\n", + " source_id: UKESM1-0-LL\n", + " source_type: AOGCM AER BGC CHEM\n", + " sub_experiment: none\n", + " sub_experiment_id: none\n", + " table_id: Omon\n", + " table_info: Creation Date:(22 July 2019) MD5:4dd1814731b1436d...\n", + " title: UKESM1-0-LL output prepared for CMIP6\n", + " tracking_id: hdl:21.14100/a774509f-e0a8-463b-a6ea-d77330aa8c17\n", + " variable_id: htovgyre\n", + " variable_name: htovgyre\n", + " variant_label: r2i1p1f2\n", + " license: CMIP6 model data produced by the Met Office Hadle...\n", + " cmor_version: 3.4.0
<xarray.Dataset> Size: 2MB\n", + "Dimensions: (time: 420, bnds: 2, lat: 330, basin: 3)\n", + "Coordinates:\n", + " * time (time) float64 3kB 5.942e+04 5.944e+04 ... 7.196e+04 7.198e+04\n", + " * lat (lat) float64 3kB -85.35 -85.19 -85.04 ... 81.73 81.77 81.79\n", + " sector (basin) |S21 63B b'atlantic_arctic_ocean' ... b'indian_pacific...\n", + "Dimensions without coordinates: bnds, basin\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 7kB 5.94e+04 5.943e+04 ... 7.197e+04 7.2e+04\n", + " lat_bnds (lat, bnds) float64 5kB -85.42 -85.27 -85.27 ... 81.78 81.78 81.8\n", + " htovgyre (time, basin, lat) float32 2MB nan nan nan nan ... nan nan nan\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: sea\n", + " branded_variable: htovgyre_tavg-u-hyb-sea\n", + " branding_suffix: tavg-u-hyb-sea\n", + " creation_date: 2026-06-05T21:59:34Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:34Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hyb\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: ocean\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_ocean.json; Creation Date:(2026-04-21 ...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/c17c567e-bdad-4306-b790-12e7c390d9ad\n", + " variable_id: htovgyre\n", + " variant_label: r9i1p1f3\n", + " vertical_label: u\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1
<xarray.Dataset> Size: 8MB\n", + "Dimensions: (time: 10, landuse: 4, lat: 180, lon: 288, bnds: 2)\n", + "Coordinates:\n", + " * time (time) float64 80B 1.122e+05 1.122e+05 ... 1.124e+05 1.125e+05\n", + " * landuse (landuse) int32 16B 0 1 2 3\n", + " * lat (lat) float64 1kB -89.5 -88.5 -87.5 -86.5 ... 86.5 87.5 88.5 89.5\n", + " * lon (lon) float64 2kB 0.625 1.875 3.125 4.375 ... 356.9 358.1 359.4\n", + " * bnds (bnds) float64 16B 1.0 2.0\n", + "Data variables:\n", + " fracLut (time, landuse, lat, lon) float32 8MB 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -89.0 -89.0 ... 89.0 89.0 90.0\n", + " lon_bnds (lon, bnds) float64 5kB 0.0 1.25 1.25 2.5 ... 358.8 358.8 360.0\n", + " time_bnds (time, bnds) float64 160B 1.122e+05 1.122e+05 ... 1.125e+05\n", + "Attributes:\n", + " external_variables: areacella\n", + " history: File was processed by fremetar (GFDL analog of CMO...\n", + " table_id: Emon\n", + " activity_id: LUMIP\n", + " branch_method: no parent\n", + " branch_time_in_child: 0.0\n", + " comment: <null ref>\n", + " contact: gfdl.climate.model.info@noaa.gov\n", + " Conventions: CF-1.7 CMIP-6.0 UGRID-1.0\n", + " creation_date: 2019-08-25T02:53:14Z\n", + " data_specs_version: 01.00.27\n", + " experiment: historical land-only with no land-use change\n", + " experiment_id: land-noLu\n", + " forcing_index: 1\n", + " frequency: mon\n", + " further_info_url: https://furtherinfo.es-doc.org/CMIP6.NOAA-GFDL.GFD...\n", + " grid: land data regridded from Cubed-sphere (c96) to 180...\n", + " grid_label: gr1\n", + " initialization_index: 1\n", + " institution: National Oceanic and Atmospheric Administration, G...\n", + " institution_id: NOAA-GFDL\n", + " license: CMIP6 model data produced by NOAA-GFDL is licensed...\n", + " mip_era: CMIP6\n", + " nominal_resolution: 100 km\n", + " parent_activity_id: no parent\n", + " parent_experiment_id: no parent\n", + " parent_mip_era: no parent\n", + " parent_source_id: no parent\n", + " parent_time_units: no parent\n", + " parent_variant_label: no parent\n", + " physics_index: 1\n", + " product: model-output\n", + " realization_index: 1\n", + " realm: land\n", + " source: GFDL-ESM4 (2018):\\natmos: GFDL-AM4.1 (Cubed-sphere...\n", + " source_id: GFDL-ESM4\n", + " source_type: LAND BGC\n", + " sub_experiment: none\n", + " sub_experiment_id: none\n", + " title: NOAA GFDL GFDL-ESM4 model output prepared for CMIP...\n", + " tracking_id: hdl:21.14100/3325dad3-4bc4-454e-8ab0-53c12ba60e51\n", + " variable_id: fracLut\n", + " variant_info: N/A\n", + " references: see further_info_url attribute\n", + " variant_label: r1i1p1f1
<xarray.Dataset> Size: 8MB\n", + "Dimensions: (lat: 180, bnds: 2, lon: 288, time: 10, landuse: 4)\n", + "Coordinates:\n", + " * lat (lat) float64 1kB -89.5 -88.5 -87.5 -86.5 ... 86.5 87.5 88.5 89.5\n", + " * lon (lon) float64 2kB 0.625 1.875 3.125 4.375 ... 356.9 358.1 359.4\n", + " * time (time) float64 80B 1.122e+05 1.122e+05 ... 1.124e+05 1.125e+05\n", + " sector (landuse) |S26 104B b'primary_and_secondary_land' ... b'urban'\n", + "Dimensions without coordinates: bnds, landuse\n", + "Data variables:\n", + " lat_bnds (lat, bnds) float64 3kB -90.0 -89.0 -89.0 -88.0 ... 89.0 89.0 90.0\n", + " lon_bnds (lon, bnds) float64 5kB 0.0 1.25 1.25 2.5 ... 358.8 358.8 360.0\n", + " fracLut (time, landuse, lat, lon) float32 8MB 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: u\n", + " branded_variable: fracLut_tpt-u-hxy-u\n", + " branding_suffix: tpt-u-hxy-u\n", + " creation_date: 2026-06-05T21:59:37Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " external_variables: areacella\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:37Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 100 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: land\n", + " region: glb\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_land.json; Creation Date:(2026-04-21 1...\n", + " temporal_label: tpt\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/a1f5a1e2-37d7-4c50-ba58-b130068b50bc\n", + " variable_id: fracLut\n", + " variant_label: r9i1p1f3\n", + " vertical_label: u\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1
<xarray.Dataset> Size: 5MB\n", + "Dimensions: (time: 1, yc: 432, xc: 432, nv: 2)\n", + "Coordinates:\n", + " * time (time) float64 8B 1.329e+09\n", + " * yc (yc) float64 3kB 5.388e+03 5.362e+03 ... -5.388e+03\n", + " * xc (xc) float64 3kB -5.388e+03 -5.362e+03 ... 5.388e+03\n", + " lat (yc, xc) float32 746kB 16.62 16.82 ... 16.82 16.62\n", + " lon (yc, xc) float32 746kB -135.0 -135.1 ... 44.87 45.0\n", + "Dimensions without coordinates: nv\n", + "Data variables:\n", + " Lambert_Azimuthal_Grid int32 4B -2147483647\n", + " ice_conc (time, yc, xc) float64 1MB 0.0 0.0 0.0 ... nan nan\n", + " raw_ice_conc_values (time, yc, xc) float64 1MB nan nan nan ... nan nan\n", + " status_flag (time, yc, xc) float32 746kB 128.0 128.0 ... 1.0 1.0\n", + " time_bnds (time, nv) float64 16B 1.328e+09 1.331e+09\n", + "Attributes:\n", + " title: Monthly Sea Ice Concentration Climate Data Rec...\n", + " summary: This climate data record of sea ice concentrat...\n", + " topiccategory: Oceans ClimatologyMeteorologyAtmosphere\n", + " geospatial_lat_min: 16.62393\n", + " geospatial_lat_max: 90.0\n", + " geospatial_lon_min: -180.0\n", + " geospatial_lon_max: 180.0\n", + " geospatial_vertical_min: 0.0\n", + " geospatial_vertical_max: 0.0\n", + " sensor: SMMR,SSM/I,SSMIS\n", + " platform: Nimbus-7,DMSP-F<08,10,11,13,14,15>,DMSP-F<16,1...\n", + " time_coverage_start: 2020-02-01T00:00:00Z\n", + " time_coverage_end: 2020-03-01T00:00:00Z\n", + " time_coverage_duration: P1M\n", + " time_coverage_resolution: P1M\n", + " project: OSI SAF - EUMETSAT\n", + " institution: OSISAF - EUMETSAT\n", + " creator_name: OSISAF - EUMETSAT\n", + " creator_type: institution\n", + " creator_url: https://osi-saf.eumetsat.int/\n", + " creator_email: osi-saf.helpdesk@meteo.fr\n", + " date_created: 2023-03-20\n", + " cdm_data_type: Grid\n", + " spatial_resolution: 25.0 km grid spacing\n", + " geospatial_bounds_crs: EPSG:6931\n", + " tracking_id: 537df889-640b-44f8-bb9f-f49d9b281ca1\n", + " naming_authority: int.eumetsat\n", + " standard_name_vocabulary: CF Standard Name Table (Version 78, 21 Septemb...\n", + " product_name: osi_saf_sea_ice_conc_climate_data_record_smmrs...\n", + " keywords: GCMDSK:Earth Science > Cryosphere > Sea Ice > ...\n", + " keywords_vocabulary: GCMDSK:GCMD Science Keywords:https://gcmd.eart...\n", + " Conventions: CF-1.7,ACDD-1.3\n", + " algorithm: SICCI3LF (19V, 37V, 37H)\n", + " contributor_name: Thomas Lavergne,Atle Soerensen,Rasmus Tonboe,C...\n", + " contributor_role: PrincipalInvestigator,author,author,author,aut...\n", + " source: FCDR of SMMR / SSMI / SSMIS Brightness Tempera...\n", + " product_status: released\n", + " history: 2023-03-20T13:57:20Z creation\\n2025-02-17T11:0...\n", + " product_version: 3.1\n", + " product_id: osi-450-a1\n", + " doi: 10.15770/EUM_SAF_OSI_0023\n", + " references: Product User Manual (2025),Algorithm Theoretic...\n", + " license: http://creativecommons.org/licenses/by/4.0/
<xarray.Dataset> Size: 16MB\n", + "Dimensions: (time: 1, bnds: 2, x: 432, y: 432, vertices: 4)\n", + "Coordinates:\n", + " * time (time) float64 8B 1.539e+04\n", + " * x (x) float64 3kB -5.388e+06 -5.362e+06 ... 5.388e+06\n", + " * y (y) float64 3kB -5.388e+06 -5.362e+06 ... 5.388e+06\n", + " latitude (x, y) float64 1MB 16.62 16.82 17.02 ... 16.82 16.62\n", + " longitude (x, y) float64 1MB 315.0 314.9 314.7 ... 134.9 135.0\n", + "Dimensions without coordinates: bnds, vertices\n", + "Data variables:\n", + " time_bnds (time, bnds) float64 16B 1.537e+04 1.54e+04\n", + " crs int32 4B -2147483647\n", + " vertices_latitude (x, y, vertices) float64 6MB 16.42 16.62 ... 16.42 16.62\n", + " vertices_longitude (x, y, vertices) float64 6MB 315.0 315.1 ... 135.0 135.1\n", + " siconc (time, x, y) float32 746kB 0.0 0.0 0.0 ... 0.0 0.0 0.0\n", + "Attributes:\n", + " Conventions: CF-1.12\n", + " activity_id: CMIP\n", + " area_label: u\n", + " branded_variable: siconc_tavg-u-hxy-u\n", + " branding_suffix: tavg-u-hxy-u\n", + " creation_date: 2026-06-05T21:59:50Z\n", + " data_specs_version: MIP-DS7.1.0.0\n", + " description: Simulation of the climate of the recent past with ...\n", + " drs_specs: MIP-DRS7\n", + " experiment: Simulation of the climate of the recent past with ...\n", + " experiment_id: amip\n", + " forcing_index: f3\n", + " frequency: mon\n", + " grid_label: g999\n", + " history: 2026-06-05T21:59:50Z ; CMOR rewrote data to be con...\n", + " horizontal_label: hxy\n", + " host_collection: CMIP7\n", + " initialization_index: i1\n", + " institution: Environment and Climate Change Canada\n", + " institution_id: CCCma\n", + " license_id: CC-BY-4.0\n", + " mip_era: CMIP7\n", + " nominal_resolution: 25 km\n", + " physics_index: p1\n", + " product: model-output\n", + " realization_index: r9\n", + " realm: seaIce\n", + " region: nh\n", + " source: DUMMY-MODEL: aerosol: Dummy Aerosol; atmosphere: D...\n", + " source_id: DUMMY-MODEL\n", + " table_info: Name: CMIP7_seaIce.json; Creation Date:(2026-04-21...\n", + " temporal_label: tavg\n", + " title: DUMMY-MODEL output prepared for CMIP7\n", + " tracking_id: hdl:21.14107/3a7338c7-6944-4ee7-b038-2d3c2b2ecf56\n", + " variable_id: siconc\n", + " variant_label: r9i1p1f3\n", + " vertical_label: u\n", + " license: CC-BY-4.0; CMIP7 data produced by CCCma is license...\n", + " cmor_version: 3.15.1