THREDDS Reference: TDS Catalog ServiceThe TDS provides various services for THREDDS catalogs. Catalogs served by the TDS can be subset and/or viewed as HTML. Remote catalogs, if allowed, can be validated, displayed as HTML, or subset.
Local catalogs always support subsetting and HTML viewing.
Catalog services on remote catalogs are only allowed if the following is added to the threddsConfig.xml configuration file:
<CatalogServices>
<allowRemote>true</allowRemote>
</CatalogServices>
All catalogs served by a TDS can be operated on with the various
catalog services. It does not matter if the catalog is the served
version of a TDS catalog configuration file or produced from a datasetScan element.
The path of the request URL identifies the target catalog. The extension on the filename determines whether an XML or HTML view is returned, ".xml" or ".html" resectively.
Subsetting of the catalog is performed if a "dataset" parameter is included in the request. The value of the "dataset" parameter must match the ID of a dataset in the target catalog.
The following returns an HTML view of the main TDS catalog on motherlode:
http://motherlode.ucar.edu:8080/thredds/catalog.htmlThe following returns an HTML view of one of the datasets from the same catalog:
http://motherlode.ucar.edu:8080/thredds/catalog.html?dataset=IDD
If enabled (see above), catalog services for remote catalogs must be requested from the following URL:
http://server:port/thredds/remoteCatalogService
The following parameters are recognized:
A few notes on the above parameters:
The action performed for each value of the "command" parameter are as follows:
Catalog subsetting is done on the logical structure of the catalog rather than directly on the XML. This means that all service elements are included in the catalog and all metadata inherited by the target dataset are included in the resulting dataset.
Examples
The following returns an HTML view of the main TDS catalog on motherlode:
http://server:port/thredds/remoteCatalogService?catalog=http://motherlode.ucar.edu:8080/thredds/catalog.xml
The following returns an HTML view of one of the datasets from the same catalog:
http://server:port/thredds/remoteCatalogService?catalog=http://motherlode.ucar.edu:8080/thredds/catalog.xml&dataset=IDD
This document is maintained by Unidata and was
last updated February 2009. Send comments to THREDDS
support.