makeTimeLikeDA¶
- astraeus.xarrayIO.makeTimeLikeDA(t, time, units, time_units, name=None)¶
Make Xarray DataArray with time-like dimensions.
Parameters¶
- t: array
1D array of time-dependent values
- time: array
1D array of time values
- units: str
Units of t (e.g., ‘K’)
- time_units: str
Time units (e.g., ‘BJD_TDB’)
- name: str
Name of time-like array (e.g., ‘detector_temperature’)
Returns¶
- da: object
Xarray DataArray