xradar.model.get_time_dataarray#
- xradar.model.get_time_dataarray(time, nrays, date_str)[source]#
Create Time DataArray.
- Parameters:
time (
float
ornumpy.ndarray
) – time resolution or array with time values (‘seconds since’-notation).nrays (
int
) – number of raysdate_str (
str
) – String with the form ‘YYYY-mm-ddTHH:MM:SS’ depicting the reference time.
- Returns:
time_da (
xarray.DataArray
) – Time DataArray.