Presentation is loading. Please wait.

Presentation is loading. Please wait.

WPS 4 ODV: on-the-fly server-side plotting of data (in Google Earth)

Similar presentations


Presentation on theme: "WPS 4 ODV: on-the-fly server-side plotting of data (in Google Earth)"— Presentation transcript:

1 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

2 OpenEarthTools Google Earth static products
14 oktober 2019

3 Matlab oceandataview and googleplot
14 oktober 2019

4 OpenEarth Matlab GooglePlot

5 *.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

6 pyWPS MSc thesis finished this summer under National GIS MSc program tor testing

7 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_centre _result/… world_N50W10N40E0_ _ txt; parameter=Wind_direction%28dd%29_[deg] ] 14 oktober 2019

8 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

9 kmz can be opened in Google Earth
Value is mapped in a grey scale colormap 14 oktober 2019

10 Data value lights up as text upon mouse hoover-over
14 oktober 2019

11 Data and meta-data is stored as html table inside kmz
14 oktober 2019

12 Time of each data encoded as kml time: time slider to select period
14 oktober 2019

13 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

14 Also for directory with ODV files
but a bit slow, ODV has some performance issues for large folders &service=wps &version=1.0.0 &request=Execute &Identifier=odvProcess &DataInputs=[ url=d:/../userkc30e50-data_centre _result; parameter=Wind_direction%28dd%29_[deg] ] 14 oktober 2019

15 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: 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

16 PyWPS ODV code in open access repos
14 oktober 2019

17 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


Download ppt "WPS 4 ODV: on-the-fly server-side plotting of data (in Google Earth)"

Similar presentations


Ads by Google