@@ -12,7 +12,7 @@ kernelspec:
12
12
``` {code-cell} ipython3
13
13
import intake
14
14
15
- url = "https://raw.githubusercontent .com/intake/intake-esm/main/tutorial-catalogs/GOOGLE-CMIP6 .json"
15
+ url = "https://storage.googleapis .com/cmip6/pangeo-cmip6 .json"
16
16
cat = intake.open_esm_datastore(url)
17
17
cat
18
18
```
@@ -31,7 +31,7 @@ multiple experiment_ids from the Omon table_id, all from 3 different source_ids:
31
31
``` {code-cell} ipython3
32
32
# Define our query
33
33
query = dict(
34
- variable_id=["tos ", "o2"],
34
+ variable_id=["thetao ", "o2", "tos "],
35
35
experiment_id=["historical", "ssp585"],
36
36
table_id=["Omon"],
37
37
source_id=["ACCESS-ESM1-5", "AWI-CM-1-1-MR", "FGOALS-f3-L"],
@@ -54,10 +54,10 @@ cat_subset.df.groupby("source_id")[["experiment_id", "variable_id", "table_id"]]
54
54
```
55
55
56
56
As you can see, the search results above include source_ids for which we only
57
- have one of the two variables, and one or two of the two
57
+ have one or two of the three variables, and one of the two experiment ids.
58
58
59
- We can tell intake-esm to discard any source_id that doesn’t have both variables
60
- ` ["tos ", "o2"] ` and both experiments
59
+ We can tell intake-esm to discard any source_id that doesn’t have all three variables
60
+ ` ["thetao ", "o2", "tos "] ` and both experiments
61
61
` ["historical", "ssp585"] ` by passing ` require_all_on=["source_id"] `
62
62
to the search method:
63
63
0 commit comments