>ingest_hst_cal_oms.pl -c <archive_class> -o <data_source> [-i <input_dir>]
Inputs
-i {input_dir}
Data
For OMS, you can now mix rootname.ext and rootname_ext.fits input. ASN files are always supposed to be rootname_asn.fits. For example, this is the OMS input that AUTO regr_00202 uses:
j8tlgfkmj.jif o5el08020_asn.fits o8tt7gmcj_jif.fits j8tlgfkmj.jit o5el08020_jif.fits o8tt7gmcj_jit.fits n6296q020.jif o5el08020_jit.fits u59g0108j.jif n6296q020.jit o5el08020_jwf.fits u59g0108j.jit n6296q020_asn.fits o5el08020_jwt.fits
Outputs
Verbosity
setenv MSG_REPORT_LEVEL MSG_ALL
Note that MSG_REPORT_LEVEL and STDB_REPORT_LEVEL settings are changed right before calls to genreq, InteractiveIngResponse, and update_db_tool. In the case of genreq and ingrsp, this was done to make debugging these comand-line tools easier. It was thought we did not need to debug those processes since they were not changing. However, we may wish to reconsider this change in the future.
In the case of update_db_tool, no extra reporting is necessary as this tool already does a wonderful job of making itself clear. Any extra reporting is redundant and makes it more difficult to see what the tool is doing.
#:144:sherbert@tufnel> unsetenv MSG_REPORT_LEVEL #:145:sherbert@tufnel> unsetenv STDB_REPORT_LEVEL #:210:sherbert@tufnel> ingest_hst_cal_oms.pl 2010280141753-E-ERROR-Too few arguments Usage: >ingest_hst_cal_oms.pl -i <input_dir> -c <archive_class> -o <data_source> All parameters are required but the order of [-flag value] pairs does not matter. <input_dir> is the location of the data to be archived. Only data from one type of archive_class should be here. This is the optional parameter. Defaults to current dir, if omitted. <archive_class> is the either CAL or OMS. <data_source> is the four character data source override value to be set in the regression pipeline. #:211:sherbert@tufnel> ingest_hst_cal_oms.pl -c OMS -o TEST -i oms >& keepMe_OMS_ing.out #:213:sherbert@tufnel> cat keepMe_OMS_ing.out 2010280141947-I-INFO-Starting... ingest_hst_cal_oms.pl -i oms -c OMS -o TEST 2010280141947-I-INFO-get_regr_path-Obtained null path name: /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/defs/null.path 2010280141947-I-INFO-get_regr_path-Found INGEST_PATH_NAME: regr 2010280141947-I-INFO-check_pipeline-Pipeline test: osf_test -p regr -pr dataset 2010280141950-I-INFO-check_pipeline-regr is idle. 2010280141950-I-INFO-ingest_hst_cal_oms.pl-chdir'd to /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/oms 2010280141950-I-INFO-get_cal_oms_datasets-Adding j8tlgfkmj to dataset list. 2010280141950-I-INFO-get_path_dirs-Obtained path file name: /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/defs/regr.path 2010280141950-I-INFO-get_path_dirs-Found INGEST_TRIGGER_ROOT: /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/ 2010280141950-I-INFO-get_path_dirs-Found INGEST_SOURCE_DIR: /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/source/ 2010280141950-I-INFO-set_data_source-Deleted old file from /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/source/. 2010280141950-I-INFO-set_data_source-Created /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/source/source_override.test 2010280141950-I-INFO-request_datasets-Processing with data_id Fgs with resource fgsreq. 2010280141950-I-INFO-request_datasets-Using trigger directory /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/hst/. 2010280141950-I-INFO-request_datasets-Processing dataset j8tlgfkmj. 2010280141953-I-INFO Initialized OPUS environment. (1) 2010280141953-I-INFO Registered callbacks. (1) 2010280141953-I-INFO GENREQ----------------------------------- (1) 2010280141953-I-INFO Spawning command: osf_present -p regr.path -f j8tlgfkmj -t Fgs (1) 2010280141957-I-INFO Processing type is GENERIC (1) 2010280141957-I-INFO 2 files are collected for archiving. (1) 2010280141957-I-INFO Copy .//j8tlgfkmj.jif to /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr//oms/j8tlgfkmj_jif.fits (1) 2010280141957-I-INFO Copy .//j8tlgfkmj.jit to /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr//oms/j8tlgfkmj_jit.fits (1) 2010280141957-I-INFO Archive files collected successfully. (1) 2010280141957-I-INFO-request_datasets-Dataset j8tlgfkmj successfully processed by genreq. 2010280141957-I-INFO-request_datasets-Created /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/pipe/cache/ingest/regr/trigger/hst/j8tlgfkmj.Fgs. 2010280141957-I-INFO-Completed...ingest_hst_cal_oms.pl -i /info/tufnel/lisa/test_sherbert_20100902_1/regr_00202/oms -c OMS -o TEST