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.from_json
Edit on GitHub
salem.Grid.from_json
classmethod
Grid.
from_json
(
fpath
)
[source]
Create a Grid from a json file
Parameters
:
fpath
str, required
the path to the file to open
Returns
:
a salem.Grid instance
See also
to_json
create a json file