Ignore:
Timestamp:
30/05/07 15:08:38 (13 years ago)
Author:
domlowe
Message:

some CRS issues resolved

File:
1 edited

Legend:

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

    r2526 r2527  
    241241    cat=csml.csmllibs.csmlcrs.CRSCatalogue() 
    242242    if type(feature) == csml.parser.GridSeriesFeature: 
    243         crs=cat.getCRS(feature.value.gridSeriesDomain.srsName,feature.value.gridSeriesDomain.axisLabels) 
     243        crs=cat.getCRS(feature.value.gridSeriesDomain.srsName,labels=feature.value.gridSeriesDomain.axisLabels) 
    244244        gridordinates = feature.value.gridSeriesDomain.coordTransformTable.gridOrdinates 
    245245    elif type(feature) == csml.parser.ProfileSeriesFeature: 
    246         crs=cat.getCRS(feature.value.profileSeriesDomain.srsName) 
     246        crs=cat.getCRS(feature.value.profileSeriesDomain.srsName,labels = feature.value.profileSeriesDomain.axisLabels) 
    247247        gridordinates = feature.value.profileSeriesDomain.coordTransformTable.gridOrdinates 
     248     
    248249    timeName=crs.axes[crs.timeAxis] 
    249250    #Find the original time name (timeAxis) for the file. 
Note: See TracChangeset for help on using the changeset viewer.