Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Examples: SWOT, NISAR, model output and other data

A store holds any raster time series on one north-up grid in an EPSG coordinate system. This page lists the worked examples in the repository and the route for each kind of data. Each example has a README with its commands, run from a checkout of the repository.

Worked examples

ExampleDataWhat you needREADME
Sentinel-2 monthly compositesPlanetary Computer, publicNothing beyond the repository. See Sentinel-2 for your areasentinel2_pc
SWOT water surface elevationTwo SWOT L2 HR Raster 100 m NetCDF files, Roanoke region, about 60 MB eachA free NASA Earthdata login to download them from PO.DAACswot_raster
NISAR backscatterTwo NISAR L2 GCOV windows, HH and HV, in linear power and dBA free NASA Earthdata login, and two granules from ASF DAACnisar
SWOT intensityGeocoded SWOT amplitude of Wax LakeInputs from a private project. The README names the public source granulesswot_intensity
Water masksNDWI and water fraction derived from the Sentinel-2 compositesThe output of the Sentinel-2 examplewater_masks
PNG frames36 monthly true-color PNG frames with world filesThe output of the Sentinel-2 examplepng_frames
Your own GeoTIFFs, end to endAny dated GeoTIFFs on one gridYour filesYour own data, end to end
Notebook playerThe public PNG demo storechronozarr[notebook] and a local Jupyter or VS Code notebookanywidget
leafmap mapThe public demo storechronozarr[leafmap]leafmap

Routes by kind of data

DataRoute
Dated GeoTIFFs or COGs on disk or in S3chronozarr convert on the directory, a quoted glob or the s3:// prefix. See Convert your data
COGs at URLs, with dates in a tablechronozarr convert on a CSV or JSON manifest of URLs and dates. See Convert your data
A NetCDF file or a Zarr store with a time axischronozarr convert FILE OUT --variable NAME. See Convert your data
An xarray DataArray in a script or notebookchronozarr.encode(da, "my_store", crs="EPSG:32618"). See Python API
Rendered PNG frames from another toolchronozarr convert on a manifest of frames with world files. See PNG frames
Sentinel-2 imagery that you have not downloadedThe Sentinel-2 pipeline. See Sentinel-2 for your area

Model output

Model output on a regular grid converts like any other NetCDF or Zarr variable. A grid in latitude and longitude uses EPSG:4326:

chronozarr convert model.nc model_store --variable tas --crs EPSG:4326

--crs is needed only when the file does not declare its coordinate system. --dims time=NAME,y=NAME,x=NAME names the axes when they are not time, y and x or the usual aliases such as lat and lon. convert reverses rows that run from south to north, so the store is north-up. A store cannot hold a curvilinear or rotated grid. Regrid such output to a regular grid first.