Initiating PSG instance returns "ValueError:could not convert string 'Your' to float64"
After installing pypsg, I attempted to initiate a pypsg instance, per the instructions in the JupyteR notebook:
import pyspg
psg = pypsg.PSG()
This returns the following:
Testing connection to PSG at https://psg.gsfc.nasa.gov/api.php ...
ValueError: could not convert string to float: 'Your'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tessa/.local/lib/python3.10/site-packages/pypsg/psg.py", line 19, in __init__
self.run(self.default_config)
File "/home/tessa/.local/lib/python3.10/site-packages/pypsg/psg.py", line 75, in run
reply_data_np = np.loadtxt(StringIO('\n'.join(reply_data)))
File "/home/tessa/.local/lib/python3.10/site-packages/numpy/lib/npyio.py", line 1373, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
File "/home/tessa/.local/lib/python3.10/site-packages/numpy/lib/npyio.py", line 1016, in _read
arr = _load_from_filelike(
ValueError: could not convert string 'Your' to float64 at row 0, column 1.
Not sure where the "Your" is coming from--don't know if this is a result of numpy updates since pypsg was created, or what, exactly.
Edited by Tessa Fisher