-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marvin Error : Cube download DR17 #790
Comments
@bmamrutha I can't reproduce your error. What version of
|
Dear Brain,
Thank you very much for your response.
Sorry for the delay in my response.
I am using the latest version of Marvin which is version 2.8 and in Jupyter
Notebook.
For our work, we are using the DR17.
With plateifu, I am able to access the datamodel. However, I cannot
download them and store. I also cannot plot or access the optical image of
the galaxies even after using the plateifu. Fortunately, every other
mapping is possible with plateifu.
This issue is only in the Windows OS and I suppose, according to the
webpage, data cannot be downloaded because of how Windows defines the path
directory.
But, I do not find this issue on a Macbook, using jupyter notebook.
Once again, thank you.
Best regards,
Amrutha
…On Tue, 13 Dec 2022 at 14:03, Brian Cherinka ***@***.***> wrote:
@bmamrutha <https://github.com/bmamrutha> I can't reproduce your error.
What version of marvin are you using? What data release are you trying to
access? Instead of using the manga-id, try the plate-ifu designation.
from marvin.tools import Cube
cube = Cube('8992-9102')
cube
<Marvin Cube (plateifu='8992-9102', mode='remote', data_origin='api')>
cube=Cube('1-149541')
cube
<Marvin Cube (plateifu='8992-9102', mode='remote', data_origin='api')>
—
Reply to this email directly, view it on GitHub
<#790 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUJD7I7HGZU3LKLEEPQ5KBDWNCT53ANCNFSM6AAAAAARVEK6WQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
MarvinError: mangaid2plateifu was not able to find a plate-ifu for mangaid=1-149541 either local or remotely.
To Reproduce
Steps to reproduce the behaviour:
Desktop (please complete the following information):
Additional context
MarvinError Traceback (most recent call last)
Input In [3], in <cell line: 1>()
----> 1 cube1=marvin.tools.Cube('1-149541')
File ~\anaconda3\lib\site-packages\marvin\tools\cube.py:67, in Cube.init(self, input, filename, mangaid, plateifu, mode, data, release, drpall, download, nsa_source)
63 self._dispersion_prepixel = None
65 self._bitmasks = None
---> 67 MarvinToolsClass.init(self, input=input, filename=filename, mangaid=mangaid,
68 plateifu=plateifu, mode=mode, data=data, release=release,
69 drpall=drpall, download=download)
71 NSAMixIn.init(self, nsa_source=nsa_source)
73 if self.data_origin == 'file':
File ~\anaconda3\lib\site-packages\marvin\tools\core.py:116, in MarvinToolsClass.init(self, input, filename, mangaid, plateifu, mode, data, release, drpall, download)
113 def init(self, input=None, filename=None, mangaid=None, plateifu=None,
114 mode=None, data=None, release=None, drpall=None, download=None):
--> 116 MMAMixIn.init(self, input=input, filename=filename, mangaid=mangaid,
117 plateifu=plateifu, mode=mode, data=data, release=release,
118 download=download)
120 CacheMixIn.init(self)
122 # drop breadcrumb
File ~\anaconda3\lib\site-packages\marvin\tools\mixins\mma.py:118, in MMAMixIn.init(self, input, filename, mangaid, plateifu, mode, data, release, drpall, download, ignore_db)
114 self._drpall = config._getDrpAllPath(self._drpver) if drpall is None else drpall
116 self._forcedownload = download if download is not None else config.download
--> 118 self._determine_inputs(input)
120 assert self.mode in ['auto', 'local', 'remote']
121 assert self.filename is not None or self.plateifu is not None, 'no inputs set.'
File ~\anaconda3\lib\site-packages\marvin\tools\mixins\mma.py:185, in MMAMixIn._determine_inputs(self, input)
183 elif self.mangaid:
184 assert not self.filename, 'invalid set of inputs.'
--> 185 self.plateifu = mangaid2plateifu(self.mangaid,
186 drpall=self._drpall,
187 drpver=self._drpver)
189 elif self._plate:
190 assert not self.filename, 'invalid set of inputs.'
File ~\anaconda3\lib\site-packages\marvin\utils\general\general.py:421, in mangaid2plateifu(mangaid, mode, drpall, drpver)
418 except:
419 continue
--> 421 raise MarvinError(
422 'mangaid2plateifu was not able to find a plate-ifu for '
423 'mangaid={0} either local or remotely.'.format(mangaid))
The text was updated successfully, but these errors were encountered: