Changeset 3641 for DPPP


Ignore:
Timestamp:
18/03/08 11:40:55 (11 years ago)
Author:
mkochan
Message:

Tested and setup functioning of csml2kmlpylon using relocated config file.

Location:
DPPP/kml/csml2kml/python/csml2kmlpylon
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kmlpylon/csml2kmlpylon/controllers/csmlGrapher.py

    r3636 r3641  
    1616from urllib import quote 
    1717 
     18# CSML and csml2kml imports 
    1819import csml 
    1920import csml2kml.Station 
     
    3435         
    3536        # Load the configuration XML element (but only the part pertaining to the web service) 
    36         grapherConfig = (ElementTree().parse(configFileName)).find('GrapherWebService') 
     37        testConfig = ElementTree().parse(configFileName) 
     38        print testConfig 
     39        grapherConfig = (ElementTree().parse(configFileName)) 
    3740 
    3841        # Set the configurable variables 
     
    119122            ql = feature.value.rangeSet.quantityList 
    120123            vals = map(float, ql.CONTENT.split()) 
    121  
    122             print '---times (' + str(len(times)) + ' of them):\n' + str(times) 
    123             print '---vals (' + str(len(times)) + ' of them):\n' + str(vals) 
    124124 
    125125            # Make sure the times are sorted in ascending order (and rearrange the values accordingly), 
     
    164164                uom = uom.upper() 
    165165 
    166  
    167166            # Prepare the plot the figure (actual plotting actions are postponed until save) 
    168167            fig = figure() 
     
    263262        headingRowElement = SubElement(tableElement, 'tr') 
    264263        SubElement(headingRowElement, 'th').text = 'Feature name' 
    265         SubElement(headingRowElement, 'th').text = 'Data collected since*' 
    266         SubElement(headingRowElement, 'th').text = 'Data collected until* ' 
     264        SubElement(headingRowElement, 'th').text = 'Data collected since' 
     265        SubElement(headingRowElement, 'th').text = 'Data collected until ' 
    267266        for stationFeature in wfsStation.stationFeatures: 
    268267            if self.displayIntervalStart >= stationFeature.collectBeginDate and self.displayIntervalEnd <= stationFeature.collectEndDate: 
  • DPPP/kml/csml2kml/python/csml2kmlpylon/development.ini

    r3592 r3641  
    2424 
    2525# The following is the location of the config file that is used to setup the csmlGrapher service 
    26 csmlGrapher.configfile = /home/users/mkochan/svn-root/kml/csml2kml/testdata/midas.csml2kml.conf.xml 
     26csmlGrapher.configfile = %(here)s/csml2kmlpylon/config/midas.csml2kmlpylon.conf.xml 
    2727 
    2828# If you'd like to fine-tune the individual locations of the cache data dirs 
Note: See TracChangeset for help on using the changeset viewer.