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.

CLI reference

Generated from gaia --help.

gaia COMMAND

Commands:

gaia stage

gaia stage COMMAND --config STR [OPTIONS]

Stage datasets clipped to an AOI and time range.

Commands:

Parameters:

gaia stage synoptic

gaia stage synoptic INPUT START END OUTPUT [ARGS]

Weather station reports from the Synoptic API, clipped to an AOI.

Every report is kept, as a CF ragged array (see dev/stations.md). Requires SYNOPTIC_TOKEN (https://docs.synopticdata.com).

Parameters:

gaia stage prism

gaia stage prism INPUT START END OUTPUT [ARGS]

PRISM daily 800 m grids, clipped to an AOI.

Data come from the gaia PRISM cache (s3://gaia/public/prism). Grids not yet cached are fetched from PRISM, which requires AWS_PROFILE with write access to the cache (see dev/prism.md).

Parameters:

gaia stage hrrr

gaia stage hrrr INPUT START END OUTPUT [ARGS]

HRRR hourly analysis, clipped to an AOI.

Precipitation rate (kg m-2 s-1) is staged as hourly accumulation (mm). See dev/hrrr.md.

Parameters:

gaia stage nlcd

gaia stage nlcd INPUT OUTPUT [ARGS]

Annual NLCD land cover, clipped to an AOI.

Parameters:

gaia stage dem

gaia stage dem INPUT OUTPUT [ARGS]

Digital elevation model, clipped to an AOI.

See dev/dem.md.

Parameters:

gaia stage soil

gaia stage soil INPUT OUTPUT [ARGS]

Soil property maps, clipped to an AOI.

See dev/soil.md.

Parameters:

gaia stage burn-severity

gaia stage burn-severity INPUT OUTPUT [ARGS]

USFS BAER soil burn severity map, clipped to an AOI.

See dev/burn-severity.md.

Parameters:

gaia align

gaia align INPUT OUTPUT [ARGS]

Align staged rasters onto one grid and time step, writing a new store.

Each raster is first aggregated in time to the coarsest product’s intervals (using its time_bounds and cell_methods), then regridded once from its native grid onto the coarsest product’s grid.

Parameters:

gaia catalog

STAC catalog of staged stores.

gaia catalog rebuild

gaia catalog rebuild PREFIX

Write a STAC catalog of the gaia stores under PREFIX.

Finds the Items that gaia stage/gaia align write next to their stores, skips any whose store was deleted, and writes PREFIX/catalog.json. Requires AWS credentials for an s3:// PREFIX.

Parameters:

gaia prism

Manage the gaia PRISM cache.

gaia prism fill

gaia prism fill START END [ARGS]

Fetch PRISM grids into the gaia cache (s3://gaia/public/prism).

Downloads grids that are missing and, unless --no-revalidate, re-fetches provisional grids that PRISM has since re-released. Requires AWS_PROFILE with write access to the cache.

Parameters:

gaia prism rebuild-catalog

gaia prism rebuild-catalog

Regenerate the cache’s STAC catalogs and collection from its items.

The catalogs are normally updated as grids are cached; use this to repair them. Requires AWS_PROFILE with write access to the cache.