is_2d_regular_grid#

compliance_checker.cfutil.is_2d_regular_grid(nc, variable)[source]#

Returns True if the variable is a 2D Regular grid.

Parameters:
  • nc (netCDF4.Dataset) – An open netCDF dataset

  • variable (str) – name of the variable to check