pyinterp.geohash.to_xarray

Contents

pyinterp.geohash.to_xarray#

pyinterp.geohash.to_xarray(hashes, data)[source]#

Get the XArray grid representing the GeoHash grid.

Parameters:
  • hashes (NDArray1DStr) – Geohash codes.

  • data (NDArray1D) – The data associated with the codes provided.

Returns:

The XArray grid representing the GeoHash grid.

Return type:

xr.DataArray