Data Access

All of the MaNGA data can be accessed using the traditional SDSS Science Archive Server (SAS), where you can browse and download DRP and DAP files individually via a web browser or automate the downloads via the rsync command (see examples below). For a description of each of these files, see the Data Model pages. Additionally, you can access the data cubes, derived quantities, and metadata catalogs using our python package, Marvin. Tutorials for interacting with the data via Marvin and via the fits files are provided here. Finally, MaNGA Value Added Catalogs can be found on this page.

Remote Access Using Marvin

The MaNGA data can be access via direct download of FITS files, as described below, or the data can be accessed via a python package called Marvin. Marvin can be run in both a remote and local mode. In remote mode, Marvin allows you to access data on our servers in Utah, minimizing the amount of data that you need to host locally on your computer. For files that you've downloaded, Marvin will seamlessly work with your local files with a negligible change in syntax. A suite of tutorials and examples demonstrating how to interact with the MaNGA data using Marvin are provided here, and you can find the Marvin web interface and extensive documentation here.

Catalog Files

The MaNGA catalog files are described here. Specifically, summary information about all MaNGA targets is provided by the DRPall and DAPall files, which can be useful for sample selection. The data models for these files are here and here, respectively.

The DRPall file is named after the version of the DRP used for this data release (v3_1_1). It can be downloaded or queried using CASjobs.

The DAPall file is named after the version of the DRP used for this data release (v3_1_1) and the version of the DAP used to analyze that data (3.1.0). It can be downloaded or queried using CASjobs.

DRP 3D Output Files (Reduced spectra)

Final reduced spectra are stored on a per-galaxy basis in the stack subdirectory for each plate:

https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/[PLATE]/stack/

where [PLATE] refers to the specific SDSS plate that includes the desired galaxy. You can download either data cubes or row-stacked spectra (RSS) (find the difference between these here), both with either linear or logarithmic wavelength spacing:

RSS files:

manga-[PLATE]-[IFUDESIGN]-LOGRSS.fits.gz
manga-[PLATE]-[IFUDESIGN]-LINRSS.fits.gz

Cube files:

manga-[PLATE]-[IFUDESIGN]-LOGCUBE.fits.gz
manga-[PLATE]-[IFUDESIGN]-LINCUBE.fits.gz

Here, [IFUDESIGN] refers to the specific IFU number (e.g. 12703 is the 3rd 127-fiber IFU for a given plate). For a given object, both [PLATE] and [IFUDESIGN] can be found in the DRPall file.

To download files to your computer, we recommend using the rsync command, a software tool that can be used for copying files from one host to another while keeping them synchronized to the main repository. In Linux, just type the rsync command in your terminal.

Example 1) To download the data cube with logarithmically spaced wavelengths for MaNGA object 12-193481 (PLATEIFU = 7443-12703), run:

rsync -avz rsync://data.sdss.org/dr17/manga/spectro/redux/v3_1_1/7443/stack/manga-7443-12703-LOGCUBE.fits.gz [LOCAL_PATH]

where you replace [LOCAL_PATH] to the path on your computer where you would like to store the data.

Example 2) To download all plates in DR17 to the current working directory, but include only the stack subdirectories containing the manga*LOGCUBE.fits.gz files, run:

rsync -aLrvz --include "*/" --include "manga*LOGCUBE.fits.gz" --exclude "*" rsync://data.sdss.org/dr17/manga/spectro/redux/v3_1_1/ .

Example 3) To download all LINEAR format data cubes in DR17 to a v3_1_1 directory in the current working directory, and exclude all other files, run:

rsync -aLvz --dry-run --include "*[0-9][0-9][0-9][0-9]/" --include "*/stack/" --include "manga-*-LINCUBE.fits.gz" --exclude "*" --prune-empty-dirs --progress rsync://data.sdss.org/dr17/manga/spectro/redux/v3_1_1/ v3_1_1/

(note that the --dry-run option shows you what rsync will do; in order to actually get the files you should remove this option from the above command).

Example 4) If you have a subsample of galaxies for which you want to download data, you can generate a list of paths in a text file, e.g.:

https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/7443/stack/manga-7443-12703-LOGCUBE.fits.gz
https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/8082/stack/manga-8082-12704-LOGCUBE.fits.gz
https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/8081/stack/manga-8081-1901-LOGCUBE.fits.gz

and then pass that to the program wget, as follows:

wget -i [path to file list] ./

Note the slightly different paths between this example and those using rsync above.

DAP Output Files (Derived Quantities)

Derived spectral quantities are stored on a per-analysis-method basis. The directory template is:

https://data.sdss.org/sas/dr17/manga/spectro/analysis/v3_1_1/3.1.0/[DAPTYPE]/[PLATE]/[IFUDESIGN]

where [PLATE] and [IFUDESIGN] are the same as defined above for the DRP output, and [DAPTYPE] is the analysis method used to analyze the data, as described by the DAP Data Model. In this directory, the DAP provides two main output files, the MAPS and model LOGCUBE files:

MAPS files:

manga-[PLATE]-[IFUDESIGN]-MAPS-[DAPTYPE].fits.gz

Model LOGCUBE files:

manga-[PLATE]-[IFUDESIGN]-LOGCUBE-[DAPTYPE].fits.gz

For a given object, both [PLATE] and [IFUDESIGN] can be found in the DRPall file. The DAP provides a MAPS and model LOGCUBE file for each [PLATEIFU] and [DAPTYPE] combination.

To download files to your computer, we recommend using the rsync command, a software tool that can be used for copying files from one host to another while keeping them synchronized to the main repository. In Linux, just type the rsync command in your terminal.

Example 1) To download the MAPS file for MaNGA object 12-193481 (PLATEIFU = 7443-12703) based on the HYB10-MILESHC-MASTARHC2 method, run:

rsync -avz rsync://data.sdss.org/dr17/manga/spectro/analysis/v3_1_1/3.1.0/HYB10-MILESHC-MASTARHC2/7443/12703/manga-7443-12703-MAPS-HYB10-MILESHC-MASTARHC2.fits.gz [LOCAL_PATH]

where you replace [LOCAL_PATH] to the path on your computer where you would like to store the data.

Example 2) To download all MAPS files based on the HYB10-MILESHC-MASTARHC2 method, run:

rsync -avz --include "*/" --include "manga*MAPS-HYB10-MILESHC-MASTARHC2.fits.gz" --exclude "*" rsync://data.sdss.org/dr17/manga/spectro/analysis/v3_1_1/3.1.0/ .

Example 3) If you have a subsample of galaxies for which you want to download data, you can generate a list of paths in a text file, e.g.:

https://data.sdss.org/sas/dr17/manga/spectro/analysis/v3_1_1/3.1.0/HYB10-MILESHC-MASTARHC2/7443/12703/manga-7443-12703-MAPS-HYB10-MILESHC-MASTARHC2.fits.gz
https://data.sdss.org/sas/dr17/manga/spectro/analysis/v3_1_1/3.1.0/HYB10-MILESHC-MASTARHC2/8082/12704/manga-8082-12704-MAPS-HYB10-MILESHC-MASTARHC2.fits.gz
https://data.sdss.org/sas/dr17/manga/spectro/analysis/v3_1_1/3.1.0/HYB10-MILESHC-MASTARHC2/8081/1901/manga-8081-1901-MAPS-HYB10-MILESHC-MASTARHC2.fits.gz

and then pass that to the program wget, as follows:

wget -i [path to file list] ./

Note the slightly different paths between this example and those using rsync above.

Raw Data

The description of the raw data is provided here. These files can be accessed in

https://data.sdss.org/sas/dr17/manga/spectro/data/[MJD]/

The naming convention is:

sdR-[CAMERA]-[EXPNUM].fit.gz

where [CAMERA] refers to which camera was used (b1, b2, r1, or r2) and [EXPNUM] is the number (8 digits) corresponding to a given exposure.

Intermediate DRP Output Files

Products of the intermediate steps of the DRP are described here and stored in per-exposure files according to the PLATE and date (MJD) they were observed. They can be found in

https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/[PLATE]/[MJD]/

The naming convention is:

mgArc-[CAMERA]-[EXPNUM].fits.gz
mgFlat-[CAMERA]-[EXPNUM].fits.gz
mgFrame-[CAMERA]-[EXPNUM].fits.gz
mgSFrame-[CAMERA]-[EXPNUM].fits.gz
fluxcal-[SPEC]-[EXPNUM].fits.gz
mgFFrame-[CAMERA]-[EXPNUM].fits.gz
mgCFrame-[EXPNUM]-[LIN/LOG].fits.gz

where [SPEC] is the spectrograph (sp1 or sp2) and [LIN/LOG] is whether the wavelength spacing is linear or logarithmic.

DAP Reference Files

Products of the intermediate steps of the DAP are described here and stored in the ref/ directory for each DAPTYPE, PLATE, IFU combination. They can be found in

https://data.sdss.org/sas/dr17/manga/spectro/analysis/v3_1_1/3.1.0/[DAPTYPE]/[PLATE]/[IFUDESIGN]/ref

The naming conventions is:

manga-[plate]-[ifudesign]-[rdxqakey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey]-[sckey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey]-[sckey]-[elmkey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey]-[sckey]-[elfkey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey]-[sckey]-[elfkey]-[elmkey].fits.gz
manga-[plate]-[ifudesign]-[rdxqakey]-[binkey]-[sckey]-[elfkey]-[sikey].fits.gz

where the different keywords are described here.

SDSS Legacy Imaging

The NASA Sloan Atlas (NSA) re-reduction of the SDSS imaging data is used by the DRP to use to revise the astrometric solution of individual exposures and to estimate achieved S/N depth. The FITS postage stamps of this preimaging data (see data model) are stored in the mangapreim svn product available at https://svn.sdss.org/public/data/manga/mangapreim/tags/v2_9/.

Note that the directories in the preimaging product are listed according to their DESIGNID, not their PLATEID (this is what the ‘D’ prefix means before the various directories in the data folder). In order to find the preimaging for a certain galaxy, use the drpall file to find out what the correct DESIGNID is for that galaxy first. For example, PLATEID 7443 corresponds to DESIGNID 7878. Galaxy 7443-12703 has MANGAID 12-193481, therefore the relevant preimaging file is at https://svn.sdss.org/public/data/manga/mangapreim/tags/v2_9/data/D0078XX/7878/preimage-12-193481.fits.gz.