Contents:
Reads the time variable of a NetCDF time. If the time variable contains a ‘units’ attribute, then a list of py:class:datetime.datetime is returned. Else, a list of floats is returned.
filenaeme (str) – NetCDF file name
time_varname (str) – Name of the time variable