Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[thredds] thredds catalog.xml - Mix different services for different kind of files

  • To: thredds @unidata.ucar.edu
  • Subject: [thredds] thredds catalog.xml - Mix different services for different kind of files
  • From: Patrick Brockmann <patrick.brockmann@xxxxxxxxxxxx>
  • Date: Fri, 20 Sep 2019 12:34:52 +0200 (CEST)
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 
-- 
  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: