Overview¶
This notebook demonstrates a complete analysis workflow using GDEX ARCO (Zarr-format) data, from discovery through analysis and visualization.
Verify ARCO availability and explore variables
Open the Zarr store lazily with xarray + Dask
Select a region and time period
Compute a diagnostic and visualize the result
Prerequisites¶
| Concepts | Importance | Notes |
|---|---|---|
| zarr_intro | Necessary | ARCO concepts and opening Zarr stores |
| Dask | Necessary | Parallel/lazy computation |
| matplotlib / cartopy | Necessary | Visualization |
Time to learn: 30 minutes
Imports¶
import requests
import zarr
import xarray as xr
import fsspec
import dask
import matplotlib.pyplot as plt
import cartopy.crs as ccrsStep 1 — Verify ARCO Availability¶
BASE_URL = "https://gdex.ucar.edu"
DSID = "d633000"
# TODO: verify ARCO is available
# arco = requests.get(f"{BASE_URL}/api/has_arco/{DSID}/").json()
# assert arco["data"]["has_arco"], "No ARCO data for this dataset"Step 2 — Open the Zarr Store with Dask¶
Passing chunks="auto" to xr.open_zarr() enables Dask-backed lazy arrays for out-of-core computation.
# TODO: open the Zarr store
# ZARR_URL = "https://..." # ARCO store URL
# ds = xr.open_zarr(fsspec.get_mapper(ZARR_URL), chunks="auto")
# dsStep 3 — Select Region and Time Period¶
# TODO: select a subset
# region = ds["2m_temperature"].sel(
# latitude=slice(60, 20),
# longitude=slice(-30, 40),
# time=slice("2020-01", "2020-03")
# )Step 4 — Compute and Visualize¶
# TODO: compute a monthly mean and plot
# monthly_mean = region.resample(time="1ME").mean().compute()
# monthly_mean.isel(time=0).plot(
# subplot_kws={"projection": ccrs.PlateCarree()},
# transform=ccrs.PlateCarree()
# )
# plt.show()Summary¶
ARCO Zarr data combined with Dask enables scalable analysis of GDEX datasets without local storage. The workflow is: verify → open lazily → subset → compute → visualize.
What’s next?¶
See the workflow notebooks (e.g., era5.ipynb) for dataset-specific analysis examples.