wrf.has_time_coord

wrf.has_time_coord(wrfin)

Return True if the input file or sequence contains the time coordinate variable.

The time coordinate is named ‘XTIME’.

Parameters:wrfin (netCDF4.Dataset, Nio.NioFile, or an iterable) – Input WRF ARW NetCDF data as a netCDF4.Dataset, Nio.NioFile or an iterable sequence of the aforementioned types.
Returns:True if the input contains the time coordinate variable, False otherwise.
Return type:bool