- Timestamp:
- Oct 28, 2013, 4:40:06 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/ippToPsps
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
jython/dvo.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/ippToPsps
- Property svn:mergeinfo changed
/trunk/ippToPsps merged: 36190-36191,36201-36202
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130904/ippToPsps/jython/dvo.py
r35780 r36252 518 518 self.logger.debugPair("Reading IPP table", table.name) 519 519 table = stilts.tpipe(table, cmd='explodeall') 520 520 #adds an index to all the tables 521 # table = stilts.tpipe(table, cmd='addcol table_index $0') 522 521 523 # IPP FITS files are littered with infinity values. Remove them 522 524 self.logger.debugPair("Removing", "infinity values") … … 628 630 maxDEC = boxDim['maxDEC'] + dD_border 629 631 632 #find out if we use a time_range or not 633 valid_trange_start = 0 634 valid_trange_end = 0 635 use_trange = 0 636 if (self.skychunk.trange_start != '0000-00-00 00:00:00'): 637 valid_trange_start = 1 638 if (self.skychunk.trange_end != '0000-00-00 00:00:00'): 639 valid_trange_end = 1 640 641 if (valid_trange_start and valid_trange_end): 642 use_trange = 1 643 644 630 645 # TODO path to DVO prog hardcoded temporarily 631 646 cmd = "dvopsps detections" … … 644 659 cmd += " -parallel" 645 660 661 if use_trange: 662 # make tranges valid for dvopsps 663 time_start1 = self.skychunk.trange_start 664 time_end1 = self.skychunk.trange_end 665 time_start=re.sub('\s+',',',time_start1) 666 time_end=re.sub('\s+',',',time_end1) 667 668 # make command 669 cmd += " -time-start " + time_start 670 cmd += " -time-end " + time_end 671 646 672 self.logger.infoPair("Running dvopsps", cmd) 647 673 p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)
Note:
See TracChangeset
for help on using the changeset viewer.
