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.

Access Urban Heat MiniCubes through the NCAR GDEX

Required Packages

Please make sure to installed the packages before moving forward

  • matplotlib

  • xarray

  • numpy

  • scipy

  • pillow

  • statsmodels

Step 1 - Research Question

If we filter and downscale land surface temperature data from the high-resolution modality to match the resolution of the low-resolution modality brightness temperatures, will the spatial variabilities of the two temperature variables be equivalent?

Step 2 - Locate the Dataset

On the NCAR GDEX portal, go to the Data Access tab for the Urban Heat MiniCubes dataset to find the intake-ESM catalogs needed to access data. In this notebook we will use GDEX POSIX catalog.

Step 3 - Open the Data

['/gdex/data/d539393/high_resolution/data/hresgrid_CYUL_202201251538.nc', '/gdex/data/d539393/high_resolution/data/hresgrid_CYUL_202202181538.nc', '/gdex/data/d539393/high_resolution/data/hresgrid_CYUL_202202261538.nc', '/gdex/data/d539393/high_resolution/data/hresgrid_CYUL_202203221538.nc', '/gdex/data/d539393/high_resolution/data/hresgrid_CYUL_202203301538.nc']
['/gdex/data/d539393/low_resolution/data/lresgrid_CYUL.nc', '/gdex/data/d539393/low_resolution/data/lresgrid_CYYZ.nc', '/gdex/data/d539393/low_resolution/data/lresgrid_KATL.nc', '/gdex/data/d539393/low_resolution/data/lresgrid_KBIL.nc', '/gdex/data/d539393/low_resolution/data/lresgrid_KBWI.nc']
Loading...
Loading...

Find the timestep from the lowres file that overlaps with the highres file.

array('2022-01-25T15:38:33Z', dtype=object)
datetime.datetime(2022, 1, 25, 15, 38, 33)
Loading...

Step 4 - Focus on the Variable addressing the Research Question

We will be looking at GOES band 14 brightness temperature and Landsat land surface temperature (LST).

<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>

Now, let’s see what happens when we filter and coarsen a Landsat LST image

<Figure size 640x480 with 2 Axes>
<Figure size 1100x400 with 3 Axes>

Step 5 - Data Analysis

/glade/work/jstarfeldt/conda-envs/heat/lib/python3.13/site-packages/numpy/lib/_nanfunctions_impl.py:2015: RuntimeWarning: Degrees of freedom <= 0 for slice.
  var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
<Figure size 2400x3200 with 48 Axes>