Ignore:
Timestamp:
13/02/07 09:19:27 (13 years ago)
Author:
domlowe
Message:

making selection more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/ops_FileExtract.py

    r2144 r2149  
    6767        units=[] 
    6868        axisorder=DI.getVariableAxes() 
    69         for axis in axisorder: 
    70             units.append(DI.getVariableAttribute('units')) 
     69        for axis in axisorder:     
     70            DI.setAxis(axis) 
     71            units.append(DI.getAxisAttribute('units')) 
    7172    DI.closeFile() 
    7273    return dataArray, fillvalue, axisorder, units 
Note: See TracChangeset for help on using the changeset viewer.