Changeset 28177 for branches/haf_branches/ipp.20100512/ippScripts/scripts
- Timestamp:
- Jun 1, 2010, 1:45:42 PM (16 years ago)
- Location:
- branches/haf_branches/ipp.20100512/ippScripts/scripts
- Files:
-
- 2 edited
-
minidvodb_createdb.pl (modified) (1 diff)
-
minidvodb_merge.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_createdb.pl
r28171 r28177 204 204 my $parser = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S', time_zone => "HST" ); 205 205 my $creation_dt = $parser->parse_datetime( $creation_date )->mjd; 206 if ($mjd_start- $creation_dt > $minidvodb_interval) { # && $addRun_count > 0 ) { 207 #if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) { 206 if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) { 208 207 #db is old and has stuff in it, want to create_new 209 208 $create_new = 1; -
branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_merge.pl
r28171 r28177 87 87 unless ($no_op) { 88 88 if (defined $mergedvodbReal) { 89 my $mjd_relphot_start = DateTime->now->mjd;90 my $lame = 1;91 if ($lame ==2){92 89 { 93 90 my $command = "$addstar -resort"; … … 125 122 $dtime_relphot = 86400.0*(DateTime->now->mjd - $mjd_relphot_start); # MJD of starting script 126 123 print "relphot time $dtime_relphot\n"; 127 } }124 } 128 125 129 126 {
Note:
See TracChangeset
for help on using the changeset viewer.
