nappy/contrib/aircraft/old_na_to_nc_with_aircraft.py
def defineNAAuxVars(self, auxVars):
        """
	Method to define NASA Ames file object auxiliary variables and their
	associated metadata.
	"""
        self.na_dict["NAUXV"]=len(auxVars)
        self.na_dict["ANAME"]=[]
        self.na_dict["AMISS"]=[]
        self.na_dict["ASCAL"]=[]
        self.na_dict["A"]=[]
        for var in auxVars:
            name=getBestName(var)
            self.na_dict["ANAME"].append(name)
            miss=getMissingValue(var)
            if type(miss)!=float:  miss=miss[0]
            self.na_dict["AMISS"].append(miss)
            self.na_dict["ASCAL"].append(1)
            # AND THE ARRAY
            # Populate the variable list  
            ######## NOTE - might not have to do this #####
            ######## It  might handle writing from a Numeric array ########
            self.na_dict["A"].append(var._data)
            #listOfListsCreator(inlist, var.shape)
            #arrayToList(var, inlist)     


	Method to define NASA Ames file object auxiliary variables and their
	associated metadata.
	
Method to define NASA Ames file object auxiliary variables and their
associated metadata.
Method to define NASA Ames file object auxiliary variables and their associated metadata .
def defineNAAuxVars(self, auxVars):
        self.na_dict["NAUXV"]=len(auxVars)
        self.na_dict["ANAME"]=[]
        self.na_dict["AMISS"]=[]
        self.na_dict["ASCAL"]=[]
        self.na_dict["A"]=[]
        for var in auxVars:
            name=getBestName(var)
            self.na_dict["ANAME"].append(name)
            miss=getMissingValue(var)
            if type(miss)!=float:  miss=miss[0]
            self.na_dict["AMISS"].append(miss)
            self.na_dict["ASCAL"].append(1)
            self.na_dict["A"].append(var._data)
def defineNAAuxVars ( self , auxVars ) : self . na_dict [ "NAUXV" ] = len ( auxVars ) self . na_dict [ "ANAME" ] = [ ] self . na_dict [ "AMISS" ] = [ ] self . na_dict [ "ASCAL" ] = [ ] self . na_dict [ "A" ] = [ ] for var in auxVars : name = getBestName ( var ) self . na_dict [ "ANAME" ] . append ( name ) miss = getMissingValue ( var ) if type ( miss ) != float : miss = miss [ 0 ] self . na_dict [ "AMISS" ] . append ( miss ) self . na_dict [ "ASCAL" ] . append ( 1 ) self . na_dict [ "A" ] . append ( var . _data )
Method to define NASA Ames file object auxiliary variables and their
associated metadata.
Method to define NASA Ames file object auxiliary variables and their associated metadata .
"""
	Method to define NASA Ames file object auxiliary variables and their
	associated metadata.
	""" # AND THE ARRAY
 # Populate the variable list  
 ######## NOTE - might not have to do this #####
 ######## It  might handle writing from a Numeric array ########
 #listOfListsCreator(inlist, var.shape)
 #arrayToList(var, inlist)     

self
auxVars