Closed AnsleyManke closed 6 years ago
These are addressed. There's potential for more improvement on plots - I plot only ranges of whole minutes, not subsets of minutes, but we can work on that if needed.
With the dataset and variable temp_on_time defined as above,
! row-headers include fractional seconds.
yes? list/t="2-sep-2017:01:00:02":"2-sep-2017:01:00:03"/prec=5 temp_on_time
VARIABLE : RESHAPE(TEMP_CTD_MEAN, T[GT=TAX])
FILENAME : sub_hz_a.nc
FILEPATH : /home/data/saildrone/examples/
SUBSET : 6 points (TIME)
02-SEP-2017 01:00:02.0 / 18011: 20.221
02-SEP-2017 01:00:02.2 / 18012: 20.218
02-SEP-2017 01:00:02.4 / 18013: 20.209
02-SEP-2017 01:00:02.6 / 18014: 20.202
02-SEP-2017 01:00:02.8 / 18015: 20.190
02-SEP-2017 01:00:03.0 / 18016: 20.191
! specify time with fractional seconds and it's translated to the right timestep
yes? list/t="2-sep-2017:01:00:02.4"/prec=5 temp_on_time
VARIABLE : RESHAPE(TEMP_CTD_MEAN, T[GT=TAX])
FILENAME : sub_hz_a.nc
FILEPATH : /home/data/saildrone/examples/
TIME : 02-SEP-2017 01:00:02.4
20.209
Attached is the plot from the end of the first set of commands above, showing labels on the time axis having enough resolution:
yes? plot/t="2-sep-2017:01:00":"2-sep-2017:01:01" temp_on_time
There will be Saildrone data with sampling intervals less than a second. There's a cooked-up test file at /home/data/saildrone/examples/sub_hz_a.nc
Ferret will need a couple of enhancements to be able to work with these:
1) Listings showing date/time do not list the fractional seconds along with the date/time
2) Command syntax for date/time doesn't allow times with fractional seconds
3) Plots of subsets smaller than a minute plot on an axis that's a full minute long, and it's labeled only at the ends.
yes? plot/t="2-sep-2017:01:00:10":"2-sep-2017:01:00:30" temp_on_time
Ferret has a MODE CALENDAR. If you turn it off, it'll make listings and plots using the coordinates, untranslated to calendar units. This can be useful, to just make a plot with a simple axis labeled "days" for instance. This would be an option here - except that the gigantic values of seconds-since-1970 make the code that would label axis tic marks fail.
4) Regridding to other time axes works but inconsistently.
@eugeneburger @kevin-obrien @noaaroland