xradar.model.get_time_dataarray#

xradar.model.get_time_dataarray(time, nrays, date_str)[source]#

Create Time DataArray.

Parameters:
  • time (float or numpy.ndarray) – time resolution or array with time values (‘seconds since’-notation).

  • nrays (int) – number of rays

  • date_str (str) – String with the form ‘YYYY-mm-ddTHH:MM:SS’ depicting the reference time.

Returns:

time_da (xarray.DataArray) – Time DataArray.