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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all- I'm hoping this is a simple matter that I'm just not understanding clearly - which element in the catalog.xml or threddsConfig.xml do I modify to adjust the base URL of the THREDDS catalog? We changed our THREDDS URL from http://www.cdc.noaa.gov/thredds/ to http://www.esrl.noaa.gov/psd/thredds/ and now a request to the latter gives a 404 error. However, it seems I have at least some of the config right since a request to a full URL like: http://www.esrl.noaa.gov/psd/thredds/catalog/Datasets/ncep.pac.ocean/catalog.html does give a THREDDS page, although a file access here still produces an error. Below is my threddsConfig.xml and catalog.xml: (catalog.xml) <?xml version="1.0" encoding="UTF-8"?> <catalog name="THREDDS Server Default Catalog : You must change this to fit your server!" 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="httpService" serviceType="HTTPServer" base="/thredds/fileServer/" /> <!--service name="wcsService" serviceType="WCS" base="/thredds/wcs/" /--> <!--service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/" /--> </service> <service name="gridded" serviceType="Compound" base="" > <service name="opendap" serviceType="OpenDAP" base="/thredds/dodsC/"/> <service name="wcs" serviceType="WCS" base="/thredds/wcs/"/> </service> <datasetScan name="PSD gridded data" ID="PSDgriddedData" path="Datasets" location="/Datasets" serviceName="opendap"> <metadata inherited="true"> <serviceName>all</serviceName> </metadata> <sort> <lexigraphicByName increasing="true" /> </sort> </datasetScan> <service name="all" serviceType="Compound" base="" > <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" /> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" /> </service> </catalog> ==================================================================================== (threddsConfig.xml) <?xml version="1.0" encoding="UTF-8"?> <threddsConfig> <!-- all options are commented out in standard install - meaning use default values --> <!-- see http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/ThreddsConfigXMLFile.html - --> <!-- The <catalogRoot> element: For catalogs you don't want visible from the /thredds/catalog.xml chain of catalogs, you can use catalogRoot elements. Each catalog root config catalog is crawled and used in configuring the TDS. <catalogRoot>myExtraCatalog.xml</catalogRoot> <catalogRoot>myOtherExtraCatalog.xml</catalogRoot> --> <!-- * Setup for generated HTML pages. * * NOTE: URLs may be absolute or relative, relative URLs must be relative * to the webapp URL, i.e., http://server:port/thredds/. --> <htmlSetup> <!-- * CSS documents used in generated HTML pages. * The CSS document given in the "catalogCssUrl" element is used for all pages * that are HTML catalog views. The CSS document given in the "standardCssUrl" * element is used in all other generated HTML pages. * --> <standardCssUrl>tds.css</standardCssUrl> <catalogCssUrl>tdsCat.css</catalogCssUrl> <!-- * The URLs (relative to "/thredds/") and alternate text for both * folder and dataset icons used in HTML catalog views. * --> <folderIconUrl>folder.gif</folderIconUrl> <folderIconAlt>Folder</folderIconAlt> <datasetIconUrl>dataset.gif</datasetIconUrl> <datasetIconAlt>Dataset</datasetIconAlt> <!-- * Name and logo for this installation. * --> <installName>Research Installation</installName> <installLogoUrl>yourLogo.gif</installLogoUrl> <installLogoAlt>Research Installation</installLogoAlt> <!-- * Name, URL, and logo for the institution hosting this installation. * --> <hostInstName>NOAA ESRL PSD</hostInstName> <hostInstUrl>http://www.esrl.noaa.gov/psd/</hostInstUrl> <hostInstLogoUrl>myGroup.gif</hostInstLogoUrl> </htmlSetup> <!-- The <CatalogServices> element: - Services on local TDS served catalogs are always on. - Services on remote catalogs are set with the allowRemote element below. They are off by default (recommended). --> <CatalogServices> <allowRemote>false</allowRemote> </CatalogServices> <!-- Configuring the CDM (netcdf-java library) see http://www.unidata.ucar.edu/software/netcdf-java/reference/RuntimeLoading.html <nj22Config <ioServiceProvider class="edu.univ.ny.stuff.FooFiles"/> <coordSysBuilder convention="foo" class="test.Foo"/> <coordTransBuilder name="atmos_ln_sigma_coordinates" type="vertical" class="my.stuff.atmosSigmaLog"/> <typedDatasetFactory datatype="Point" class="gov.noaa.obscure.file.Flabulate"/> <table type="GRIB1" filename="/home/rkambic/grib/tables/userlookup.lst"/> <table type="GRIB2" filename="/home/rkambic/grib/tables/grib2userparameters"/> </nj22Config> --> <!-- CDM uses the DiskCache directory to store temporary files, like uncompressed files. <DiskCache> <alwaysUse>false</alwaysUse> <dir>/data/tmp/thredds/cache/</dir> <scour>1 hour</scour> <maxSize>1 Gb</maxSize> </DiskCache> --> <!-- Caching open NetcdfFile objects. default is to allow 200 - 400 open files, cleanup every 10 minutes <NetcdfFileCache> <minFiles>200</minFiles> <maxFiles>400</maxFiles> <scour>10 min</scour> </NetcdfFileCache> --> <!-- Caching open NetcdfDataset objects. default allow 100 - 200 open datasets, cleanup every 10 minutes <NetcdfDatasetCache> <minFiles>100</minFiles> <maxFiles>200</maxFiles> <scour>10 min</scour> </NetcdfDatasetCache> --> <!-- The <HTTPFileCache> element: allow 20 - 40 open datasets, cleanup every 10 minutes used by HTTP Range requests. <HTTPFileCache> <minFiles>20</minFiles> <maxFiles>40</maxFiles> <scour>10 min</scour> </HTTPFileCache> --> <!-- Writing GRIB indexes. <GribIndexing> <setExtendIndex>false</setExtendIndex> <alwaysUseCache>false</alwaysUseCache> </GribIndexing> --> <!-- Persist joinNew aggregations to named directory. scour every 24 hours, delete stuff older than 30 days <AggregationCache> <dir>/data/tmp/thredds/aggcache/</dir> <scour>24 hours</scour> <maxAge>30 days</maxAge> </AggregationCache> --> <!-- How to choose the template dataset for an aggregation. latest, random, or penultimate <Aggregation> <typicalDataset>random</typicalDataset> </Aggregation> --> <!-- The Netcdf Subset Service is off by default. <NetcdfSubsetService> <allow>true</allow> <dir>/data/tmp/thredds/ncSubsetCache/</dir> <scour>10 min</scour> <maxAge>-1 min</maxAge> <metarDataDir>/opt/tomcat/content/thredds/public/stn/</metarDataDir> <metarRawDir>/data/ldm/pub/decoded/netcdf/surface/metar/</metarRawDir> </NetcdfSubsetService> --> <!-- The WCS Service is off by default. Also, off by default (and encouraged) is operating on a remote dataset. <WCS> <allow>true</allow> <allowRemote>false</allowRemote> <dir>/data/tmp/thredds/wcsCache/</dir> <scour>15 min</scour> <maxAge>30 min</maxAge> </WCS> --> <!-- CatalogGen service is off by default. <CatalogGen> <allow>false</allow> </CatalogGen> --> <!-- DLwriter service is off by default. As is support for operating on remote catalogs. <DLwriter> <allow>false</allow> <allowRemote>false</allowRemote> </DLwriter> --> <!-- DqcService is off by default. <DqcService> <allow>false</allow> </DqcService> --> <!-- Link to a Viewer application on the HTML page: <Viewer>my.package.MyViewer</Viewer> --> <!-- Add a DataSource - essentially an IOSP with access to Servlet request parameters <DatsetSource>my.package.DatsetSourceImpl</DatsetSource> --> <!-- Forecast Model Run Collection Inventory <FmrcInventory> - -- Greg Keith - Web System Administrator greg.keith(-at-)noaa.gov NOAA ESRL Physical Sciences Division http://www.esrl.noaa.gov/psd R/PSD, 325 Broadway, Boulder, CO phone: 303-497-6645 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFK14XJ8IR34NeP2BwRAoulAKCIbPsT3dF+4bHrpnyYHXQrW+EidgCdHmGF I8krwsjXjDHaWL4iKTO01bw= =KE0K -----END PGP SIGNATURE-----
thredds
archives: