Ignore:
Timestamp:
26/02/07 14:19:17 (13 years ago)
Author:
domlowe
Message:

subsetToProfileSeries working, but not fully complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/testfiles/apicalls.py

    r2206 r2207  
    4242subsetDictionary['latitude']=(-90,60) 
    4343subsetDictionary['longitude']=(-31.265,30.258) 
     44 
    4445#request subsetted data from features (can set paths here) and add to container 
    4546#subset a feature 
    4647csmlContainer.add(feature.subsetToGridSeries(ncpath='myfile.nc',**subsetDictionary)) 
    4748#subset another feature (in fact it's the same feature again, but it proves the concept) 
    48 #csmlContainer.add(feature.subsetToGridSeries(timeSelection,  ncpath='myfile2.nc',**spatialSubsetDictionary)) 
     49subsetDictionary['t']=('2794-12-1T0:0:0.0','2795-12-1T0:0:0.0') 
     50subsetDictionary['latitude']=(75) 
     51subsetDictionary['longitude']=(41.25,45) 
     52csmlContainer.add(feature.subsetToProfileSeries(ncpath='myfile2.nc',**subsetDictionary)) 
    4953 
    5054#when you have finished, get the contents of the container 
Note: See TracChangeset for help on using the changeset viewer.