IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 24, 2013, 5:29:24 PM (13 years ago)
Author:
watersc1
Message:

Updated skycell_jpeg.pl to correctly skip undoable things, and to pass wcsref to the new ppSkycell code. Split masks and images, as doing them simultaneously makes ppSkycell unusably slow (it's no longer a reasonably simple copy operation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/lap_science.pl

    r35810 r35853  
    309309    my $magicDS_update_cmd  = "magicdstool -setfiletoupdate -magic_ds_id $chip_magicDS_id -set_label $label";
    310310    $magicDS_update_cmd    .= " -dbname $dbname " if defined $dbname;
     311    my $warptool_preupdate_cmd = "warptool -revertwarped -warp_id $warp_id -fault 26";
     312    $warptool_preupdate_cmd .= " -dbname $dbname " if defined $dbname;
    311313    my $warptool_update_cmd = "warptool -setskyfiletoupdate -warp_id $warp_id -set_label $label";
    312314    $warptool_update_cmd   .= " -dbname $dbname " if defined $dbname;
     
    339341#               }
    340342#             }
     343        }
     344
     345
     346        ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     347            run(command => $warptool_preupdate_cmd, verbose => $verbose);
     348        unless ($success) {
     349            $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     350            &my_die("Unable to perform warptool --revertwarped: $error_code", $exposure->{exp_id}, $data_group);
    341351        }
    342352
Note: See TracChangeset for help on using the changeset viewer.