Skip to content

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

Description

@eardkdw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions