Peter Sels
May 8, 2021

--

Hi CHongChong He, nice topic. When I try the code, I get:

ValueError: subformat 'date' must match one of ['float', 'long', 'decimal', 'str', 'bytes'] for format jd

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/usr/local/Cellar/python@3.8/3.8.7/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1895, in __call__

return self.func(*args)

...

File "/usr/local/lib/python3.8/site-packages/astropy/time/core.py", line 372, in _init_from_vals

self._time = self._get_time_fmt(val, val2, format, scale,

File "/usr/local/lib/python3.8/site-packages/astropy/time/core.py", line 438, in _get_time_fmt

raise ValueError(

ValueError: Input values did not match the format class jd:

ValueError: subformat 'date' must match one of ['float', 'long', 'decimal', 'str', 'bytes'] for format jd

So a time format error. Any tips on how to fix that?...

I am on Mac, and have

astropy 4.2.1

astroquery 0.4.1

cheers,

Peter

--

--

Peter Sels
Peter Sels

Written by Peter Sels

Interested in all things Beautiful, especially Computational ones.

Responses (1)