Skip to content

Commit

Permalink
Merge pull request #436 from mdlpstsci/calacs_issue_435
Browse files Browse the repository at this point in the history
PHOTMODE keyword updated with MJD for SBC
  • Loading branch information
stsci-hack authored Sep 27, 2019
2 parents 54cbf1e + 619c370 commit cb3ca69
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
4 changes: 4 additions & 0 deletions pkg/acs/calacs/Dates
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
25-Sep-2019 CALACS 10.2.1 CALACS has been modified to allow the PHOTMODE keyword
to be updated with the MJDUTC for the SBC, in addition to
the HRC and WFC. This will allow time-dependent sensitivity
to be applied properly to SBC.
06-Mar-2019: CALACS 10.2.0 ACSREJ treats Bias and Dark image combination
differently than other data. ACSREJ ignores the
bad pixels (BPIXTAB flag of 4) during the combination
Expand Down
5 changes: 5 additions & 0 deletions pkg/acs/calacs/History
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 25-Sep-2019 - MDD -- Version 10.2.1
CALACS has been modified to allow the PHOTMODE keyword to be updated with
the MJD for the SBC, in addition to the HRC and WFC. This will allow
time-dependent sensitivity to be applied properly to SBC.

### 06-Mar-2019 - MDD -- Version 10.2.0
For bias or dark images, ACSREJ ignores the bad pixels (BPIXTAB flag of 4)
during the combination process for the SCI and ERR arrays (i.e. treat bad
Expand Down
6 changes: 6 additions & 0 deletions pkg/acs/calacs/Updates
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
update for version 10.2.1 - 25-Sep-2019 (MDD)
pkg/acs/calacs/Dates
pkg/acs/calacs/History
pkg/acs/calacs/Updates
pkg/acs/calacs/acs2d/photmode.c

Update for version 10.2.0 - 06-Mar-2019 (MDD)
pkg/acs/calacs/acsrej/acsrej_do.c
pkg/acs/calacs/acsrej/acsrej_loop.c
Expand Down
9 changes: 4 additions & 5 deletions pkg/acs/calacs/acs2d/photmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,10 @@ SingleGroup *x io: image to be calibrated; primary header is modified
}
}
}
/* Add 'mjd#' keyword to PHOTMODE string, but only for WFC and HRC */
if (acs2d->detector != MAMA_DETECTOR) {
sprintf (scratch, " MJD#%0.4f", acs2d->expstart);
strcat (photstr,scratch);
}
/* Add 'mjd#' keyword to PHOTMODE string, modified (Git Issue #435)
to apply to all ACS detectors */
sprintf (scratch, " MJD#%0.4f", acs2d->expstart);
strcat (photstr,scratch);

if (acs2d->verbose){
sprintf(MsgText,"Keyword PHOTMODE built as: %s",photstr);
Expand Down
4 changes: 2 additions & 2 deletions pkg/acs/calacs/include/acsversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#define INCL_ACSVERSION_H

/* This string is written to the output primary header as CAL_VER. */
#define ACS_CAL_VER "10.2.0 (19-May-2019)"
#define ACS_CAL_VER_NUM "10.2.0"
#define ACS_CAL_VER "10.2.1 (25-Sept-2019)"
#define ACS_CAL_VER_NUM "10.2.1"

/* name and version number of the CTE correction algorithm */
#define ACS_GEN1_CTE_NAME "PixelCTE 2012"
Expand Down

0 comments on commit cb3ca69

Please sign in to comment.