Changeset 37431
- Timestamp:
- Sep 24, 2014, 10:57:13 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/publish_file.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/publish_file.pl
r37411 r37431 252 252 warp_id => $comp->{warp1}, 253 253 diff_id => $comp->{diff_id}, 254 camera => $comp->{camera}, 254 255 output_format => $comp->{output_format}, 255 256 direction => 1, … … 291 292 warp_id => $comp->{warp2}, 292 293 diff_id => $comp->{diff_id}, 294 camera => $comp->{camera}, 295 # missing output_format? 293 296 direction => 0, 294 297 comment => $reg_comp->{comment}, … … 359 362 my $name = shift; # Name of component 360 363 361 $data->{zp} = $comp->{zp} unless defined $data->{zp}; 362 $data->{zp_err} = $comp->{zp_err} unless defined $data->{zp_err}; 363 $data->{astrom} = $comp->{astrom} unless defined $data->{astrom}; 364 $data->{exp_name} = $comp->{exp_name} unless defined $data->{exp_name}; 365 $data->{exp_id} = $comp->{exp_id} unless defined $data->{exp_id}; 366 $data->{chip_id} = $comp->{chip_id} unless defined $data->{chip_id}; 367 $data->{cam_id} = $comp->{cam_id} unless defined $data->{cam_id}; 368 $data->{fake_id} = $comp->{fake_id} unless defined $data->{fake_id}; 369 $data->{warp_id} = $comp->{warp_id} unless defined $data->{warp_id}; 370 $data->{diff_id} = $comp->{diff_id} unless defined $data->{diff_id}; 364 $data->{zp} = $comp->{zp} unless defined $data->{zp}; 365 $data->{zp_err} = $comp->{zp_err} unless defined $data->{zp_err}; 366 $data->{astrom} = $comp->{astrom} unless defined $data->{astrom}; 367 $data->{exp_name} = $comp->{exp_name} unless defined $data->{exp_name}; 368 $data->{exp_id} = $comp->{exp_id} unless defined $data->{exp_id}; 369 $data->{chip_id} = $comp->{chip_id} unless defined $data->{chip_id}; 370 $data->{cam_id} = $comp->{cam_id} unless defined $data->{cam_id}; 371 $data->{fake_id} = $comp->{fake_id} unless defined $data->{fake_id}; 372 $data->{warp_id} = $comp->{warp_id} unless defined $data->{warp_id}; 373 $data->{diff_id} = $comp->{diff_id} unless defined $data->{diff_id}; 374 $data->{camera} = $comp->{camera} unless defined $data->{camera}; 375 # missing output_format? 371 376 $data->{direction} = $comp->{direction} unless defined $data->{direction}; 372 $data->{comment} = $comp->{comment}unless defined $data->{comment};373 $data->{obsmode} = $comp->{obsmode}unless defined $data->{obsmode};374 $data->{difftype} = $comp->{difftype}unless defined $data->{difftype};375 $data->{sky} = $comp->{sky}unless defined $data->{sky};376 $data->{shutoutc} = $comp->{shutoutc}unless defined $data->{shutoutc};377 $data->{comment} = $comp->{comment} unless defined $data->{comment}; 378 $data->{obsmode} = $comp->{obsmode} unless defined $data->{obsmode}; 379 $data->{difftype} = $comp->{difftype} unless defined $data->{difftype}; 380 $data->{sky} = $comp->{sky} unless defined $data->{sky}; 381 $data->{shutoutc} = $comp->{shutoutc} unless defined $data->{shutoutc}; 377 382 378 383 &my_die("zp value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{zp} and $comp->{zp} != $data->{zp}; … … 386 391 &my_die("warp_id value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{warp_id} and $comp->{warp_id} != $data->{warp_id}; 387 392 &my_die("diff_id value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{diff_id} and $comp->{diff_id} != $data->{diff_id}; 393 &my_die("camera value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{camera} and $comp->{camera} ne $data->{camera}; 388 394 &my_die("direction value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{direction} and $comp->{direction} != $data->{direction}; 389 395 &my_die("comment value for $name doesn't match", $pub_id, $PS_EXIT_SYS_ERROR) if defined $data->{comment} and $comp->{comment} ne $data->{comment}; … … 414 420 $command .= " -warp_id " . $data->{warp_id} if defined $data->{warp_id}; 415 421 $command .= " -diff_id " . $data->{diff_id} if defined $data->{diff_id}; 422 $command .= " -camera " . $data->{camera} if defined $data->{camera}; 416 423 $command .= " -inverse" if defined $data->{direction} and $data->{direction} == 0; 417 424 $command .= " -zp " . $data->{zp} if defined $data->{zp};
Note:
See TracChangeset
for help on using the changeset viewer.
