You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

A pyWPS wrapper has bene made for the python pyodv toolbox. The rationale of pyWPSodv is the same as used in the OGC WxS services as SOS and WFS: subsequent requests dig deeper:
odvGetCDI > odvGetParameters > odv2map, odv2profile, odv2timeseries.

  • odvGetCDI is meant to inquire which odv files are available at the server. odvGetCDI returns a table with 3 columns: EDMO_code for the institute where the data originate, LOCAL_CDI_ID for the unique local identifier at the data centre and suffix for the suffix added to the file name in case where the LOCAL_CDI_ID has been split into temporal or spatial tiles. The filenames are reconstructed at the server to be $ROOT$/data/<EDMO_code>/<LOCAL_CDI_ID><suffix>.txt. The files downloaded from SeaDataNet only have to be inserted into a folder with the name of the EDMO_code. odvGetCDI also returns 3 meta-data columns: the meta-data time and location (lon,lat).
    odvGetCDI returns the table in efficient json format for fast machine processing.
    .
    http://localhost/cgi-bin/pywps.cgi?service=wps&request=Execute&Identifier=odvGetCDI&DataInputs=[]l&version=1.0.0
    

    A working example on our test server is (note this url may be dysfunctional now and then, as it is a test server) http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetCDI&DataInputs=[]&version=1.0.0]}}

The remaining WPS wrappers for plotting one odv file/folder have the same name as the associated pydov functions. They have

The above processes and the input/output arguments can be inquired with the general WPS getCapabilites request

http://dtvirt5.deltares.nl/wps?service=wps&request=GetCapabilities:

<wps:ProcessOfferings>

<wps:Process wps:processVersion="$ version $">
<ows:Identifier>odvGetCDI</ows:Identifier>
<ows:Title>...</ows:Title>
<ows:Abstract>odvGetCDI returns the data contents of a remote server as json or html</ows:Abstract>
</wps:Process>

<wps:Process wps:processVersion="$ version $">
<ows:Identifier>odvGetParameters</ows:Identifier>
<ows:Title>...</ows:Title>
<ows:Abstract>odvGetParameters returns the contents of a remote ODV file as json or html</ows:Abstract>
</wps:Process>

<wps:Process wps:processVersion="$ version $">
<ows:Identifier>odv2map</ows:Identifier>
<ows:Title>...</ows:Title>
<ows:Abstract>odv2map returns a planview plot of a remote ODV file or folder as png and kmz</ows:Abstract>
</wps:Process>

<wps:Process wps:processVersion="$ version $">
<ows:Identifier>odv2profile</ows:Identifier>
<ows:Title>...</ows:Title>
<ows:Abstract>odv2profile returns a scatter/profile plot of one parameter from a remote ODV file as png</ows:Abstract>
</wps:Process>

<wps:Process wps:processVersion="$ version $">
<ows:Identifier>odv2timeseries</ows:Identifier>
<ows:Title>...</ows:Title>
<ows:Abstract>odv2timeseries returns a scatter/profile plot of one parameter from a remote ODV file as png</ows:Abstract>
</wps:Process>
  • No labels