marEx.specify_grid

marEx.specify_grid(grid_type=None, fpath_tgrid=None, fpath_ckdtree=None)[source]

Set the global grid specification that will be used by all plotters.

Parameters:
  • grid_type (str | None) – str, either ‘gridded’ or ‘unstructured’. If specified, this will be used as the primary method to determine grid type.

  • fpath_tgrid (str | Path | None) – Path to the triangulation grid file

  • fpath_ckdtree (str | Path | None) – Path to the pre-computed KDTree indices directory

Return type:

None