Open eardkdw opened 5 years ago
There seems to be a bug in the time-axis calculations. Minimum example using sensor_data.nc from https://github.com/ncasuk/ncas-isc/blob/master/python/exercises/example_data/sensor_data.nc
sensor_data.nc
cis plot temp:sensor_data.nc
works as expected, but
cis plot temp:sensor_data.nc --xmin "2017-02-22T10:00:08" --xmax "2017-02-22T11:00:08"
produces a blank plot. Further investigation reveals that:
cis plot temp:sensor_data.nc --xmin "2017-02-23T10:00:08" --xmax "2017-02-23T11:00:08"
produces the expected data for the 22nd, despite the time dimension in the netCDF file being ""seconds since 2017-02-22 10:00:08", suggesting an off-by-one error on the days?
Thanks Dan - that's bizarre! I'll check it out soon hopefully.
There seems to be a bug in the time-axis calculations. Minimum example using
sensor_data.nc
from https://github.com/ncasuk/ncas-isc/blob/master/python/exercises/example_data/sensor_data.nccis plot temp:sensor_data.nc
works as expected, but
cis plot temp:sensor_data.nc --xmin "2017-02-22T10:00:08" --xmax "2017-02-22T11:00:08"
produces a blank plot. Further investigation reveals that:
cis plot temp:sensor_data.nc --xmin "2017-02-23T10:00:08" --xmax "2017-02-23T11:00:08"
produces the expected data for the 22nd, despite the time dimension in the netCDF file being ""seconds since 2017-02-22 10:00:08", suggesting an off-by-one error on the days?