In [6]:
# import owslib wps part dealing with WebProcessingServices
from owslib.wps import WebProcessingService,printInputOutput
 
# define the URL of the WPS
url = 'http://wps.openearth.nl/wps'
 
# define the WPS
wps = WebProcessingService(url, verbose=False, skip_caps=True)
wps.getcapabilities()
wps.identification.title
 
 
wps.identification.abstract
 
# find out which processes there area
for process in wps.processes:
    print (process.identifier, process.title)


constituents Lookup constituents based on their short name
tidal_predict Tidal prediction tool
IDT_simple Interactive Dredge Planning Tool
hymos_doublemass Double Mass Plot
hymos_timeseries_example Example timeseries
gwdlr_get_river_profiles This process returns shape files with riverprofiles and locations from the gwdlr database
addtwonumbers Addtwonumbers
densitychart Densitychart
oil_spill Oil_spill
t_tide T_tide
tide_analysis Tide_analysis
tide_predict Tide_predict
validateddshymosnetcdf Validateddshymosnetcdf

In [7]:
p = wps.describeprocess(identifier='oil_spill')
for input in p.dataInputs:
   printInputOutput(input)
   print ('\n')


 identifier=volume, title=None, abstract=None, data type=//www.w3.org/TR/xmlschema-2/#float
 Any value allowed
 Default Value: None 
 minOccurs=1, maxOccurs=1


 identifier=track, title=None, abstract=None, data type=ComplexData
 Supported Value: mimeType=application/json, encoding=None, schema=None
 Supported Value: mimeType=text/plain, encoding=None, schema=None
 Supported Value: mimeType=application/gml+xml, encoding=None, schema=None
 Default Value: mimeType=application/json, encoding=None, schema=None 
 minOccurs=1, maxOccurs=1



In [ ]: