<jupyter_start><jupyter_text>Test rechunked CONUS404<jupyter_code>import fsspec
import xarray as xr
import hvplot.xarray
import intake
import os
import warnings
warnings.filterwarnings('ignore')<jupyter_output><empty_output><jupyter_text>Open dataset from Intake Catalog* Automatically select on-prem dataset from /caldera if running on prem (Denali/Tallgrass)* Automatically select cloud data on S3 if not running on prem To test whether we are on-prem, we see if SLURM_CLUSTER_NAME is defined.  If SLURM_CLUSTER_NAME is not defined, the user is either not on Denali/Tallgrass on the main node, which they should not be on<jupyter_code>url = 'https://raw.githubusercontent.com/nhm-usgs/data-pipeline-helpers/main/conus404/conus404_intake.yml'
cat = intake.open_catalog(url)
list(cat)
if 'SLURM_CLUSTER_NAME' in os.environ:
    ds = cat['conus404-2017-onprem'].to_dask()
else:
    ds = cat['conus404-2017-cloud'].to_dask()
ds
ds.SNOW<jupyter_output><empty_output><jupyter_text>Load the full domain at a specific time step<jupyter_code>%%time
da = ds.SNOW.sel(time='2017-03-01 00:00').load()
da.hvplot.quadmesh(x='lon', y='lat', rasterize=True, 
                             geo=True, tiles='OSM', alpha=0.7, cmap='turbo')<jupyter_output><empty_output><jupyter_text>Load the full time series at a specific grid cell<jupyter_code>%%time
da = ds.T2.isel(south_north=600,west_east=600).load()
da.hvplot(x='time', grid=True)<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup