|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.iges.grads.server.GradsDataInfo
Information used by the GradsTool to provide access to a given data object, stored as the ToolInfo object in DataHandles.
| Nested Class Summary | |
class |
GradsDataInfo.CTL
Holds the information needed for the direct subset mechanism. |
| Field Summary | |
static int |
CLASSIC
|
protected long |
createTime
|
protected GradsDataInfo.CTL |
ctl
|
protected int |
dataType
|
protected java.io.File |
descriptorFile
|
protected boolean |
directSubset
|
protected java.lang.String |
docURL
|
static int |
DODS
|
protected java.lang.String |
dodsName
|
protected java.lang.String |
gradsArgument
|
protected int |
gradsBinaryType
|
static int |
GRID
|
static int |
HDF
|
protected java.util.List |
metadataAttributeList
|
protected java.util.List |
metadataFilterList
|
static int |
NC
|
protected java.io.File |
sourceFile
|
static int |
STN
|
protected java.lang.String |
title
|
protected java.io.File |
userDAS
|
| Constructor Summary | |
GradsDataInfo(java.lang.String dodsName,
int gradsBinaryType,
java.lang.String gradsArgument,
java.io.File descriptorFile,
java.io.File sourceFile,
java.io.File userDAS,
java.lang.String docURL,
java.lang.String overrideTitle,
boolean directSubset,
java.util.List metadataFilterList,
java.util.List metadataAttributeList)
Creates an object containing the necessary info to access and serve a GrADS dataset. |
|
| Method Summary | |
GradsDataInfo.CTL |
getCTL()
Returns an object containing the information needed for the direct subset mechanism. |
int |
getDataType()
Whether this is a station or gridded dataset. |
java.io.File |
getDescriptorFile()
Location on disk of a GrADS descriptor file (which may be only a dummy) describing this dataset. |
java.lang.String |
getDocURL()
A URL pointing to additional documentation for this dataset, or null if none |
java.lang.String |
getDODSName()
The identifier to be used in generating the DDS for this data object. |
java.lang.String |
getGradsArgument()
The argument passed to GrADS to open this dataset (a filename or url). |
int |
getGradsBinaryType()
The type of GrADS binary that should be used to open this dataset. |
java.util.List |
getMetadataAttributes()
|
java.util.List |
getMetadataFilters()
|
java.io.File |
getSourceFile()
Location of the dataset, if stored on disk |
java.lang.String |
getTitle()
The title of the dataset. |
java.io.File |
getUserDAS()
Location on disk of the supplemental DAS, or null if none |
boolean |
isDirectSubset()
Indicates whether server should attempt to read data directly from the datafile, without invoking GrADS |
protected void |
readDescriptor()
Parses the descriptor file for the dataset to determine whether it is a station or gridded dataset, and extract the title. |
void |
setCTL(int xSize,
int ySize,
int zSize,
int tSize,
java.util.List vars,
java.util.List levels)
Stores the information needed for the direct subset mechanism. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int GRID
public static final int STN
public static final int CLASSIC
public static final int NC
public static final int DODS
public static final int HDF
protected java.lang.String dodsName
protected int dataType
protected int gradsBinaryType
protected java.lang.String gradsArgument
protected java.io.File userDAS
protected java.io.File descriptorFile
protected java.lang.String docURL
protected java.io.File sourceFile
protected long createTime
protected java.lang.String title
protected boolean directSubset
protected java.util.List metadataFilterList
protected java.util.List metadataAttributeList
protected GradsDataInfo.CTL ctl
| Constructor Detail |
public GradsDataInfo(java.lang.String dodsName,
int gradsBinaryType,
java.lang.String gradsArgument,
java.io.File descriptorFile,
java.io.File sourceFile,
java.io.File userDAS,
java.lang.String docURL,
java.lang.String overrideTitle,
boolean directSubset,
java.util.List metadataFilterList,
java.util.List metadataAttributeList)
throws AnagramException
| Method Detail |
public java.io.File getUserDAS()
public java.lang.String getDocURL()
public java.lang.String getDODSName()
public java.lang.String getGradsArgument()
public java.io.File getDescriptorFile()
public java.io.File getSourceFile()
public int getGradsBinaryType()
public int getDataType()
public java.lang.String getTitle()
public boolean isDirectSubset()
public java.util.List getMetadataFilters()
public java.util.List getMetadataAttributes()
public void setCTL(int xSize,
int ySize,
int zSize,
int tSize,
java.util.List vars,
java.util.List levels)
public GradsDataInfo.CTL getCTL()
protected void readDescriptor()
throws AnagramException
AnagramException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||