|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.iges.anagram.AbstractModule
|
+--org.iges.grads.server.GradsDODSModule
Provides DODS metadata and subsets for GrADS data objects. This is the main back end for the GradsTool class. Uses cache files for DDS, DAS, and INFO data.
| Field Summary | |
protected BaseTypeFactory |
baseTypeFactory
|
protected long |
defaultSubsetSize
|
protected java.util.Map |
functionMap
|
protected GradsSubsetter |
gridSubsetter
|
protected GradsSubsetter |
stnSubsetter
|
protected Store |
store
|
protected GradsTool |
tool
|
| Fields inherited from class org.iges.anagram.AbstractModule |
log, moduleName, parent, server |
| Constructor Summary | |
GradsDODSModule(GradsTool tool)
|
|
| Method Summary | |
protected void |
buildFunctionMap()
|
void |
configure(Setting setting)
Configures the module according to the settings provided. |
void |
extract(DataHandle data)
|
DAS |
getDAS(DataHandle data)
Creates a DAS object for the given dataset (which is the Java-DODS encapsulation of a subset request). |
ServerDDS |
getDDS(DataHandle data,
java.lang.String ce)
Creates a constrained DDS object for the given dataset (which is the Java-DODS encapsulation of a subset request). |
java.lang.String |
getModuleID()
Returns an ID for this module. |
protected java.io.InputStream |
loadDAS(DataHandle data)
|
protected java.io.InputStream |
loadDDS(DataHandle data)
|
void |
writeASCIIData(DataHandle data,
java.lang.String ce,
Privilege privilege,
java.io.OutputStream out)
Writes a data subset to a stream in ASCII format. |
void |
writeBinaryData(DataHandle data,
java.lang.String ce,
Privilege privilege,
java.io.OutputStream out)
Writes a data subset to a stream in binary format. |
void |
writeDAS(DataHandle data,
java.io.OutputStream out)
Writes a DAS object directly to an output stream. |
void |
writeDDS(DataHandle data,
java.lang.String ce,
java.io.OutputStream out)
Writes a DDS object directly to an output stream. |
void |
writeWebInfo(DataHandle data,
java.io.OutputStream out)
Writes an info page directly to an output stream. |
| Methods inherited from class org.iges.anagram.AbstractModule |
configModule, debug, debug, error, fail, fail, fail, getModuleName, info, init, toString, verbose, verbose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected GradsTool tool
protected GradsSubsetter gridSubsetter
protected GradsSubsetter stnSubsetter
protected long defaultSubsetSize
protected Store store
protected BaseTypeFactory baseTypeFactory
protected java.util.Map functionMap
| Constructor Detail |
public GradsDODSModule(GradsTool tool)
| Method Detail |
public java.lang.String getModuleID()
Module
getModuleID in interface ModulegetModuleID in class AbstractModulepublic void configure(Setting setting)
AbstractModule
configure in interface Moduleconfigure in class AbstractModule
public ServerDDS getDDS(DataHandle data,
java.lang.String ce)
throws ModuleException
ce - The constraint to apply to the DDS
ModuleExceptionloadDDS()
public DAS getDAS(DataHandle data)
throws ModuleException
ModuleExceptionloadDDS()
public void writeDDS(DataHandle data,
java.lang.String ce,
java.io.OutputStream out)
throws ModuleException
ModuleException
public void writeDAS(DataHandle data,
java.io.OutputStream out)
throws ModuleException
ModuleException
public void writeWebInfo(DataHandle data,
java.io.OutputStream out)
throws ModuleException
ModuleException
public void writeBinaryData(DataHandle data,
java.lang.String ce,
Privilege privilege,
java.io.OutputStream out)
throws ModuleException
ModuleException
public void writeASCIIData(DataHandle data,
java.lang.String ce,
Privilege privilege,
java.io.OutputStream out)
throws ModuleException
ModuleException
protected java.io.InputStream loadDDS(DataHandle data)
throws ModuleException
ModuleException
protected java.io.InputStream loadDAS(DataHandle data)
throws ModuleException
ModuleException
public void extract(DataHandle data)
throws ModuleException
ModuleExceptionprotected void buildFunctionMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||