Survey multiple nights of acm data files to locate nights that have calibration images like bias or dark frames. This is a much faster verion of the old acm_nights.
% acm_nights_markII --help % acm_nights_markII list.Dates none N Usage: acm_nights_markII list.dates /hetdata/data Y arg1 - Name of file with list UT dates arg2 - path to base directory (can be anything if a local BaseDir file is present) arg3 - run in verbose/debug modeUsing this code, and a revision in Sep2019 to include tabulating images with ambient temperature measures, I found these dates of importance:
Date when temperature appear regularly: 20181206 Date when bias frames are recognized: 20170906 Date when PUPILLUM values appeareed: 20180620 To do 2017-Sep_2019 on mcs (160968 images) took 14779 sec (4.1 hours) mcs rate = 0.0918 sec/image There was a problem with header temps in March 2019, so i coded a fix. I re-ran 2017-2019 again (983 nights): 224141 images took 20673 seconds (5.7 hours) to complete: mcs rate = 0.09223 sec/image Hence, to process Jan2017 to Sep2019 took 5hours 44min
There are two primary outputs to acm_nights_markII.
Output 1 = A genearl summary of the nights ================================ [sco@mcs Big_Run_Sep18]$ head acm.nights_SUMMARY Basepath used = /hetdata/data Number of nights to be surveyed = 983 Date Ntot Nopen Nbias Ndark Nnone Ntemps NoB Nog Nor Noi Moon_illum 20170101 11 0 0 0 11 0 0 0 0 0 7.200 20170102 6 0 0 0 6 0 0 0 0 0 13.400 20170103 40 0 0 0 40 0 0 0 0 0 21.300 20170104 7 0 0 0 7 0 0 0 0 0 30.600 20170105 84 0 0 0 84 0 0 0 0 0 41.000 ================================ Output 2 = A table file containing properties of every image ================================ [sco@mcs Big_Run_Sep18]$ cat ALL.parlab im image table number uthrs UT time (floating point hours) fil filter name source image source isoobs observation time in ISO8601 format object object name imbase FITS image basename CRVAL1 CRVAL1 CRVAL2 CRVAL2 PUPUILLUM PUPUILLUM EXPTIME EXPTIME RSTRT RSTRT AMBTEMP AMBTEMP imgtype imgtype [sco@mcs Big_Run_Sep18]$ head ALL.table # data 1 6.617805 blank acm 2017-01-01T06:37:04.18 none 20170101T063712.9_acm_sci 8.856421 10.852522 -99.00 4.00 1234.9 -99.000 none 2 6.620278 blank acm 2017-01-01T06:37:13.03 none 20170101T063721.8_acm_sci 8.856422 10.852822 -99.00 4.00 1226.4 -99.000 none 3 7.097389 blank acm 2017-01-01T07:05:50.62 none 20170101T070559.4_acm_sci 8.855633 10.831092 -99.00 4.00 415.9 -99.000 none 4 7.454361 blank acm 2017-01-01T07:27:15.74 none 20170101T072720.5_acm_sci 9.220193 3.761246 -99.00 0.05 1324.2 -99.000 none 5 7.455694 blank acm 2017-01-01T07:27:20.59 none 20170101T072725.4_acm_sci 9.220191 3.76114 -99.00 0.05 1319.5 -99.000 none 6 7.903445 blank acm 2017-01-01T07:54:12.49 none 20170101T075427.2_acm_sci 9.659822 2.822883 -99.00 10.00 1590.4 -99.000 none 7 8.662639 blank acm 2017-01-01T08:39:45.53 none 20170101T084000.2_acm_sci 9.662217 2.832919 -99.00 10.00 1064.1 -99.000 none 8 10.852584 blank acm 2017-01-01T10:51:09.30 none 20170101T105124.0_acm_sci 8.574497 22.190255 -99.00 10.00 1425.9 -99.000 none 9 11.576805 blank acm 2017-01-01T11:34:36.56 none 20170101T113451.3_acm_sci 8.575698 22.140699 -99.00 10.00 923.9 -99.000 noneThe format of these tables may change, but the basic properties we need for many applications are present. We have the image type to judge whether we have bias frames for a given night, We have the breakdown by filter type fr the OPEN images (i.e. Nog = number pf iopen sky images using the q filter). The CRVAL1,CRAL2 values are the sky position (Ra,Dec) in units of degrees.