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.

NA CORDEX diagnostic plots

Introduction

  • This notebook illustrates how to make diagnostic plots using the NA-CORDEX dataset hosted on NCAR’s Geoscience Data Exchange (GDEX)

  • https://gdex.ucar.edu/datasets/d316010/

  • 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/d316010/catalogs/d316010-https.json

Set up Dask Cluster

Data Loading

  • Load NA CORDEX data from GDEX using an intake catalog

Loading...

Load data into xarray

Loading...
<ArrowExtensionArray> ['https://boreas.hpc.ucar.edu:6443/gdex-data/d316010/day/tmax.eval.day.NAM-44i.raw.zarr'] Length: 1, dtype: large_string[pyarrow]
Loading...

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

Dataset dictionary keys:
 dict_keys(['tmax.day.eval.NAM-44i.raw'])
Loading...

Data Analysis

Functions for Plotting

Helper Function to Create a Single Map Plot

Helper Function for Finding Dates with Available Data

Function Producing Maps of First, Middle, and Final Timesteps

Function Producing Statistical Map Plots

Function Producing Time Series Plots

Also show which dates have no available data values, as a rug plot.

Produce Diagnostic Plots

Plot First, Middle, and Final Timesteps for Several Output Runs (less compute intensive)

<Figure size 1800x1200 with 12 Axes>
CPU times: user 2.29 s, sys: 240 ms, total: 2.53 s
Wall time: 28.8 s