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.
Hi all, I have an experimental thredds server accessible at http://odin.meteo.mcgill.ca:8080/thredds/catalog/testAll/catalog.html. I am trying to have the netcdfsubset access working for some test dataset, http://odin.meteo.mcgill.ca:8080/thredds/catalog/testAll/catalog.html?dataset=testDatasetScan/adj_st_lat20.0_50.0_lon-90.0_-20.0_196012%28smaller%29.nc but the default netcdfsubset page does not display. For reference, I have included the threddsConfig.xml and catalog.xml. Regards, Stephane -------------------------------------------------------------------- Stephane Poirier, M.Sc. Optical Physics Remote Sensing Application Software Developer Geography Department, Burnside Hall McGill University, Montreal, QC, Canada http://geog.mcgill.ca Stephane.Poirier2@xxxxxxxxx Cell. (514) 994-3532 Fax: (514) 509-8833 -------------------------------------------------------------------- Stephane Poirier, M.Sc. Optical Physics Remote Sensing Application Software Developer 3532 rue Sainte-Famille, Apt. 4 Montreal, QC, H2X 2L1, Canada http://www.oifii.org stephane.poirier@xxxxxxxxx Tel.: (514) 509-8833 Fax: (514) 509-8833 --------------------------------------------------------------------
<?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="all" base="" serviceType="compound"> <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" /> <service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" /> <!--service name="wcs" serviceType="WCS" base="/thredds/wcs/" /--> <service name="wcs" serviceType="WCS" base="/thredds/wcs/" /> <!--service name="wms" serviceType="WMS" base="/thredds/wms/" /--> <service name="wms" serviceType="WMS" base="/thredds/wms/" /> <!--service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/" /--> <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/" /> </service> <datasetRoot path="test" location="content/testdata/" /> <dataset name="Test Single Dataset" ID="testDataset" serviceName="odap" urlPath="test/testData.nc" dataType="Grid"/> <dataset name="Test Single Dataset 2" ID="testDataset2" serviceName="odap" urlPath="test/testData2.nc" dataType="Grid"/> <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="*.nc"/> </filter> </datasetScan> <catalogRef xlink:title="Test Enhanced Catalog" xlink:href="enhancedCatalog.xml" name=""/> </catalog>
<?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 --> <serverInformation> <name>Initial TDS Installation</name> <logoUrl>threddsIcon.gif</logoUrl> <logoAltText>Initial TDS Installation</logoAltText> <abstract>Scientific Data</abstract> <keywords>meteorology, atmosphere, climate, ocean, earth science</keywords> <contact> <name>Support</name> <organization>Geography Department, McGill University, Montreal, Canada</organization> <email>stephane.poirier2@xxxxxxxxx</email> <!--phone>514-509-8833</phone--> </contact> <hostInstitution> <name>Geography Department, McGill University</name> <webSite>http://www.mygeog.mcgill.ca/</webSite> <logoUrl>myGroup.gif</logoUrl> <logoAltText>My Group</logoAltText> </hostInstitution> </serverInformation> <!-- 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> <!-- Not currently used. --> <datasetIconAlt>Dataset</datasetIconAlt> <!-- Not currently used. --> </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> --> <DiskCache> <alwaysUse>false</alwaysUse> <dir>/thor/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> --> <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> --> <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> --> <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>false</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 Netcdf Subset Service is off by default. <NetcdfSubsetService> <allow>true</allow> <dir>/thor/data/tmp/thredds/ncSubsetCache/</dir> <scour>10 min</scour> <maxAge>30 min</maxAge> </NetcdfSubsetService> <!-- <Opendap> <ascLimit>50</ascLimit> <binLimit>500</binLimit> <serverVersion>opendap/3.7</serverVersion> </Opendap> --> <!-- The WCS Service is off by default. Also, off by default (and encouraged) is operating on a remote dataset. <WCS> <allow>false</allow> <allowRemote>false</allowRemote> <dir>/data/tmp/thredds/wcsCache/</dir> <scour>15 min</scour> <maxAge>30 min</maxAge> </WCS> --> <WCS> <allow>true</allow> <allowRemote>false</allowRemote> <dir>/thor/data/tmp/thredds/wcsCache/</dir> <scour>15 min</scour> <maxAge>30 min</maxAge> </WCS> <!-- <WMS> <allow>false</allow> <allowRemote>false</allowRemote> <maxImageWidth>2048</maxImageWidth> <maxImageHeight>2048</maxImageHeight> </WMS> --> <WMS> <allow>true</allow> <allowRemote>false</allowRemote> <maxImageWidth>2048</maxImageWidth> <maxImageHeight>2048</maxImageHeight> </WMS> <!-- 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> <openType>XML_ONLY</openType> </FmrcInventory> --> <!-- Modify Logging parameters. Normally use log4j.xml <Logging> <DatePattern></DatePattern> <MaxFileSize></MaxFileSize> <MaxFiles></MaxFiles> </Logging> --> </threddsConfig>
thredds
archives: