wrf.is_staggered

wrf.is_staggered(wrfin, var)

Return True if the variable is on a staggered grid.

Parameters:
  • wrfin (netCDF4.Dataset, Nio.NioFile, or an iterable) – WRF-ARW NetCDF data as a netCDF4.Dataset, Nio.NioFile or an iterable sequence of the aforementioned types.
  • var (array) – An array object which contains a shape attribute.
Returns:

True if the variable is on a staggered grid, otherwise False.

Return type:

bool