salem.grid_from_dataset

salem.grid_from_dataset(ds)[source]

Find out if the dataset contains enough info for Salem to understand.

ds can be an xarray dataset or a NetCDF dataset, or anything that resembles it.

Returns a Grid if successful, None otherwise