Closed Hawkmoon95 closed 5 months ago
Hey, so it seems that if you download eleanor via pip, you actually don't get the newest version. So using the version on GitHub should fix the error. I had the same issue, and replacing the if statement in line 229 with the following worked for me!
`if self.sector < 27: cads = np.arange(g-7, g+8, 1) elif self.sector < 56:
cads = np.arange(g-2, g+3, 1)
else: cads = np.arange(g - 5, g + 5, 1)`
Thanks Paul, this seems to have worked!
Well of course as soon as I say that, I get a new error at sector 61. The default maxsector in this version is 60 so I assume this has something to do with it. I updated maxsector.py to 75 and this error persists:
WARNING: NoResultsWarning: Missing sector information for input target. Cutout not performed. [astroquery.mast.tesscut]
Traceback (most recent call last):
File "eleanor_astropy.py", line 44, in <module>
eleanor.Update(sector=i)
File "/opt/anaconda3/lib/python3.7/site-packages/eleanor-2.0.5-py3.7.egg/eleanor/update.py", line 155, in __init__
self.cutout = fits.open(manifest['Local Path'][0],memmap=False)
File "astropy/table/_column_mixins.pyx", line 74, in astropy.table._column_mixins._ColumnGetitemShim.__getitem__
File "astropy/table/_column_mixins.pyx", line 57, in astropy.table._column_mixins.base_getitem
File "astropy/table/_column_mixins.pyx", line 69, in astropy.table._column_mixins.column_getitem
This should now work for all sectors up to the present one, there was an issue with the update script for new sectors in the South in running the update script which is now sorted! Going to close the issue, if you still run into this please reopen it.
Hello, I am trying to run eleanor.Update for all sectors (haven't used Eleanor since 2019), and am running into the issue below when I reach sectors in the 50s:
I was originally running into a similar issue described here https://github.com/afeinstein20/eleanor/issues/236 but I updated maxsector.py and my eleanor installation and that issue went away. After doing that, I was able to update the metadata for sectors in the 20s, 30s, and 40s, until this issue popped up. Any help is appreciated!