MADE CHANGES IN SCRIPTS (PK/SMN)

 

 

Modified Scripts

SPR

SCREW

Other

Problem Description

Solution

jemx_science_analysis

jemx_scw_analysis

j_correction

Other

The top level scripts, jemx_science_analysis

to analyse a whole OG

and jemx_scw_analysis

for a single ScW have, among many others, parameters for

  • the main data group

[ogDOL,swgDOL]

  • the JEM-X instrument

number [jemxNum]

  • the gain history Index

[COR_gainHist]

which all are supposed

to be given BUT these 3 parameters are not independent. The user can introduce INCONSISTENT parameters.

jemx_science_analysis => jemx_consistent_ogDOL

*jemxNum and ogID given, but ogDOL empty => construct standard ogDOL from jemxNum, ogid and baseDir, open that DOL.

*jemxNum and ogDOL given => open given ogDOL

* both cases:

make sanity check by reading INSTRUME attribute, and comparing this with the current jemxNum. Exit with error if

this is not in line.

j_correction => jemx_consistent_gainHist

* gainHist is empty

=> construct standard DOL from jemxNum and baseDir

* gainHist is given

=> open given DOL

* both cases:

make sanity check by reading INSTRUME …

SANITY CHECK COMMENTEND OUT BECAUSE IMPLICITLY DONE BY IR FUNCTION.

Modified Scripts

SPR

SCREW

Other

Problem Description

Solution

jemx_scw_analysis

SPR

01163

j_scripts mishandles slews

1st Aprox. A new function jemx_check_sw_type has been defined on jemx_science_analysis to check the SW_TYPE keyword. If SW_TYPE != 'POINTING' then exit with a Warning but status = ISDC_OK.

PK => reworked jemx_check_sw_Type to use DAL3GEN function and adding functionality. Changed name to jemx_check_sw.

 

j_scripts

 

 

SPR

01240

Missing parameters for JEM-X scripts

Clean-up effort. The parameter files have been checked (SMN) and the lack parameters have been included (PK).