mesmer.io.load_cmipng.load_cmipng

mesmer.io.load_cmipng.load_cmipng(targ, esm, scen, cfg)

Load ESM runs from cmip-ng archive at ETHZ.

Parameters
  • targ (str) – target variable (e.g., “tas”)

  • esm (str) – Earth System Model (e.g., “CanESM2” or “CanESM5”)

  • scen (str) – future scenario (e.g., “rcp85” or “ssp585”)

  • cfg (module) – config file containing metadata

Returns

  • targ (dict) – target variable anomaly dictionary with keys

    • [run] (3d array (time, lat, lon) of variable)

  • GTARG (dict) – area-weighted global mean target variable anomaly dictionary with keys

    • [run] (1d array of globally-averaged variable anomaly time series)

  • lon (dict) – longitude dictionary with key

    • [“c”] (1d array with longitudes at center of grid cell)

  • lat (dict) – latitude dictionary with key

    • [“c”] (1d array with latitudes at center of grid cell)

  • time (np.ndarray) – 1d array of years