IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2011, 4:32:45 PM (15 years ago)
Author:
rhenders
Message:

now takes extra argument of columns to method that imports IPP tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/batch.py

    r32262 r32304  
    392392    Accepts a regular expression filter so not all tables need to be imported
    393393    '''
    394     def importIppTables(self, filter=""):
     394    def importIppTables(self, columns="*", filter=""):
    395395
    396396      self.logger.infoPair("Importing tables with filter", filter)
     
    410410          # IPP FITS files are littered with infinities, so remove these
    411411          self.logger.debug("Removing Infinity values from all columns")
     412          table = stilts.tpipe(table, cmd='keepcols "' + columns + '"')
    412413          table = stilts.tpipe(table, cmd='replaceval -Infinity null *')
    413414          table = stilts.tpipe(table, cmd='replaceval Infinity null *')
Note: See TracChangeset for help on using the changeset viewer.