Ignore:
Timestamp:
02/06/06 16:52:45 (15 years ago)
Author:
domlowe
Message:

time and calendar working in netcdf output. Time subsetting by min/max or explicit values. Ready for attempt at data extractor integration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/parser/API/CSMLDocument.py

    r1041 r1086  
    11''' CSMLDocument.py - simple implementation to return a CSML document containing a single type of feature''' 
     2from API import * 
    23 
    34class CSMLDocument: 
    45    def makeGridSeries(self,domain,rangeSet,datasetID=None,featureID=None): 
    56        fms=[] #empty featureMembers list 
    6         dset=Dataset() 
    7         feat=GridSeriesFeature() 
     7        feat=Parser.GridSeriesFeature() 
    88        if featureID: 
    99            feat.id= featureID 
    1010        else: 
    1111            feat.id='testfeature' 
    12         feat.description=Description('???') 
     12        feat.description=Parser.Description('???') 
    1313        feat.domain=domain 
    1414        feat.rangeSet=rangeSet 
    1515        fms.append(feat) 
    16         fc=FeatureCollection(members=fms) 
     16        fc=Parser.FeatureCollection(members=fms) 
    1717        #Create an Empty Dataset 
    18         ds = Dataset() 
     18        ds = Parser.Dataset() 
    1919        #Set objects as attributes of dataset 
    2020        if datasetID: 
Note: See TracChangeset for help on using the changeset viewer.