Ignore:
Timestamp:
26/04/06 16:43:02 (14 years ago)
Author:
domlowe
Message:

basic getData method working for NetCDF/PP/NasaAmes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/newparser/ioDemo.py

    r835 r839  
    1212 
    1313#parse in CSML document: 
    14 csml.parse('example.xml') 
     14#csml.parse('example.xml') 
     15csml.parse('gridseriestest.xml') 
    1516 
    1617#return CSML document as string: 
     
    3536 
    3637#get gml description (long name) of feature 
    37 fdesc= csml.getFeatureDescription('feat04') 
    38 print fdesc 
     38#fdesc= csml.getFeatureDescription('feat04') 
     39#print fdesc 
    3940 
    4041#get list of file extracts by gml:id 
     
    4748#currently returns a list, but may need to consider masked arrays 
    4849#dataArray = csml.getData(fileExtractID) 
    49 dataArray = csml.getData('feat04times') 
     50#dataArray = csml.getData('feat04times') 
     51dataArray = csml.getData('2__ncextract_latitude') 
    5052print dataArray 
    5153 
Note: See TracChangeset for help on using the changeset viewer.