Changes between Version 13 and Version 14 of NERCPortals


Ignore:
Timestamp:
18/03/08 13:55:58 (11 years ago)
Author:
mkochan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NERCPortals

    v13 v14  
    1616 - {{{csml2kmlpylon}}} - is a web server (to be run by the BADC) providing web services which bring dynamic content to the viewing experience in Google Earth via HTTP. 
    1717 
    18 == Installation of eggs == 
     18== User manual == 
    1919 
    20 ... 
     20=== Installation === 
     21 
     22=== Running of scripts === 
     23 
     24=== Configuration === 
    2125 
    2226== Code notes == 
    2327 
     28=== Code notes towards {{{csml2kml}}}  === 
    2429 
    25 === Code notes towards {{{csml2kml}}}  === 
     30The egg's {{{csml2kml} directory contains all Python modules, and the following 4 sub-directories: 
     31 - {{{scripts}}} - contains Python stand-alone scripts, runnable from command line, which both use a config file as a means of input 
     32 - {{{tests}}} - contains tests, which simply print output (rather than fail/pass messages), and are runnable as {{{python test_filename.py}}}, but please look at the contents first to see what the test does 
     33 - {{{config}}} - contains config files for the scripts, in XML format, which define locations of used Web services etc. 
     34 - {{{output}}} - empty after installation, optionally usable for output of scripts and tests 
     35 
     36The modules  
     37 
     38There is a naming convention that wrappers of entities which normally exist as XML elements are prefixed with XML spacename. For instance, a class WMSLayer is a wrapper for an element ''<wms:Layer>''. Wrappers for KML elements (in {{{kml}}} namespace), which are used for output, contain a {{{build()}}} method, which builds each instance into an {{{ElementTree.Element}}} object. On the contrary, wrappers for elements in {{{wms}}} and {{{np}}} namespaces contain {{{parseXML()}}} method, as they are used for input. 
    2639 
    2740=== Code notes towards {{{csml2kmlpylon}}}  ===