astrolabsoftware / fink-science-portal

Fink Science Portal
https://fink-portal.org
Apache License 2.0
7 stars 4 forks source link

Date search: jd is not recognized #168

Open JulienPeloton opened 3 years ago

JulienPeloton commented 3 years ago

with error:

ValueError: Input values did not match any of the formats where the format keyword is optional: {'datetime': TypeError('Input 
values for datetime class must be datetime objects'), 'ymdhms': ValueError('input must be dict or table-like'), 'iso': 
ValueError('Time 2459314 does not match iso format'), 'isot': ValueError('Time 2459314 does not match isot format'), 'yday': 
ValueError('Time 2459314 does not match yday format'), 'datetime64': TypeError('Input values for datetime64 class must be 
datetime64 objects'), 'fits': ValueError('Time 2459314.7213079 does not match fits format'), 'byear_str': ValueError('Time 
2459314.7213079 does not match byear_str format'), 'jyear_str': ValueError('Time 2459314.7213079 does not match 
jyear_str format'), 'astropy_time': TypeError('Input values for astropy_time class must all be same astropy Time type.')}

Action item: specify the argument format='jd' when reading it.

JulienPeloton commented 3 months ago

Is it still True?