wrf.is_standard_wrf_var

wrf.is_standard_wrf_var(wrfin, varname)

Return True if the variable is a standard WRF variable and not a diagnostic.

If wrfin is a sequence, only the first file is used.

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.
  • varname (str) – The variable name.
Returns:

True if the variable is a standard WRF variable, otherwise False.

Return type:

bool