# Loading CMIP5 data in python?

**URL:** <https://discourse.pangeo.io/t/loading-cmip5-data-in-python/2090>\
**Category:** Uncategorized\
**Created:** [January 21, 2022, 9:20pm UTC](https://discourse.pangeo.io/t/loading-cmip5-data-in-python/2090 "2022-01-21T21:20:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelErb](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@MichaelErb](https://discourse.pangeo.io/u/MichaelErb)\
**Post date:** [January 21, 2022, 9:20pm UTC](https://discourse.pangeo.io/t/loading-cmip5-data-in-python/2090/1 "2022-01-21T21:20:43Z")

</div>

Hi folks. Is there a good way to access data from lots of different CMIP5 models? For example, I’d like to examine additional variables for the models shown at interactive-atlas.ipcc.ch.

To be more specific, I’m analyzing ocean temperature and salinity data in CMIP models. I just finished with CMIP6 models, using the extremely helpful approach here: [Accessing data in the cloud — Pangeo / ESGF Cloud Data Working Group documentation](https://pangeo-data.github.io/pangeo-cmip6-cloud/accessing_data.html). I used the “pangeo-cmip6.csv” googleapis file and the query command to find monthly sos and tos data, loaded them into xarrays, and did my calculations in a loop. This let me calculate specific values from 30+ simulations without the tedious process of downloading data locally. To find the right models, I used Table Atlas.SM.2 in the IPCC AR6 report.

I’d like to repeat these calculations on CMIP5 data. I see that there is a “pangeo-cmip5.csv” file, but it’s much more limited than the CMIP6 version. In particular, the variables are limited to ‘pr’, ‘psl’, ‘rlut’, ‘rsdt’, ‘rsut’, ‘siconc’, ‘tas’, ‘uas’, ‘vas’. I want the ocean variables sos and tos. Is this possible through Pangeo?

If not, is there another good way? Should I be using an ESGF search package like this one: [\<no title\> — ESGF Pyclient 0.3.0 documentation](https://esgf-pyclient.readthedocs.io/en/latest/index.html)? I know the exact simulations that I want to examine (from Table Atlas.SM.1 of the IPCC AR6 report), but I’m not entirely sure how to load the data remotely. Any tips?

Analyzing CMIP ensembles is a fairly common thing, so I’m curious if I’m overlooking an easy way to handle the data. Thanks!

---

<div class="post-metadata">

**Author:** ![Benoit](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@Benoit](https://discourse.pangeo.io/u/Benoit)\
**Post date:** [February 3, 2023, 3:48am UTC](https://discourse.pangeo.io/t/loading-cmip5-data-in-python/2090/2 "2023-02-03T03:48:08Z")

</div>

👋 Hi there! Pangeo newbie here…

Sorry for unearthing a year-old post but is there an answer to this question?

Is PANGEO/Zarr for CMIP6 data only?

---

<div class="post-metadata">

**Author:** ![mberdahl](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@mberdahl](https://discourse.pangeo.io/u/mberdahl)\
**Post date:** [May 21, 2024, 6:44pm UTC](https://discourse.pangeo.io/t/loading-cmip5-data-in-python/2090/3 "2024-05-21T18:44:28Z")

</div>

Just pinging this – is there an equivalent collection of CMIP5 data, similar to this?  
“[https://storage.googleapis.com/cmip6/pangeo-cmip6.json](https://storage.googleapis.com/cmip6/pangeo-cmip6.json)”  
If not, is the only other option to download the data from a ESGF node?
