opencadc / caom2tools

Common Archive Observation Model - data engineering tools
2 stars 13 forks source link

Time ranges are not always intervals. #70

Closed ijiraq closed 6 years ago

ijiraq commented 6 years ago

The CAOM2 validation code for TimeWCS expects that bounds and ranges are intervals. But intervals require (it appears) that Value1 < Value2. A valid 'exposure' in CAOM2 can have exptime=0. (BIAS for example) so that validate is not correct.

The validation checker needs to be updated.

NOTE: There should be some explanation of why delta_t == 0 was considered wrong, to begin with.