...
odvGetCDI
is meant to inquire which odv files are available at the server. This functionodvGetCDI
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 andsuffix
for the suffix added to the file name in case where theLOCAL_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 theEDMO_code
.
odvGetCDI
can returnodvGetCDI
also returns 3 meta-data columns: the meta-data time and location (lon,lat).
odvGetCDI
returns the table in efficientjson
(default) format for fast machine processing, or in human readablehtml
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
]}}
odvGetParameters
is meant to inquire files to find which variables are available in one file returned byodvGetCDI
. It returns the P01 quantity code insdn_name
, the P06 units insdn_units
and the column name incolumn_name
. Thecolumn_name
has to be used in the subsequent plotting processes, it is equal to (i) thesdn_code
for data columns, (ii) 'QV:" +sdn_code
for flag columns and (iii) the standardized odv column name for the first 8 meta-data columns.
odvGetParameters
can return the table in efficientjson
(default) for fast machine processing, or in human readablehtml
format, by adding&responsedocument=Parameters=@mimetype=text/html
to the url.
A working example on our test server is (note this url may be dysfunctional now and then, as it is a test server)Code Block http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetParameters&DataInputs=[EDMO_code=632;LOCAL_CDI_ID=world_N50W10N40E0;suffix=_20060101_20070101]&version=1.0.0
http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetParameters&DataInputs=[EDMO_code=x;LOCAL_CDI_ID=y&suffix=z]&version=1.0.0
http://dtvirt5.deltares.nl/wps?service=wps&request=Execute&Identifier=odvGetParameters&DataInputs=[EDMO_code=x;LOCAL_CDI_ID=y&suffix=z]&responsedocument=Parameters=@mimetype=text/html&version=1.0.0
...