WISE Preliminary Release Level 1b Frames
SIA query base URL | <root>/sia/wise/prelim/p1bm_frm |
SIA metadata query URL | <root>/sia/wise/prelim/p1bm_frm?FORMAT=METADATA |
Query base URL | <root>/search/wise/prelim/p1bm_frm |
Column listing | <root>/search/wise/prelim/p1bm_frm?FORMAT=METADATA&ct=html |
Browse data | <root>/data/wise/prelim/p1bm_frm/ |
Overview
The wise/prelim/p1bm_frm catalog contains metadata for WISE Preliminary Release Level 1b frames. Each row in the catalog consists of metadata for a single frame, and is uniquely identified by the scan_id, frame_num, and band columns. This page documents the URL structure of the WISE Preliminary Release Level 1b Frames, and how one goes about mapping the results of a query like <root>/search/wise/prelim/p1bm_frm?POS=70,20 to associated data product URLs.
Data Products
- Intensity FITS images
- Uncertainty FITS images
- Mask FITS images
- Positions of spurious sources from diffraction spikes and halos
- Positions of spurious sources from optical ghosts
- Positions of spurious sources from latents
Generating URLs for data products
WISE Preliminary Release Level 1b data product URLs are built using the values of the scangrp, scan_id, frame_num, and band columns. Note that the last 2 characters of a scan_id yields the corresponding scangrp, so the latter column is not strictly necessary when building URLs.
Note: MD5 checksums for all data products are stored. Checksum URLs are obtained by simply appending ".md5" to the data product URL.
- Intensity FITS images
-
These are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-w{band:1d}-int-1b.fitsExamples:
- <root>/data/wise/prelim/p1bm_frm/6a/02206a/149/02206a149-w1-int-1b.fits
- <root>/data/wise/prelim/p1bm_frm/0a/02210a/150/02210a150-w4-int-1b.fits
By appending center and size parameters (e.g <root>/data/wise/prelim/p1bm_frm/6a/02206a/149/02206a149-w1-int-1b.fits?center=70,20&size=200pix), one can also download cutouts (see the detailed documentation).
Python code to build a URL:
params = { 'scan_id': '02206a', 'frame_num': 149, 'band': 3, } params['scangrp'] = params['scan_id'][-2:] path = str.format( '{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-w{band:1d}-int-1b.fits', **params) url = 'serverroot/data/wise/prelim/p1bm_frm/' + path
C code to build a URL:
char url[256]; const char *scan_id = "02206a"; const char *server = "serverroot"; int frame_num = 149; int band = 3; snprintf(url, sizeof(url), "%s/data/wise/prelim/p1bm_frm/%s/%s/%03d/%s%03d-w%1d-int-1b.fits", server, scan_id + (strlen(scan_id) - 2), scan_id, frame_num, scan_id, frame_num, band);
Java code to build a URL:
String scan_id = "02206a"; String server = "serverroot"; int frame_num = 149; int band = 3; String url = String.format("%1$s/data/wise/prelim/p1bm_frm/%2$s/%3$s/%4$03d/%3$s%4$03d-w%5$1d-int-1b.fits", server, scan_id.substring(scan_id.length() - 2), scan_id, frame_num, band);
- Uncertainty FITS images
-
These are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-w{band:1d}-unc-1b.fits.gzExamples:
- <root>/data/wise/prelim/p1bm_frm/6a/02206a/149/02206a149-w1-unc-1b.fits.gz
- <root>/data/wise/prelim/p1bm_frm/0a/02210a/150/02210a150-w4-unc-1b.fits.gz
Append center and size parameters to these URLs to download a cutout instead of a full image (see the cutouts documentation).
A trivial change to the format string in the sample code snippets above suffices to generate these URLs.
- Mask FITS images
-
These are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-w{band:1d}-msk-1b.fits.gzExamples:
- <root>/data/wise/prelim/p1bm_frm/6a/02206a/149/02206a149-w1-msk-1b.fits.gz
- <root>/data/wise/prelim/p1bm_frm/0a/02210a/150/02210a150-w4-msk-1b.fits.gz
Append center and size parameters to these URLs to download a cutout instead of a full image (see the cutouts documentation).
A trivial change to the format string in the sample code snippets above suffices to generate these URLs.
- Positions of spurious sources from diffraction spikes and halos
-
These are stored in IPAC ASCII table files containing 2 columns: ra and dec, the J2000 right ascensions and declinations of WISE Preliminary Release Level 1b sources believed to be spurious detections from diffraction spikes and halos. If there are no such sources for a frame, then no position table is stored and visiting the URL generated according to the recipe below will return a 404 Not Found HTTP response. The tables are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-art-w{band:1d}-D.tblExample:
A trivial change to the format string in the sample code snippets above suffices to generate these URLs.
- Positions of spurious sources from optical ghosts
-
These are stored in IPAC ASCII table files containing 2 columns: ra and dec, the J2000 right ascensions and declinations of WISE Preliminary Release Level 1b sources believed to be spurious detections from optical ghosts. If there are no such sources for a frame, then no position table is stored and visiting the URL generated according to the recipe below will return a 404 Not Found HTTP response. The tables are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-art-w{band:1d}-O.tblExample:
A trivial change to the format string in the sample code snippets above suffices to generate these URLs.
- Positions of spurious sources from latents
-
These are stored in IPAC ASCII table files containing 2 columns: ra and dec, the J2000 right ascensions and declinations of WISE Preliminary Release Level 1b sources believed to be spurious detections from latents. If there are no such sources for a frame, then no position table is stored and visiting the URL generated according to the recipe below will return a 404 Not Found HTTP response. The tables are located at:
<server><root>/data/wise/prelim/p1bm_frm/{scangrp:s}/{scan_id:s}/{frame_num:03d}/{scan_id:s}{frame_num:03d}-art-w{band:1d}-P.tblExample:
A trivial change to the format string in the sample code snippets above suffices to generate these URLs.