All Classes and Interfaces
Class
Description
Superclass for ncss controllers
Created by cwardgar on 2014/06/02.
Created by cwardgar on 2014/05/20.
Allow external triggers for rereading Feature collections
Handle the /admin/debug interface
Handle /admin/content/
Handle /admin/logs/
Handle /admin/dataDir/
Make sure this is only done under https.
Handle the /admin/log interface
Show spring request maps
Catalog trigger controller
Manage Lists of Services
An implementation must have a no-arg constructor, so it can be created through reflection.
No-op implementation of Authorizer.
_more_
_more_
CAMS authorizarion.
Provides an API to find a catalog from its path.
LocalCatalogServiceController using client/server catalogs
Spring controller for CdmRemote service.
Parses the query parameters for cdmRemote datasets.
CdmRemoteQueryBean Validator
Implements the FileSource interface using a chain of DescendantFileSource
objects.
Write HTML representations of a Catalog or Dataset.
Reads in the Config catalogs on startup, and if triggered.
This class will modify the session cookie path, if a session attribute named SESSION_PATH exists.
The DataRootHandler manages all the "data roots" for a TDS
and provides mappings from URLs to catalog and datasets.
DatasetHandlerAdapter
Provides an API to obtain the various Dataset objects, given the request Path.
Alternative to IOSP when you need the HttpServletRequest to create the file.
A Singleton class instantiated by Spring, to populate the Debug methods in the
DebugHandler class.
Represent a root directory and act as a source for existing java.io.File
descendants of the root directory.
Created by cwardgar on 2014/05/20.
A factory for DsgSubsetWriter's.
EnhancedMetadataService
Generates a WCS 1.1.0 Exception Report.
Keep cache of InvDatasetFeatureCollection
Using guava cache.
HTTP File Serving
handles /fileServer/*
Represent a source for java.io.Files.
LOOK: wants to replace ServletUtil.returnFile() ?
Associated with threddsFileView in tds/src/main/webapp/WEB-INF/view.xml
Render the response to a request for a local file including byte range requests.
Contain content needed for a GetCapabilities ServiceProvider section.
Contain the content needed for a WCS_Capabilities/Service section.
Default handler for OPeNDAP .html requests.
An enum for WFS Feature Types as related to GML Types and
simple geometry types.
Takes in a Simple Geometry, determines which kind it is, and writes the corresponding xml
A Viewer for viewing datasets using the built-in Godiva3 client.
This creates and caches DDS, DAS, then clones them when they are needed.
Regenerate DDS, DAS each time
Tag that Object has a netcdf variable, and the data can be set externally by an Array.
Provide methods to write HTML representations of a catalog, directory, or CDM dataset to an HTTP response.
Servlet filter that presents a HEAD request as a GET.
IMetadataContoller
Author: dneufeld Date: Jul 6, 2010
Maintains indentation level for printing nested structures.
Configured by Spring MVC, used in thredds.server.catalogservice
InvDataset Feature Collection for Fmrc
Generate anew each call; use object caching if needed to improve efficiency
Implement FeatureCollection GRIB - a collection of Grib1 or Grib2 files that are served as Grids.
InvDataset Feature Collection for Point types.
Abstract superclass for Feature Collection Datasets.
Controller for ISO service
Author: dneufeld Date: Jul 7, 2010
Simple Java bean encapsulating the settings (allowFeatureInfo, defaultColorScaleRange, defaultPaletteName and
logScaling) at a particular part of the config XML document.
Handle access to the local api of the TDS.
Allow local triggers for rereading Feature collections
This handles requests for Variable Metadata for Gridded data.
Describe
Netcdf DAS object
NcDDS is a specialization of ServerDDS for netcdf files.
Controller for NCML service
Author: dneufeld Date: Jul 7, 2010
Wraps a netcdf variable with rank > 0 as an SDArray.
For char arrays, use NcSDString (rank 0 or 1) or NcSDCharArray (rank > 1).
Wraps a netcdf scalar byte variable.
Wraps a netcdf char variable with rank > 1 as an SDArray.
Wraps a netcdf scalar float variable.
Wraps a netcdf scalar double variable.
Wraps a netcdf variable with rank > 0, whose dimensions all
have coordinate variables, as an SDGrid.
Wraps a netcdf scalar short variable.
Wraps a netcdf scalar int variable.
Wraps a netcdf scalar or 1D char variable.
Wraps a netcdf Structure, as an SDStructure.
Wraps a netcdf scalar (unsigned) short variable.
Wraps a netcdf scalar (unsigned) int variable.
Handles NCSS Grid Requests
Validation done here.
Parameters specific to ncss grid
Validator for ncss GridRequest
1) if has either latitude or longitude, has both
2) if has any of latlon bb, has all. north > south, east > west
3) if has any of projection bb, has all. min < max
Ncss Parameters superclass, have common parameters for grid and point
Handles all Ncss Point Requests
Parameters specific to ncss point
interface for monitoring NetcdfFile cache files, used by JMX.
Class Description.
THREDDS opendap server.
interface for monitoring RAF files, used by JMX.
Check ncss point params
1) does it have a stn parameter?
Created by cwardgar on 2014/06/02.
Created by cwardgar on 2014/06/04.
Created by cwardgar on 2014/06/03.
An extension of java.util.prefs.Preferences (jdk 1.4) that provides a
platform-independent implementation using XML files as backing store.
Class to manage generating an inventory of radar data and providing a way
to query what data are available.
Handle configuration for the Radar Server
Serve up radar data in a way that makes it easy to query.
Command object for catalog service requests on remote catalogs.
Remote CatalogService Controller using client/server catalogs
Represent a bounding box in some CRS.
Wraps a request with the UsageLog.setup and UsageLog.closing log messages
Wrapper around RequestDispatcher
Reject any request with an invalid path (i.e., HttpServletRequest.getPathInfo()).
Reject any request with an invalid query string.
Implements restricted datasets.
Implements RoleSource by reading XML in format of tomcat-users.xml.
This tells whether a user has the named role.
Spring Controller redirects "/" to "/catalog.html"
Service is disAllowed
These are the built-in services of the TDS
Created by rmay on 12/9/14.
Created by cwardgar on 2014-05-24.
Created by cwardgar on 2014/05/29.
Created by cwardgar on 2014/06/04.
Created by cwardgar on 2014/05/27.
Utility methods for validating strings.
An enumeration of the possible ncss download formats
An enum of the various operations for netcdf subset service, and what download formats are allowed
TDScontext implements ServletContextAware so it gets a ServletContext and performs most initial THREDDS set up:
- checks version
- check for latest stable and development release versions
- sets the content directory
- reads persistent user defined params and runs ThreddsConfig.init
- creates, if don't exist, log and public dirs in content directory
- Get default and jsp dispatchers from servletContext
- Creates and initializes the TdsConfigMapper
- check for debug flags to enable
Use the custom settings in wmsConfig.xml to set default visualization values based on:
global defaults
TDS URL Path based defaults
Standard Name based defaults
variable name based defaults
with variable name defaults taking highest precedence.
Global Exception handling
ServiceNotAllowed FORBIDDEN
FileNotFoundException NOT_FOUND
IOException INTERNAL_SERVER_ERROR
UnsupportedOperationException UNPROCESSABLE_ENTITY
IllegalArgumentException BAD_REQUEST
BindException BAD_REQUEST
Throwable INTERNAL_SERVER_ERROR
A Singleton class to initialize and shutdown the CDM/TDS
Formerly CdmInit
Utilities for extracting path information from request.
This is the public interface to TDS objects for all services.
Server info model
Wrap HttpServletResponse to capture state that is otherwise not accessible through standard API.
Created by sarms on 02/13/2015.
Basically, this class exists to use a NetcdfDataset that has been opened by the
TDS into ncWMS.
Prints and returns request details.
Read and process the threddsConfig.xml file.
Example of an implementation of a
WmsCatalogue to work with the TDS.An example
WmsServlet which uses the THREDDS catalogue to supply
data.Validation constraint annotation for the time params in a ncss request
Time params validator for a ncss request.
Use Tomcat security.
Controller for UDDC service
Author: dneufeld Date: Jul 7, 2010
UnsupportedResponseFormatException is thrown by the NcssControllers if some unexpected 'accept' value is in the
request params.
Utility class for gathering context information for use in log messages.
Represent a version number formed by one or more non-negative integers
with a period separating each integer.
Each implementation handles a different version of WCS requests.
Interface for plugging in Viewers.
Deprecated.
Interface for plugging in Viewers.
Handles serving data via WCS 1.0.
Represents a WCS 1.0.0 Exception and includes the code, locator, and
textMessages used in an OWS Exception Report.
WCS 1.0 handler
Represent the incoming WCS 1.0.0 request.
Parse an incoming WCS 1.0.0+ request.
Controller for WFS Simple Geometry Web Service
Writes the XML for a WFS DescribeFeatureType request
A simple XML writer for XML-based WFS exceptions.
A simple container for a WFS Feature Type
A simple container for a WFS Feature Attribute
A writer for a WFS compliant Geospatial XML given a print writer.
A writer for a WFS compliant Feature Collection GML file.
Enum representing WFS Request Types as specified by the OGC.
General XML writing utilities.
WMS config bean
Exception that is thrown when there is an error parsing the Wms config document.
Parse and provide interface to wmsConfig.xml
wmsConfig.xml allows a TDS Admin a way to set default values to be used for generating images from the wms service.
This implements an XML-based backing store for PreferencesExt.
Take a jdom document and render it
Run a jdom2 document through XSLT to get an HTML page.