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

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

#include <FoJsonModule.h>

Inheritance diagram for FoJsonModule:
Inheritance graph
Collaboration diagram for FoJsonModule:
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 51 of file FoJsonModule.h.

Constructor & Destructor Documentation

◆ FoJsonModule()

FoJsonModule::FoJsonModule ( )
inline

Definition at line 54 of file FoJsonModule.h.

◆ ~FoJsonModule()

virtual FoJsonModule::~FoJsonModule ( )
inlinevirtual

Definition at line 55 of file FoJsonModule.h.

Member Function Documentation

◆ dump()

void FoJsonModule::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 117 of file FoJsonModule.cc.

◆ initialize()

void FoJsonModule::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 67 of file FoJsonModule.cc.

◆ terminate()

void FoJsonModule::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 95 of file FoJsonModule.cc.


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