Hi,
I would like to configure my thredds server to scan a directory to offer
classic
services for netcdf files but only the HTTP service for text files or others
specific files
I would like to expose.
I have for now:
<!-- ############################################################# /-->
<service name="all" base="" serviceType="compound">
<service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" />
<service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" />
<service name="wms" serviceType="WMS" base="/thredds/wms/" />
<service name="wcs" serviceType="WCS" base="/thredds/wcs/" />
<service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/" />
</service>
<!-- ############################################################# /-->
<datasetScan name="TEST1" ID="testDatasetScan1" path="CARBON1"
location="/prodigfs/project/CARBON/latest">
<metadata inherited="true">
<serviceName>all</serviceName>
</metadata>
<filter>
<include wildcard="*.nc"/>
</filter>
</datasetScan>
A couple of questions:
1) How to set inside a datasetScan different kind of services for different
kind of files ?
2) How to get an absolute path link. Something like:
< a href =" [
https://myserver/thredds/fileServer/testDatasetScan1/atextfile.txt%22%3Eatextfile%3C/a%3E
|
https://myserver/thredds/fileServer/testDatasetScan1/atextfile.txt">atextfile</a>
]
and not:
< a href
='catalog.html?dataset=testDatasetScan1/atextfile.txt'>atextfile.txt</a>
that goes to a presentation of the different services for the file.
Any help would be welcome.
Regards
Patrick
--
Data Analysis and Visualization Engineer / Project Manager
LSCE/IPSL, CEA-CNRS-UVSQ laboratory
LSCE - Climate and Environment Sciences Laboratory
IPSL - Institut Pierre Simon Laplace
--