Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • odvGetCDI is meant to inquire which odv files are available at the server. This function 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 temporel 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 can return odvGetCDI also returns 3 meta-data columns: the meta-data time and location (lon,lat).
    odvGetCDI returns the table in efficient json (default) format for fast machine processing, or in human readable html format, by adding &responsedocument=datafiles=@mimetype=text/html&version to the url.
    Code Block
    .
    http://localhost/cgi-bin/pywps.cgi?service=wps&request=Execute&Identifier=odvGetCDI&DataInputs=[]&responsedocument=datafiles=@mimetype=text/html&l&version=1.0.0
    
    Wiki Markup
    A working example on our test server is (note this url may be dysfunctional now and then, as it is a test server)

    json:
    
    http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetCDI&DataInputs=\[\]&version=1.0.0

    mime: http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetCDI&DataInputs=[]&responsedocument=datafiles=@mimetype=text/html&version=1.0.0
    ]}}

...