Skip to main content

getXYLimits()

function getXYLimits(
root,
dimIndices,
levelInfos,
multiscale,
zarrVersion): Promise<XYLimitsProps>;

Retrieve the geographic coordinate limits (min/max latitude/longitude) for a Zarr array.

Parameters

ParameterTypeDescription
rootLocation<FetchStore>Zarr group root.
dimIndicesDimIndicesPropsDimension mapping. See DimIndicesProps.
levelInfosstring[]Multiscale level paths.
multiscalebooleanWhether the dataset is multiscale.
zarrVersion2 | 3 | nullZarr version (2 or 3).

Returns

Promise<XYLimitsProps>

A XYLimitsProps object describing the coordinate bounds.