NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
hi,Attached my two catalog xml files, if someone would be kind enough to review them and point out any errors that prevents the fileServer service from working I would appreciate it.
mark On 6/22/2015 7:50 PM, Christian Ward-Garrison wrote:
Hi Mark,Both service definitions are fine. Rather, I suspect the problem is that you haven't defined a dataset root [1]. Here is a very basic example:<?xml version="1.0" encoding="UTF-8"?><catalog name="Local TDS" xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"version="1.0.6" xmlns:xlink="http://www.w3.org/1999/xlink"><service name="http" serviceType="HTTPServer" base="/thredds/fileServer/"/><datasetRoot path="my/data" location="C:/Users/cwardgar/dev/data" /><dataset name="A Test Dataset" ID="testDataset" urlPath="my/data/foo.nc <http://foo.nc>" ><serviceName>http</serviceName> </dataset> </catalog>I have a file at C:/Users/cwardgar/dev/data/foo.nc <http://foo.nc>that TDS serves at http://localhost:8080/thredds/fileServer/my/data/foo.nc. In the datasetRootelement, the path I've chosen is arbitrary; the location is not (unless I move the file).Cheers, Christian[1] http://www.unidata.ucar.edu/software/thredds/current/tds/tutorial/BasicConfigCatalogs.html#ConfigCatalogsOn Mon, Jun 22, 2015 at 12:19 PM, Mark Maciolek <mlm@xxxxxxxxxx <mailto:mlm@xxxxxxxxxx>> wrote:hi, Trying to get the thredds service fileServer working on our system thredds 4.3 http://www.opal.sr.unh.edu/thredds/catalog/opal_ts/WBD/catalog.html?dataset=opal_ts/WBD/WBD_2015.nc * /Data format:/netCDF * /Data size:/1.034 Mbytes * /Data type:/GRID * /ID:/opal_ts/WBD/WBD_2015.nc from the catalog.xml file: <service name="fileServer" serviceType="HTTPServer" base="/thredds/fileServer /"/> have also tried this: <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" /> get 404 error there is nothing in the threddsServlet.log Is there another config file or xml file I should be looking at? mark--Mark Maciolek Network Administrator Morse Hall Room 339 603-862-3050 <tel:603-862-3050> https://www.unh.edu/research/support-units/research-computing-center _______________________________________________ thredds mailing list thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx> For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
-- Mark Maciolek Network Administrator Morse Hall Room 339 603-862-3050 https://www.unh.edu/research/support-units/research-computing-center
<?xml version="1.0" encoding="UTF-8"?> <catalog name="UNH THREDDS Server" version="1.0.1" xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink"> <service name="allServices" base="" serviceType="compound"> <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/> <!-- <service name="wcs" serviceType="WCS" base="/thredds/wcs/"/> --> <!-- <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/> --> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" /> </service> <!-- <datasetRoot path="odac/model/" location="/net/nfs/wilma/data3/odac/model/"/> --> <dataset name="UNH Model Data"> <metadata inherited="true"> <serviceName>allServices</serviceName> <authority>gov.nasa.jpl</authority> <dataType>Grid</dataType> <dataFormat>NetCDF</dataFormat> <creator> <name vocabulary="DIF">Dr. Doug Vandemark</name> <contact url="http://www.opal.sr.unh.edu/" email="doug.vandemark@xxxxxxx"/> </creator> </metadata> <datasetScan name="mm5/analysis" ID="mm5/analysis" path="mm5/analysis" location="/net/nfs/wilma/data3/odac/model/mm5/analysis"> <metadata inherited="true"> <documentation type="summary"> MM5 Model Runs</documentation> </metadata> <filter> <include wildcard="*.grib"/> </filter> <addDatasetSize/> </datasetScan> <datasetScan name="wrf/analysis" ID="wrf/analysis" path="wrf/analysis" location="/net/nfs/wilma/data3/odac/model/wrf/analysis"> <metadata inherited="true"> <documentation type="summary"> WRF Model Runs. The WRF is run in a triply-nested two-way interactive domain configuration that focuses on New England (domain 2) and the Gulf of Maine (domain 3). The outermost domain covers the eastern half of the US and extends into Canada, the Atlantic Ocean and Gulf of Mexico. The grid spacing for the inner three domains is 27, 9 and 3 km. </documentation> </metadata> <filter> <include wildcard="*.grib"/> </filter> <addDatasetSize/> </datasetScan> <datasetScan name="wrf/48hr_forecast" ID="wrf/48hr_forecast" path="wrf/48hr_forecast" location="/net/nfs/wilma/data3/odac/model/wrf/48hr_forecast"> <metadata inherited="true"> <documentation xlink:href="http://www.opal.sr.unh.edu/forecasts/forecasts.html" xlink:title="WRF Forecast Model Home Page"/> <documentation type="summary"> WRF Model Runs. The WRF is run in a triply-nested two-way interactive domain configuration that focuses on New England (domain 2) and the Gulf of Maine (domain 3). The outermost domain covers the eastern half of the US and extends into Canada, the Atlantic Ocean and Gulf of Mexico. The grid spacing for the inner three domains is 27, 9 and 3 km. </documentation> </metadata> <filter> <include wildcard="*.grib"/> </filter> <addDatasetSize/> </datasetScan> <datasetScan name="pWBM_9km" ID="pWBM_9km" path="pWBM_9km" location="/net/nfs/ipswich/raid/jcoot/pWBM_9km/netcdf"> <metadata inherited="true"> <documentation xlink:href="http://www.opal.sr.unh.edu/discharge/discharge.html" xlink:title="UNH Water Balance Model Home Page"/> <documentation type="summary"> Water Balance Model. </documentation> </metadata> <filter> <include wildcard="*.nc"/> </filter> <addDatasetSize/> <sort> <lexigraphicByName increasing="false"/> </sort> </datasetScan> </dataset> <catalogRef xlink:title="OPAL Time Series" xlink:href="opal_catalog.xml" name=""/> </catalog>
<?xml version="1.0" encoding="UTF-8"?> <catalog name="OPAL CO2 Bouy" xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0.2"> <service name="allServices" base="" serviceType="compound"> <service name="dapService" serviceType="OpenDAP" base="/thredds/dodsC/"/> <!-- <service name="wcs" serviceType="WCS" base="/thredds/wcs/"/> --> <!-- <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/> --> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/"/> </service> <dataset name="OPAL Time Series Data"> <metadata inherited="true"> <serviceName>allServices</serviceName> <dataType>Grid</dataType> <dataFormat>NetCDF</dataFormat> </metadata> <!-- <dataset name="opal_ts/WBD" ID="opal_ts/WBD" urlPath="opal_ts/WBD"> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> scan location="/net/nfs/porter/raid1/data/COOA/opal_ts/WBD" dateFormatMark="WBD_#yyyy" regExp=".*WBD\_[0-9]{4}\.nc$" suffix=".nc" subdirs="false" /> </netcdf> </dataset> --> <datasetScan name="opal_ts/WBD" ID="opal_ts/WBD" path="opal_ts/WBD" location="/net/nfs/porter/raid1/data/COOA/opal_ts/WBD"> <metadata inherited="true"> <documentation type="summary"> Water Balance</documentation> </metadata> <filter> <include wildcard="*.nc"/> </filter> <addDatasetSize/> </datasetScan> </dataset> </catalog>
thredds
archives: