Ignore:
Timestamp:
17/03/08 01:15:33 (11 years ago)
Author:
astephen
Message:

Fixing some bugs and inconsistencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/nc_interface/na_to_cdms.py

    r3470 r3615  
    198198        self.cdms_variables = [] 
    199199 
    200         if self.variables == None:     
     200        if self.variables in (None, "all"):     
    201201            for var_number in range(self.na_file_obj.NV): 
    202202                self.cdms_variables.append(self._convertNAToCdmsVariable(var_number)) 
     
    256256        self.cdms_aux_variables = [] 
    257257 
    258         if self.aux_variables == None:     
     258        if self.aux_variables in (None, "all"): 
    259259            for avar_number in range(self.na_file_obj.NAUXV): 
    260260                self.cdms_aux_variables.append(self._convertNAAuxToCdmsVariable(avar_number)) 
Note: See TracChangeset for help on using the changeset viewer.