IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2016, 3:06:18 PM (10 years ago)
Author:
watersc1
Message:

Add option to force registration state in case no morning darks were taken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/ippScripts/scripts/nightly_science.pl

    r39803 r39816  
    4747# Grab options
    4848my ( $date, $datetime, $camera, $dbname, $logfile, $verbose, $manual);
    49 my ( $help, $isburning, $force_stack_count, $force_diff_count, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode);
     49my ( $help, $isburning, $force_stack_count, $force_diff_count, $force_registration, $test_mode, $this_target_only, $this_filter_only, $this_mode_only, $check_mode);
    5050my ( $registration_status, $burntool_status, $observing_status, $old_date);
    5151my ( $check_registration, $define_burntool, $queue_burntool, $check_chips, $queue_chips);
     
    6565    'force_stack_count'    => \$force_stack_count,
    6666    'force_diff_count'     => \$force_diff_count,
     67    'force_registration'   => \$force_registration,
    6768    'this_target_only=s'   => \$this_target_only,
    6869    'this_filter_only=s'   => \$this_filter_only,
     
    285286$metadata_out{nsObservingState} = &get_observing_state($date);
    286287$metadata_out{nsRegistrationState} = &get_registration_state($date);
     288if ($force_registration) {
     289    $metadata_out{nsRegistrationState} = 'REGISTERED';
     290}
    287291#
    288292# Mode selection
Note: See TracChangeset for help on using the changeset viewer.