|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidas.adde.AddeGridReader
public class AddeGridReader
GridDirList interface for McIDAS ADDE grid data sets. Simulates a McIDAS GRDLIST request using an ADDE URL.
URLs must all have the following format adde://host/griddirectory?keyword_1=value_1&keyword_2=value_2 there can be any valid combination of the following supported keywords: group - ADDE group name type - ADDE data type. Must be one of the following: image, point, grid, text, nav the default is the image type. the following keywords are required: group an example URL might look like: adde://viper/griddirectory?group=gvar&type=image
Constructor Summary | |
---|---|
AddeGridReader()
allows reading of McIDAS grid headers and data |
Method Summary | |
---|---|
java.util.ArrayList |
getFileHeaders()
|
java.util.ArrayList |
getGridData(java.lang.String request)
creates an ArrayList of arrays of data, plus an ArrayList of grid headers (McIDASGridDirectories) which are then available using the getGridHeaders() method. |
java.util.ArrayList |
getGridDirectory(java.lang.String request)
creates an ArrayList of McIDASGridDirectories |
java.util.ArrayList |
getGridHeaders()
|
static void |
main(java.lang.String[] args)
test by running 'java edu.wisc.ssec.mcidas.adde.AddeGridReader' |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddeGridReader()
Method Detail |
---|
public java.util.ArrayList getGridDirectory(java.lang.String request) throws AddeURLException
request
- ADDE URL to read from. See class javadoc.
an example URL might look like: adde://viper/griddirectory?group=gvar&type=image
AddeURLException
- if there are no datasets of the particular
type or there is an error reading datapublic java.util.ArrayList getGridHeaders()
public java.util.ArrayList getFileHeaders()
public java.util.ArrayList getGridData(java.lang.String request) throws AddeURLException
request
- ADDE URL to read from. See class javadoc.
an example URL might look like: adde://viper/grid?group=abom&type=grid&parm=T&lev=500&
AddeURLException
- if there are no datasets of the particular
type or there is an error reading datapublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |