Changeset 30243
- Timestamp:
- Jan 12, 2011, 1:27:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20101215/ippScripts/scripts/register_imfile.pl
r30241 r30243 179 179 if (uc(&value_for_flag ($cmdflags, "NULL", "-class_id")) eq "NULL") { &my_die_for_add ("class_id not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 180 180 if (uc(&value_for_flag ($cmdflags, "NULL", "-exp_type")) eq "NULL") { &my_die_for_add ("exp_type not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 181 my $dateobs = &value_for_flag($cmdflags, 0.0, "-dateobs"); 181 182 182 183 my $command = "$regtool -addprocessedimfile"; … … 207 208 my $ra = &value_for_flag($cmdflags, 0.0, "-ra"); 208 209 my $dec = &value_for_flag($cmdflags, 0.0, "-decl"); 209 my $dateobs = &value_for_flag($cmdflags, 0.0, "-dateobs"); 210 210 211 211 212 # if the needed data is available, pass it to sunmoon: … … 379 380 my $sunrise = shift; 380 381 381 my $date,$time;382 my ($date,$time); 382 383 383 384 if ($dateobs =~ /T/) {
Note:
See TracChangeset
for help on using the changeset viewer.
