stilt.config.Grid.to_xarray#
- Grid.to_xarray()[source]#
Return the grid as a CF-1.8 dataset of cell centers.
The dataset has
lonandlatcoordinates (xandywhen projected) matching the footprint, and acrsgrid-mapping variable. Pass it tostilt.Footprint.aggregate()as a target, or to other tools that read CF grids. Projected grids needpyproj.- Return type: