Skip to content

Commit e96181b

Browse files
weiji14jbuseckedcherian
committed
Edit CMIP6 catalog csv link and use squeeze
Co-Authored-By: Julius Busecke <[email protected]> Co-Authored-By: dcherian <[email protected]>
1 parent 4cf7284 commit e96181b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

intermediate/remote_data_access.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"metadata": {},
7676
"outputs": [],
7777
"source": [
78-
"df = pd.read_csv(\"https://storage.googleapis.com/cmip6/cmip6-zarr-consolidated-stores.csv\")\n",
78+
"df = pd.read_csv(\"https://cmip6.storage.googleapis.com/pangeo-cmip6.csv\")\n",
7979
"print(f\"Number of rows: {len(df)}\")\n",
8080
"df.head()"
8181
]
@@ -125,7 +125,7 @@
125125
"id": "9ddfad3e-d4de-4c0a-be6f-53f1f7928f51",
126126
"metadata": {},
127127
"source": [
128-
"There's 274 modelled scenarios for SSP5.\n",
128+
"There's 272 modelled scenarios for SSP5.\n",
129129
"Let's just get the URL to the first one in the list for now."
130130
]
131131
},
@@ -229,8 +229,8 @@
229229
"metadata": {},
230230
"outputs": [],
231231
"source": [
232-
"zos_2015jan = ds.zos.sel(time=\"2015-01-16\").isel(time=0)\n",
233-
"zos_2100dec = ds.zos.sel(time=\"2100-12-16\").isel(time=0)"
232+
"zos_2015jan = ds.zos.sel(time=\"2015-01-16\").squeeze()\n",
233+
"zos_2100dec = ds.zos.sel(time=\"2100-12-16\").squeeze()"
234234
]
235235
},
236236
{

0 commit comments

Comments
 (0)