WPS 4 ODV: on-the-fly server-side plotting of data (in Google Earth) EMODNet chemistry contribution, Barcelona, Mar 2014 Gerben J. de Boer, Gerrit Hendriksen, Giorgio Santinelli 14 oktober 2019
OpenEarthTools Google Earth static products 14 oktober 2019
Matlab oceandataview and googleplot 14 oktober 2019
OpenEarth Matlab GooglePlot
*.png *.kml *.nc collection *.odv collection Portal links Linkable static collection of png files per granule (made by ODV?) Linkable static collection of kml files per granule (python or Matlab Linkable DYNAMIC collection of kml files per granule (python) pyWPS pyWPS *.png *.kml ODV batch mode OpenEarth Matlab GooglePlot 13,000 lines > KMLpcolor() wrapper for Simplekml.py > Matplotlib back-end for Simplekml.py Cache of netCDF files incl. resolved P011, P061 and EDMO codes as NOAA/MyOcean THREDDS OPeNDAP) Cache in RDBMS (PostgreSQL, PostGIS or Oracle if someone pays the license) *.nc collection SQL/WFS/ SOS/ OPENDAP Data only, product done bij GHER, Liege *.odv collection Robo-harvested cache of ODV files ODV files at EDMO sources P0x EDMx
pyWPS MSc thesis finished this summer under National GIS MSc program http://localhost/ tor testing
Processing 1 ODV fle http://localhost/cgi-bin/pywps.cgi? &service=wps &version=1.0.0 &request=Execute &Identifier=odvProcess &DataInputs=[ url=d:/../userkc30e50-data_centre632-090210_result/… world_N50W10N40E0_20060101_20070101.txt; parameter=Wind_direction%28dd%29_[deg] ] 14 oktober 2019
WPS output xml with link to kmz kml is inefficient xml so needs zipping for faster delivery kmz is zip file renamed kmz with the kml inside it. a kmz can include more, like the scattered dot png 14 oktober 2019
kmz can be opened in Google Earth Value is mapped in a grey scale colormap 14 oktober 2019
Data value lights up as text upon mouse hoover-over 14 oktober 2019
Data and meta-data is stored as html table inside kmz 14 oktober 2019
Time of each data encoded as kml time: time slider to select period 14 oktober 2019
WPS output xml with json inside it Java Script Object Notation json is an efficient ascii stream many libraries can easily parse json, especially java script as used in websites webviewer can render table or plot 14 oktober 2019
Also for directory with ODV files but a bit slow, ODV has some performance issues for large folders http://localhost/cgi-bin/pywps.cgi? &service=wps &version=1.0.0 &request=Execute &Identifier=odvProcess &DataInputs=[ url=d:/../userkc30e50-data_centre632-090210_result; parameter=Wind_direction%28dd%29_[deg] ] 14 oktober 2019
SDN integration issues Speed-up getting the data: needed for on-the-fly ODV cache Matlab toolbox Python pyODV: quick ‘n dirty parser (scaffolded: no P01) API: http://odv.awi.de API: ODV collections PostgreSQL/Oracle cache (python has mature SQL library) netCDF collection cache (python has mature netcdf library) How to request plot for one variable: How do you know what’s in a file? Meta-data is too aggregated. 2-step query like SOS? Where to host test WPS server? Test dataset cache 4 Deltares server? 14 oktober 2019
PyWPS ODV code in open access repos 14 oktober 2019
WPS inputs: ideas? WPS input Colormap choice Colorlimits Outputformat: kmz, json, png, … Flag for pop-up table (slow for large datasets) Plot options: Trajectory: connect dots with lines Timeseries: dynamic plot Profiles: plot as column with z exaggeration 14 oktober 2019