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<Readable>Zarr group root.
dimIndicesDimIndicesPropsDimension mapping. See DimIndicesProps.
levelInfosstring[]Multiscale level paths.
multiscalebooleanWhether the dataset is multiscale.
zarrVersion3 | 2 | nullZarr version (2 or 3).

Returns​

Promise<XYLimitsProps>

A XYLimitsProps object describing the coordinate bounds.