stilt.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. Use it to regrid a flux field onto the footprint grid, or with other tools that read CF grids. To sum a footprint onto this grid, pass the grid itself tofoot.stilt.aggregate. Projected grids needpyproj.- Return type: