You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error, in section Clusters observed by DESI of Clusters.ipynb,
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
/tmp/ipykernel_69/3226039553.py in <module>
6 download(url, './tmp/')
7
----> 8 cats[t] = fitsio.read('./tmp/desihigh_{}'.format(os.path.basename(url)))
9
10 print(t, './tmp/desihigh_{}'.format(os.path.basename(url)))
/srv/conda/envs/notebook/lib/python3.7/site-packages/fitsio/fitslib.py in read(filename, ext, extver, columns, rows, header, case_sensitive, upper, lower, vstorage, verbose, trim_strings, **keys)
137 read_kwargs['rows'] = rows
138
--> 139 with FITS(filename, **kwargs) as fits:
140
141 if ext is None:
/srv/conda/envs/notebook/lib/python3.7/site-packages/fitsio/fitslib.py in __init__(self, filename, mode, lower, upper, trim_strings, vstorage, case_sensitive, iter_row_buffer, write_bitcols, ignore_empty, verbose, clobber, **keys)
518
519 self._did_create = (create == 1)
--> 520 self._FITS = _fitsio_wrap.FITS(filename, self.intmode, create)
521
522 def close(self):
OSError: FITSIO status = 108: error reading from FITS file
Error reading data buffer from file:
./tmp/desihigh_redmapper_dr8_public_v5.10_catalog.fits
ffopen could not interpret primary array header of file:
./tmp/desihigh_redmapper_dr8_public_v5.10_catalog.fits
I've tried both in Binder and Colab. BTW, if we could use astropy to read the fits file would be better since Colab doesn't have fitsio by default, we could install it, but would be simpler if we use astropy...
The text was updated successfully, but these errors were encountered:
I'm getting the following error, in section
Clusters observed by DESI
ofClusters.ipynb
,I've tried both in Binder and Colab. BTW, if we could use astropy to read the fits file would be better since Colab doesn't have
fitsio
by default, we could install it, but would be simpler if we use astropy...The text was updated successfully, but these errors were encountered: