Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-axis min and max result in no displayed data #18

Open
eardkdw opened this issue Sep 27, 2018 · 1 comment
Open

X-axis min and max result in no displayed data #18

eardkdw opened this issue Sep 27, 2018 · 1 comment

Comments

@eardkdw
Copy link

eardkdw commented Sep 27, 2018

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

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?

@duncanwp
Copy link
Member

Thanks Dan - that's bizarre! I'll check it out soon hopefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants