salem
stable
Examples
Frequently Asked Questions
What’s New
Installation
Xarray accessors
Graphics
WRF tools
Map transformations
Recipes
API reference
Grid
salem.Grid
Grid attributes
Grid methods
salem.Grid.extent_in_crs
salem.Grid.ij_to_crs
salem.Grid.almost_equal
salem.Grid.region_of_interest
salem.Grid.regrid
salem.Grid.transform
salem.Grid.map_gridded_data
salem.Grid.grid_lookup
salem.Grid.lookup_transform
salem.Grid.to_dict
salem.Grid.from_dict
salem.Grid.to_json
salem.Grid.from_json
salem.Grid.to_dataset
salem.Grid.to_geometry
Georeferencing utils
Graphics
Input/output
xarray
Old-style datasets
Other
salem
API reference
salem.Grid.to_dataset
Edit on GitHub
salem.Grid.to_dataset
Grid.
to_dataset
(
)
[source]
Creates an empty dataset based on the Grid’s geolocalisation.
Returns
:
An xarray.Dataset object ready to be filled with data