Ignore:
Timestamp:
28/04/06 14:04:56 (14 years ago)
Author:
domlowe
Message:

fixed gml:axisName in Scanner

File:
1 edited

Legend:

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

    r839 r859  
    2424 
    2525#get type of feature (supply feature name) 
    26  
    27  
    2826#get types of all features 
    2927for i in range(0, len(featureList)): 
    3028    featureType = csml.getFeatureType(featureList[i]) 
    3129    print featureType 
    32  
     30     
     31     
    3332#get type of single feature  
    3433#eg featureType=csml.getFeatureType('feat04') 
    3534 
     35domainref=csml.getDomainReference('wind') 
     36print domainref 
     37sys.exit() 
    3638 
    3739#get gml description (long name) of feature 
     
    4143#get list of file extracts by gml:id 
    4244fileExtractList=csml.getFileExtractList() 
    43 print fileExtractList 
     45#print fileExtractList 
    4446 
    4547 
     
    4951#dataArray = csml.getData(fileExtractID) 
    5052#dataArray = csml.getData('feat04times') 
    51 dataArray = csml.getData('2__ncextract_latitude') 
    52 print dataArray 
     53for extract in fileExtractList: 
     54    dataArray=csml.getData(extract) 
     55    #print extract 
     56    #print dataArray 
     57 
     58#dataArray = csml.getData('2__ncextract_latitude') 
     59#print dataArray 
    5360 
    5461 
     
    5663#interrogate the Parser.Dataset object returned thus bypassing the csmlio wrapper functions 
    5764dataset = csml.getDatasetObj() 
    58 print dir(dataset) 
     65#print dir(dataset) 
    5966 
Note: See TracChangeset for help on using the changeset viewer.