sloop.models.hycom3d.io.read_regional_grid

sloop.models.hycom3d.io.read_regional_grid(grid_file, grid_loc=None)[source]

Read the coordinates stored in a regional grid

Parameters
  • grid_file (str) – Grid .a or .b file name

  • grid_loc (None or str) – Grid to read as one or several of “p”, “q”, “u” or “v”

Returns

Dataset that contains the coordinates

Return type

xarray.Dataset