Geoapplications development http://rgeo.wikience.org
Higher School of Economics, Moscow, www.cs.hse.ru
Geoapplications development http://rgeo.wikience.org Higher School - - PowerPoint PPT Presentation
Geoapplications development http://rgeo.wikience.org Higher School of Economics, Moscow, www.cs.hse.ru 2 Agenda 3 Sources of geospatial raster data 4 Challenges in managing raster data
Higher School of Economics, Moscow, www.cs.hse.ru
2
3
4
5
6
7
8
9
10
11
http://www.narccap.ucar.edu/users/user-meeting-08/handout/netcdf-diagram.png
12
https://trac.osgeo.org/gdal/raw- attachment/wiki/ADAGUC/ADAGUC_NetCDF_dimension_scales.jpg
13
14
15
http://rasdaman.org/
16
17
18
19
20
21
22
<Context> <!-- Default set of monitored resources. If one of these changes, the --> <!-- web application will be reloaded. --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> <Resources cachingAllowed="true" cacheMaxSize="100000" /> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" />
</Context>
23
<role rolename="manager-gui"/> <user username="tomcat" password="tomcat" roles="manager-gui"/>
24
25
26
Warning: do not remove tds-4.6.5.war from the webapps folder after it has been deployed
27
28
c:\apache-tomcat-9.0.0.M4\webapps\tds-4.6.5\WEB-INF\web.xml
http://www.unidata.ucar.edu/software/thredds/current/tds/reference/TomcatBehindProxyServer.html
<!-- Provide the context path at init time (otherwise, not available till a request is made). --> <!-- Servlet 2.5 spec provides ServletContext.getContextPath(). But we aren't requiring Servlet 2.5 yet. --> <context-param> <param-name>ContextPath</param-name> <param-value>tds-4.6.5</param-value> </context-param>
29
<context-param> <param-name>ContextPath</param-name> <param-value>tds-4.6.5</param-value> </context-param>
30
31
<?xml version="1.0" encoding="UTF-8"?> <catalog name="Raster data collection" xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0 http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.6.xsd"> <service name="all" base="" serviceType="compound"> <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" /> <service name="dap4" serviceType="DAP4" base="/thredds/dap4/" /> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" /> <service name="wcs" serviceType="WCS" base="/thredds/wcs/" /> <!--service name="wms" serviceType="WMS" base="/thredds/wms/" /--> <!--service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/" /--> </service>
32
<service name="dap" base="" serviceType="compound"> <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" /> <service name="dap4" serviceType="DAP4" base="/thredds/dap4/" /> </service> <datasetRoot path="test" location="content/testdata/" /> <dataset name="Test Single Dataset" ID="testDataset" serviceName="dap" urlPath="test/testData.nc" dataType="Grid"/> <dataset name="Test Single Dataset 2" ID="testDataset2" serviceName="odap" urlPath="test/testData2.grib2" dataType="Grid"/> This does not actually work for me: location="content/testdata/ Because path is different: c:\apache-tomcat-9.0.0.M4\content\thredds\thredds\public\testdata\ Anyway, we will make our own collection
33
<datasetScan name="Test all files in a directory" ID="testDatasetScan" path="testAll" location="content/testdata"> <metadata inherited="true"> <serviceName>all</serviceName> <dataType>Grid</dataType> </metadata> <filter> <include wildcard="*eta_211.nc"/> <include wildcard="testgrid*.nc"/> </filter> </datasetScan> <catalogRef xlink:title="Test Enhanced Catalog" xlink:href="enhancedCatalog.xml" name=""/> </catalog>
34
Enable WCS service (because in catalog.xml WCS service will not work without this server- global option) <!-- The WCS Service is off by default. Also, off by default (and encouraged) is operating on a remote dataset.
<WCS> <allow>true</allow> <allowRemote>true</allowRemote> <scour>15 min</scour> <maxAge>30 min</maxAge> </WCS>
35
36
37
38
39
40
41
42
43