Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
for use with astroarchie 2021.01 Winter Release
Browse files Browse the repository at this point in the history
  • Loading branch information
pothiers committed Feb 9, 2021
1 parent ecdd33c commit bcc4a03
Show file tree
Hide file tree
Showing 6 changed files with 474 additions and 642 deletions.
69 changes: 40 additions & 29 deletions advanced-search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@
" <th>8</th>\n",
" <th>9</th>\n",
" <th>...</th>\n",
" <th>20</th>\n",
" <th>21</th>\n",
" <th>22</th>\n",
" <th>23</th>\n",
Expand All @@ -300,6 +299,7 @@
" <th>27</th>\n",
" <th>28</th>\n",
" <th>29</th>\n",
" <th>30</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
Expand All @@ -316,7 +316,6 @@
" <td>depth</td>\n",
" <td>exposure</td>\n",
" <td>...</td>\n",
" <td>ra_center</td>\n",
" <td>ra_max</td>\n",
" <td>ra_min</td>\n",
" <td>release_date</td>\n",
Expand All @@ -326,6 +325,7 @@
" <td>telescope</td>\n",
" <td>updated</td>\n",
" <td>url</td>\n",
" <td>user</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Type</th>\n",
Expand All @@ -340,7 +340,6 @@
" <td>np.float64</td>\n",
" <td>np.float64</td>\n",
" <td>...</td>\n",
" <td>np.float64</td>\n",
" <td>str</td>\n",
" <td>str</td>\n",
" <td>datetime64</td>\n",
Expand All @@ -350,6 +349,7 @@
" <td>category</td>\n",
" <td>datetime64</td>\n",
" <td>str</td>\n",
" <td>str</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Desc</th>\n",
Expand All @@ -364,7 +364,6 @@
" <td>from hdr=PHOTDPTH</td>\n",
" <td>from hdr=EXPTIME</td>\n",
" <td>...</td>\n",
" <td>RA midpoint in decimal degrees</td>\n",
" <td>RA center from pipeline processing</td>\n",
" <td>RA center from pipeline processing</td>\n",
" <td>Calculated</td>\n",
Expand All @@ -374,10 +373,11 @@
" <td>Name of the telescope from which original raw ...</td>\n",
" <td>When Hdu created/updated</td>\n",
" <td>Access URL. Used to retrieve image</td>\n",
" <td>Constrain File by Principal Investigator or Co-PI</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>3 rows × 30 columns</p>\n",
"<p>3 rows × 31 columns</p>\n",
"</div>"
],
"text/plain": [
Expand All @@ -401,20 +401,15 @@
"Type str np.float64 \n",
"Desc DEC center from pipeline processing from hdr=PHOTDPTH \n",
"\n",
" 9 ... 20 \\\n",
"Field exposure ... ra_center \n",
"Type np.float64 ... np.float64 \n",
"Desc from hdr=EXPTIME ... RA midpoint in decimal degrees \n",
"\n",
" 21 22 \\\n",
"Field ra_max ra_min \n",
"Type str str \n",
"Desc RA center from pipeline processing RA center from pipeline processing \n",
" 9 ... 21 \\\n",
"Field exposure ... ra_max \n",
"Type np.float64 ... str \n",
"Desc from hdr=EXPTIME ... RA center from pipeline processing \n",
"\n",
" 23 24 \\\n",
"Field release_date seeing \n",
"Type datetime64 np.float64 \n",
"Desc Calculated from hdr=SEEING \n",
" 22 23 24 \\\n",
"Field ra_min release_date seeing \n",
"Type str datetime64 np.float64 \n",
"Desc RA center from pipeline processing Calculated from hdr=SEEING \n",
"\n",
" 25 26 \\\n",
"Field site survey \n",
Expand All @@ -426,12 +421,17 @@
"Type category \n",
"Desc Name of the telescope from which original raw ... \n",
"\n",
" 28 29 \n",
"Field updated url \n",
"Type datetime64 str \n",
"Desc When Hdu created/updated Access URL. Used to retrieve image \n",
" 28 29 \\\n",
"Field updated url \n",
"Type datetime64 str \n",
"Desc When Hdu created/updated Access URL. Used to retrieve image \n",
"\n",
" 30 \n",
"Field user \n",
"Type str \n",
"Desc Constrain File by Principal Investigator or Co-PI \n",
"\n",
"[3 rows x 30 columns]"
"[3 rows x 31 columns]"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -3226,7 +3226,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Public as of 2020-12-24:\n"
"Public as of 2021-02-08:\n"
]
},
{
Expand Down Expand Up @@ -4181,7 +4181,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"These OUTFIELDS fields are not known to exist in any loaded headers (dec, ra). Only files with instrument=decam and proctype=resampled are considered. Available fields are: ADDAST, ARAWGAIN, AVSIG, AVSKY, BACKFSIZ, BACKMEAN, BACKSIG, BACKSIZE, BACKSUBF, BACKTYPE, BIASFIL, BLDINTRP, BPM, BPMFIL, CCDNUM, CD1_1, CD1_2, CD2_1, CD2_2, CDELT1, CDELT2, CENDEC1, CENRA1, CENTERT1, CENTERT2, COMBINET, COMIN1, COMIN2, COR1DEC1, COR1RA1, COR2DEC1, COR2RA1, COR3DEC1, COR3RA1, COR4DEC1, COR4RA1, CRPIX1, CRPIX2, CRVAL1, CRVAL2, CTYPE1, CTYPE2, CUNIT1, CUNIT2, DATE, DEC1, DEC17A_2, DEC17B_2, DEC18A_2, DEC18B_2, DEC19A_2, DEC19A_D, DEC19A_P, DEC19B_A, DEC19B_D, DEC19B_F, DEC19B_J, DEC19B_S, DEC20A_J, DECALS_2, DES15B_2, DES16B_2, DES17A_2, DES17B_2, DES18A_2, DES18B_2, DESBFC, DESBIAS, DESBLEED, DESBPM, DESCRMSK, DESDCXTK, DESFLAT, DESGAINC, DESILLUM, DESLINC, DESOSCN, DESSAT, DESSTAR, DES_EXT, DETECTOR, DETPOS, DETSEC, ELLIPTIC, EQUINOX, EXPTIME, EXTNAME, EXTVER, FILTER, FIXPIX, FLASCALE, FLATFIL, FLATMEDA, FLATMEDB, FLXSCALE, FPA, FRGSCALE, FRINGE, FWHM, FZALGOR, FZDTHRSD, FZQMETHD, FZQVALUE, GAIN, GAINA, GAINB, GCOUNT, ILLMASK, ILLUMCOR, ILLUMFIL, INHERIT, INTERPF, IRAF-TLM, LTM1_1, LTM1_2, LTM2_1, LTM2_2, LTV1, LTV2, NAXIS1, NAXIS2, NBLEED, NSATPIX, OBJECT, ORIGFILE, ORIGIN, PCOUNT, PIXSCALE, PLTILEID, PSCALET1, PSCALET2, PV1_0, PV1_1, PV1_10, PV1_2, PV1_3, PV1_4, PV1_5, PV1_6, PV1_7, PV1_8, PV1_9, PV2_0, PV2_1, PV2_10, PV2_2, PV2_3, PV2_4, PV2_5, PV2_6, PV2_7, PV2_8, PV2_9, RA1, RADECSYS, RDNOISEA, RDNOISEB, RESAMPT1, RESAMPT2, RSPDEC, RSPRA, SATURATA, SATURATB, SATURATE, SKYBRITE, SKYIM, SKYSIGMA, SLOT00, SLOT01, SLOT02, SLOT03, SLOT04, SLOT05, SOFTAUTH, SOFTDATE, SOFTINST, SOFTNAME, SOFTVERS, STARFIL, STARMASK, TSEP, WAT0_001, WAT1_001, WAT2_001, WCSAXES, WCSDIM, WTMAP, XTENSION, ZDITHER0, dec_center, dec_max, dec_min, fitsfile, fitsfile__archive_filename, fitsfile__caldat, fitsfile__dateobs_center, fitsfile__dateobs_max, fitsfile__dateobs_min, fitsfile__dec_center, fitsfile__dec_max, fitsfile__dec_min, fitsfile__depth, fitsfile__exposure, fitsfile__filesize, fitsfile__ifilter, fitsfile__instrument, fitsfile__md5sum, fitsfile__obs_mode, fitsfile__obs_type, fitsfile__original_filename, fitsfile__proc_type, fitsfile__prod_type, fitsfile__proposal, fitsfile__ra_center, fitsfile__ra_max, fitsfile__ra_min, fitsfile__release_date, fitsfile__seeing, fitsfile__site, fitsfile__survey, fitsfile__telescope, fitsfile__updated, fitsfile__url, hdu_idx, id, ra_center, ra_max, ra_min, updated, url. You can always retrieve these using aux_file_fields or aux_hdu_fields.\n"
"These OUTFIELDS fields are not known to exist in any loaded headers (dec, ra). Only files with instrument=decam and proctype=resampled are considered. Available fields are: ADDAST, ARAWGAIN, AVSIG, AVSKY, BACKFSIZ, BACKMEAN, BACKSIG, BACKSIZE, BACKSUBF, BACKTYPE, BIASFIL, BLDINTRP, BPM, BPMFIL, CCDNUM, CD1_1, CD1_2, CD2_1, CD2_2, CDELT1, CDELT2, CENDEC1, CENRA1, CENTERT1, CENTERT2, COMBINET, COMIN1, COMIN2, COR1DEC1, COR1RA1, COR2DEC1, COR2RA1, COR3DEC1, COR3RA1, COR4DEC1, COR4RA1, CRPIX1, CRPIX2, CRVAL1, CRVAL2, CTYPE1, CTYPE2, CUNIT1, CUNIT2, DATE, DEC1, DEC17A_2, DEC17B_2, DEC18A_2, DEC18B_2, DEC19A_2, DEC19A_D, DEC19A_P, DEC19B_A, DEC19B_D, DEC19B_F, DEC19B_J, DEC19B_S, DEC20A_J, DECALS_2, DES15B_2, DES16B_2, DES17A_2, DES17B_2, DES18A_2, DES18B_2, DESBFC, DESBIAS, DESBLEED, DESBPM, DESCRMSK, DESDCXTK, DESFLAT, DESGAINC, DESILLUM, DESLINC, DESOSCN, DESSAT, DESSTAR, DES_EXT, DETECTOR, DETPOS, DETSEC, ELLIPTIC, EQUINOX, EXPTIME, EXTNAME, EXTVER, FILTER, FIXPIX, FLASCALE, FLATFIL, FLATMEDA, FLATMEDB, FLXSCALE, FPA, FRGSCALE, FRINGE, FWHM, FZALGOR, FZDTHRSD, FZQMETHD, FZQVALUE, GAIN, GAINA, GAINB, GCOUNT, ILLMASK, ILLUMCOR, ILLUMFIL, INHERIT, INTERPF, IRAF-TLM, LTM1_1, LTM1_2, LTM2_1, LTM2_2, LTV1, LTV2, NAXIS1, NAXIS2, NBLEED, NSATPIX, OBJECT, ORIGFILE, ORIGIN, PCOUNT, PIXSCALE, PLTILEID, PSCALET1, PSCALET2, PV1_0, PV1_1, PV1_10, PV1_2, PV1_3, PV1_4, PV1_5, PV1_6, PV1_7, PV1_8, PV1_9, PV2_0, PV2_1, PV2_10, PV2_2, PV2_3, PV2_4, PV2_5, PV2_6, PV2_7, PV2_8, PV2_9, RA1, RADECSYS, RDNOISEA, RDNOISEB, RESAMPT1, RESAMPT2, RSPDEC, RSPRA, SATURATA, SATURATB, SATURATE, SKYBRITE, SKYIM, SKYSIGMA, SLOT00, SLOT01, SLOT02, SLOT03, SLOT04, SLOT05, SOFTAUTH, SOFTDATE, SOFTINST, SOFTNAME, SOFTVERS, STARFIL, STARMASK, TSEP, WAT0_001, WAT1_001, WAT2_001, WCSAXES, WCSDIM, WTMAP, XTENSION, ZDITHER0, dec_center, dec_max, dec_min, fitsfile, fitsfile__archive_filename, fitsfile__caldat, fitsfile__dateobs_center, fitsfile__dateobs_max, fitsfile__dateobs_min, fitsfile__dec_center, fitsfile__dec_max, fitsfile__dec_min, fitsfile__depth, fitsfile__exposure, fitsfile__filesize, fitsfile__ifilter, fitsfile__instrument, fitsfile__md5sum, fitsfile__obs_mode, fitsfile__obs_type, fitsfile__original_filename, fitsfile__proc_type, fitsfile__prod_type, fitsfile__proposal, fitsfile__ra_center, fitsfile__ra_max, fitsfile__ra_min, fitsfile__release_date, fitsfile__seeing, fitsfile__site, fitsfile__survey, fitsfile__telescope, fitsfile__updated, fitsfile__url, fitsfile__user, hdu_idx, id, ra_center, ra_max, ra_min, updated, url. You can always retrieve these using aux_file_fields or aux_hdu_fields.\n"
]
},
{
Expand Down Expand Up @@ -4300,7 +4300,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"These OUTFIELDS fields are not known to exist in any loaded headers (baz, foo). Only files with instrument=None and proctype=None are considered. Available fields are: archive_filename, caldat, dateobs_center, dateobs_max, dateobs_min, dec_center, dec_max, dec_min, depth, exposure, filesize, ifilter, instrument, md5sum, obs_mode, obs_type, original_filename, proc_type, prod_type, proposal, ra_center, ra_max, ra_min, release_date, seeing, site, survey, telescope, updated, url. You can always retrieve these using aux_file_fields or aux_hdu_fields.\n"
"These OUTFIELDS fields are not known to exist in any loaded headers (baz, foo). Only files with instrument=None and proctype=None are considered. Available fields are: archive_filename, caldat, dateobs_center, dateobs_max, dateobs_min, dec_center, dec_max, dec_min, depth, exposure, filesize, ifilter, instrument, md5sum, obs_mode, obs_type, original_filename, proc_type, prod_type, proposal, ra_center, ra_max, ra_min, release_date, seeing, site, survey, telescope, updated, url, user. You can always retrieve these using aux_file_fields or aux_hdu_fields.\n"
]
}
],
Expand Down Expand Up @@ -4338,17 +4338,28 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Elapsed seconds=176.9646208289778 on https://astroarchive.noirlab.edu\n",
"Completed on: 2020-12-24 08:03:18.653378\n"
"Elapsed seconds=199.30444037599955 on https://astroarchive.noirlab.edu\n",
"Completed on: 2021-02-08 15:51:35.674756\n"
]
},
{
"data": {
"text/plain": [
"199.30444037599955"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import datetime\n",
"elapsed = toc() # Seconds since start of Notebook load (assuming fresh run)\n",
"print(f'Elapsed seconds={elapsed} on {natroot}')\n",
"print(f'Completed on: {str(datetime.datetime.now())}')\n",
"assert natroot == 'https://astroarchive.noirlab.edu', 'Notebook does NOT point to PRODUCTION'"
"assert natroot == 'https://astroarchive.noirlab.edu', 'Notebook does NOT point to PRODUCTION'\n",
"elapsed"
]
},
{
Expand Down
Loading

0 comments on commit bcc4a03

Please sign in to comment.