wrf.has_time_coord¶
-
wrf.
has_time_coord
(wrfnc)¶ Return True if the input file or sequence contains the time coordinate variable.
The time coordinate is named ‘XTIME’.
Parameters: wrfnc ( netCDF4.Dataset
orNio.NioFile
) – A single NetCDF file object.Returns: True if the netcdf file contains the time coordinate variable, False otherwise. Return type: bool