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

fixes to do with arrays/lists/nearestneighbours

File:
1 edited

Legend:

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

    r2207 r2208  
    4545#request subsetted data from features (can set paths here) and add to container 
    4646#subset a feature 
    47 csmlContainer.add(feature.subsetToGridSeries(ncpath='myfile.nc',**subsetDictionary)) 
     47#csmlContainer.add(feature.subsetToGridSeries(ncpath='myfile.nc',**subsetDictionary)) 
    4848#subset another feature (in fact it's the same feature again, but it proves the concept) 
    4949subsetDictionary['t']=('2794-12-1T0:0:0.0','2795-12-1T0:0:0.0') 
    50 subsetDictionary['latitude']=(75) 
    51 subsetDictionary['longitude']=(41.25,45) 
     50subsetDictionary['latitude']=(75.) 
     51subsetDictionary['longitude']=(48.8) 
    5252csmlContainer.add(feature.subsetToProfileSeries(ncpath='myfile2.nc',**subsetDictionary)) 
    5353 
Note: See TracChangeset for help on using the changeset viewer.