stilt.config.Grid.to_xarray#
- Grid.to_xarray()[source]#
Return this grid as a CF-style xarray Dataset of cell centers.
The result carries 1-D
lon/lat(or projectedx/y) coordinates matching the footprint’s native output grid, plus acrsgrid-mapping variable. This is the interchange form of the grid: pass it as the target ofstilt.Footprint.aggregate(), or hand it to other tools via the shared xarray/CF grid convention.pyprojis required only for non-longlat projections.- Return type: