Xarray converts time to UTC when TZ is present in the source. This makes it's way to various plotting routines, eg. transect.
ds = emsarray.open_dataset('https://thredds.nci.org.au/thredds/dodsC/fx3/gbr4_H4p0_ABARRAr2_OBRAN2020_FG2Gv3_Dhnd/gbr4_simple_2022-10-01.nc')
ds['time'][0].data
array('2022-09-30T14:00:00.000000000', dtype='datetime64[ns]')
Users typically expect the timepoints in the netcdf file to be shown as is.
So this ticket is a request for an additional argument to emsarray.open_dataset() for make_time_local.
Xarray converts time to UTC when TZ is present in the source. This makes it's way to various plotting routines, eg. transect.
Users typically expect the timepoints in the netcdf file to be shown as is.
So this ticket is a request for an additional argument to
emsarray.open_dataset()formake_time_local.