Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

DART-CAM6 reanalysis diagnostic plots

Introduction

  • This notebook illustrates how to make diagnostic plots hosted from the DART reanalysis stored on NCAR’s GDEX

  • https://gdex.ucar.edu/datasets/d345001/#

  • This data is open access and can be accessed via 2 protocols

    1. HTTPS (if you have access to NCAR’s HPC)

    1. OSDF using an intake-ESM catalog.

/glade/derecho/scratch/harshah
https://osdata.gdex.ucar.edu/d345001/catalogs/d345001-https.json

Set up Dask Cluster

Data Loading

  • Load DART Reanalysis data from GDEX using an intake catalog

Loading...

Load data into xarray using catalog

Loading...
<ArrowExtensionArray> ['https://boreas.hpc.ucar.edu:6443/gdex-data/d345001/weekly/PS.zarr'] Length: 1, dtype: large_string[pyarrow]
Loading...

Convert catalog subset to a dictionary of xarray datasets, and use the first one.


--> The keys in the returned dictionary of datasets are constructed as follows:
	'variable.frequency.component.vertical_levels'
Loading...
Loading...

Dataset dictionary keys:
 dict_keys(['PS.weekly.atm.1'])
Loading...
Loading...

Data Analysis

Define Plot Functions

Get consistently shaped data slices for both 2D and 3D variables.

Get lat/lon dimension names

Produce Time Series Spaghetti Plot of Ensemble Members

Actually Create Spaghetti Plot Showing All Ensemble Members

CPU times: user 6.95 s, sys: 434 ms, total: 7.38 s
Wall time: 26.3 s
<Figure size 2500x2000 with 3 Axes>

Release dask workers