Open marmezcua opened 2 years ago
Hi @marmezcua please see the documentation on Marvin Image https://sdss-marvin.readthedocs.io/en/latest/tools/image.html. The Image
tool is like the rest of the marvin tools. It has a .download
method to download the remote file locally. See https://sdss-marvin.readthedocs.io/en/latest/reference/tools.html#marvin.tools.image.Image.download. It also has a .plot
or a .show
method for displaying the image, whether it's local or remote.
You can also download the image files directly from the SAS, https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/8485/images/1902.png.
Describe the bug I'm trying to use the Marvin Image task locally but I cannot find where/how to download the images from so that Marvin can access them. I have tried downloading the images from the SDSS Legacy Imaging images (https://www.sdss.org/dr17/manga/manga-data/data-access/), but Marvin Image does not recognize them.
To Reproduce I have the SDSS Legacy Image of plateifu='7443-12703' downloaded. I've tried these different ways of calling it: im = Image(plateifu='7443-12703') im = Image(plateifu='7443-12703', mode='local', data-origin='dir'), where dir is the name of the file im = Image(plateifu='7443-12703', mode='local', data-origin='dir'), where dir is the name of the directory where I save the file In all cases I get: MarvinError: failed to retrieve data using input parameters.
Expected behaviour I would like Marvin Image to plot an image with a pink hexagon around it (the default output of the Marvin Image task) for a set of plateifus. Given that I have thousands of galaxies, I would like this to run locally, so I would be very thankful if you could let me know which images to get so that Marvin Image works (the ones from the SDSS Legacy Imaging seem not to be recognized).
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.