polartoolkit.get_grid_region#
- get_grid_region(grid)[source]#
Returns the region of the specified grid.
- Parameters:
grid (str or xarray.DataArray) â Input grid to get region from. Filename string or loaded grid.
- Returns:
array with the region boundary in the format (xmin, xmax, ymin, ymax)
- Return type: