bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FoCovJsonModule Class Reference

Module that allows for OPeNDAP Data objects to be returned as geotiff files. More...

#include <FoCovJsonModule.h>

Inheritance diagram for FoCovJsonModule:
Inheritance graph
Collaboration diagram for FoCovJsonModule:
Collaboration graph

Public Member Functions

virtual void dump (std::ostream &strm) const
 dumps information about this object for debugging purposes
 
virtual void initialize (const std::string &modname)
 initialize the module by adding call backs and registering objects with the framework
 
virtual void terminate (const std::string &modname)
 removes any registered callbacks or objects from the framework
 

Detailed Description

Module that allows for OPeNDAP Data objects to be returned as geotiff files.

The FONgModule (File Out GDAL Module) is provided to allow for OPenDAP Data objects to be returned as geotiff files. The get request to the BES would be for the dods data product with the added element attribute of returnAs="geotiff".

This is accomplished by adding a BESTransmitter called "geotiff". When the BES sees the returnAs property of the get command it looks for a transmitter with that name. The FONgTransmitter is used to transmit the DAP DataDDS object by first writing it out as a geotiff data file and then transmitting it back to the caller.

See also
FONgTransmitter

Definition at line 50 of file FoCovJsonModule.h.

Constructor & Destructor Documentation

◆ FoCovJsonModule()

FoCovJsonModule::FoCovJsonModule ( )
inline

Definition at line 53 of file FoCovJsonModule.h.

◆ ~FoCovJsonModule()

virtual FoCovJsonModule::~FoCovJsonModule ( )
inlinevirtual

Definition at line 54 of file FoCovJsonModule.h.

Member Function Documentation

◆ dump()

void FoCovJsonModule::dump ( std::ostream & strm) const
virtual

dumps information about this object for debugging purposes

Displays the pointer value of this instance plus any instance data

Parameters
strmC++ i/o stream to dump the information to

Implements BESAbstractModule.

Definition at line 110 of file FoCovJsonModule.cc.

◆ initialize()

void FoCovJsonModule::initialize ( const std::string & modname)
virtual

initialize the module by adding call backs and registering objects with the framework

Registers the request handler to add to a version or help request, and adds the File Out transmitter for a "returnAs geotiff" request. Also adds geotiff as a return for the dap service dods request and registers the debug context.

Parameters
modnameThe name of the module being loaded

Implements BESAbstractModule.

Definition at line 64 of file FoCovJsonModule.cc.

◆ terminate()

void FoCovJsonModule::terminate ( const std::string & modname)
virtual

removes any registered callbacks or objects from the framework

Any registered callbacks or objects, registered during initialization, are removed from the framework.

Parameters
modnameThe name of the module being removed

Implements BESAbstractModule.

Definition at line 88 of file FoCovJsonModule.cc.


The documentation for this class was generated from the following files: