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
Issuing the call rtn = mArchiveList("SDSS g","195.79681 -0.759085",0.05,"remote.tbl")
produces remote tbl format which appears as:
This seems to provide the necessary url to then call with mArchiveExec to download these data, but the formatting looks incorrect and the call to mArchiveExec fails with error:
{'status': '1', 'msg': b"Table remote.tbl needs column 'URL' or 'url' and can optionally have columns 'fname'/'file' and pixel ranges 'imin'..'jmax'"} which seems sensible considering the column headers.
I was expecting the format with column headers with 'URL', but mArchiveList doesn't write the table in this way ? The examples do show a different format for the call to mArchive List (https://github.com/Caltech-IPAC/MontageNotebooks/blob/main/mArchiveList.ipynb). Has there been a substantial change to MontagePy.mArchiveList? Thoughts?
The text was updated successfully, but these errors were encountered:
Note, the same error will arise if you follow the notebooks issuing a call of this sort:
rtn = mArchiveList('2MASS', 'J', 'M17', 2., 2., 'work/M17/archive.tbl')
This call in fact will NOT work in my MontagePy, though, with the warning that 4 positional arguments are needed, but 6 are provided. Changing it :
rtn = mArchiveList('2MASS J', 'M17', 2., 'work/M17/archive.tbl')
seems appropriate, but will result in the same error as reported in the initial comment
Using MontagePy with python 3.11 here.
Issuing the call
rtn = mArchiveList("SDSS g","195.79681 -0.759085",0.05,"remote.tbl")
produces remote tbl format which appears as:
This seems to provide the necessary url to then call with mArchiveExec to download these data, but the formatting looks incorrect and the call to mArchiveExec fails with error:
{'status': '1', 'msg': b"Table remote.tbl needs column 'URL' or 'url' and can optionally have columns 'fname'/'file' and pixel ranges 'imin'..'jmax'"} which seems sensible considering the column headers.
I was expecting the format with column headers with 'URL', but mArchiveList doesn't write the table in this way ? The examples do show a different format for the call to mArchive List (https://github.com/Caltech-IPAC/MontageNotebooks/blob/main/mArchiveList.ipynb). Has there been a substantial change to MontagePy.mArchiveList? Thoughts?
The text was updated successfully, but these errors were encountered: