Ignore:
Timestamp:
19/11/07 13:49:32 (12 years ago)
Author:
domlowe
Message:

pointseries subsetting workign in WCS

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs1_0_0.py

    r2978 r3023  
    277277            lat=feature.getLatitudeAxis() 
    278278            t=feature.getTimeAxis() 
    279             print '%s %s %s'%(lon,lat,t) 
    280279            if None in [lon, lat, t]: 
    281280                #TODO need to return a suitable wcs error. 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/csml_util.py

    r2782 r3023  
    100100    elif type(feature) is csml.parser.TrajectoryFeature: 
    101101        feature.subsetToTrajectory(ncname=os.path.basename(filename), outputdir=os.path.dirname(filename) ,**sel) 
     102    elif type(feature) is csml.parser.PointSeriesFeature: 
     103        del sel['longitude'] #delete dummy values 
     104        del sel['latitude'] #delete dummy values 
     105        feature.subsetToPointSeries(ncname=os.path.basename(filename), outputdir=os.path.dirname(filename) ,**sel) 
    102106         
    103107    return filename 
Note: See TracChangeset for help on using the changeset viewer.