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.

POSIX File System Access on GDEX

Authors
Affiliations
NSF NCAR
NSF NCAR
NSF NCAR

Overview

Users with NCAR HPC access (Derecho, Casper) can read GDEX datasets directly from the POSIX filesystem without downloading them, enabling fast local I/O at petabyte scale.

  1. Locate a GDEX dataset on the NCAR filesystem

  2. Read data directly with xarray

  3. Understand path conventions

Prerequisites

ConceptsImportanceNotes
NCAR HPC account (Derecho or Casper)NecessaryFilesystem access
xarrayNecessaryReading netCDF/GRIB data
gdex_introHelpfulDataset ID conventions
  • Time to learn: 15 minutes


Imports

GDEX POSIX Path Conventions

GDEX datasets are mounted at /gdex/data/ on NCAR systems. Each dataset occupies a directory named by its ID (e.g., ds633000/).

Reading Data with xarray

Once you know the path to a file or directory, open it with xr.open_dataset or xr.open_mfdataset for lazy, memory-efficient access.

Selecting a Subset in Memory

Use xarray’s .sel() and .isel() to extract the region and time period you need before loading into memory.


Summary

POSIX access on NCAR HPC systems eliminates download time for GDEX datasets. Pair it with xarray lazy loading to work with datasets far larger than available RAM.

What’s next?

See zarr_intro.ipynb for cloud-optimized access from outside NCAR, or tds_intro.ipynb for remote OPeNDAP access.