sdss / marvin

Data access and visualization for MaNGA. http://sdss-marvin.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
56 stars 32 forks source link

Unable to load in Maps of any plate-ifu #818

Closed bp572 closed 2 months ago

bp572 commented 2 months ago

Describe the bug Unable to load in the the map of any galaxy that seems to available on the Marvin webpage

To Reproduce I run: from marvin.tools.maps import Maps maps = Maps(plateifu = '9498-3702', mode='remote') in my python notebook.

Expected behaviour Expected the map to be loaded properly.

Error [ERROR]: Traceback (most recent call last): File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/brain/api/api.py", line 201, in _checkResponse isbad = response.raise_for_status() File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 409 Client Error: CONFLICT for url: https://magrathea.sdss.org/marvin/api/maps/9498-3702/HYB10/MILESHC-MASTARSSP/

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/marvin/tools/maps.py", line 378, in _load_maps_from_api response = self._toolInteraction(url_full) File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/marvin/tools/core.py", line 134, in _toolInteraction return marvin.api.api.Interaction(url, params=params) File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/brain/api/api.py", line 57, in init self._sendRequest(request_type) File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/brain/api/api.py", line 302, in _sendRequest self._checkResponse(self._response) File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/brain/api/api.py", line 242, in _checkResponse raise BrainError('Requests Http Status Error: {0}\n{1}'.format(http, errmsg)) brain.core.exceptions.BrainError: Requests Http Status Error: 409 Client Error: CONFLICT for url: https://magrathea.sdss.org/marvin/api/maps/9498-3702/HYB10/MILESHC-MASTARSSP/ Error: data release None no longer supported by the Marvin API. Update to a later MPL or use Marvin's local file access mode instead.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "/var/folders/54/jl53s_6x6wg6431pqzl_3dw80000gn/T/ipykernel_8889/895191319.py", line 2, in maps = Maps(plateifu = psb[0], mode='remote') File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/marvin/tools/maps.py", line 113, in init self._load_maps_from_api() File "/opt/anaconda3/envs/psb_project/lib/python3.8/site-packages/marvin/tools/maps.py", line 380, in _load_maps_from_api raise marvin.core.exceptions.MarvinError( marvin.core.exceptions.MarvinError: found a problem when checking if remote maps exists: Requests Http Status Error: 409 Client Error: CONFLICT for url: https://magrathea.sdss.org/marvin/api/maps/9498-3702/HYB10/MILESHC-MASTARSSP/ Error: data release None no longer supported by the Marvin API. Update to a later MPL or use Marvin's local file access mode instead.

Desktop (please complete the following information):

Additional context DownloadList isn't working properly either.

Screenshot 2024-08-29 at 10 53 35 AM