| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.mcidas.AreaAdapter
public class AreaAdapter
this is an adapter for McIDAS AREA images
| Constructor Summary | |
|---|---|
| AreaAdapter(String imageSource)Create a VisAD FlatField from a local McIDAS AREA file or a URL. | |
| AreaAdapter(String imageSource,
            boolean pack)Create a VisAD FlatField from a local McIDAS AREA file or a URL. | |
| AreaAdapter(String imageSource,
            int cal)Create a VisAD FlatField from a local McIDAS AREA file or a URL. | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles)Create a VisAD FlatField from a local McIDAS AREA file using the subsecting information | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int band)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int band,
            boolean pack)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int lineMag,
            int eleMag,
            int band)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int lineMag,
            int eleMag,
            int band,
            boolean pack)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int lineMag,
            int eleMag,
            int cal,
            int band)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| AreaAdapter(String imageSource,
            int startLine,
            int startEle,
            int numLines,
            int numEles,
            int lineMag,
            int eleMag,
            int cal,
            int band,
            boolean pack)Create a VisAD FlatField from a local McIDAS AREA subsected according to the parameters | |
| Method Summary | |
|---|---|
|  AreaDirectory | getAreaDirectory()get the AreaDirectory of the image | 
|  AreaFile | getAreaFile()Get the instance of the AreaFile used herein. | 
|  CoordinateSystem | getCoordinateSystem()get the CoordinateSystem of the image | 
|  FlatField | getData()Return a FlatField representing the image. | 
|  int[] | getDimensions()get the dimensions of the image | 
|  SingleBandedImage | getImage()Retrieves the first (and/or only) band in an image as a SingleBandedImage | 
|  DateTime | getImageStartTime()Retrieves the time of the start of the image scan as a VisAD DateTime. | 
|  DateTime | getNominalTime()Retrieves the "nominal" time of the image as a VisAD DateTime. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AreaAdapter(String imageSource)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int cal)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.cal - type of calibration to perform on retrieved data; ignored if
 'unit' is specified in imageSource.
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   boolean pack)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.pack - pack data if possible.  If calibration is BRIT, 
                  images are packed into bytes
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to read
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int band)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readband - band number to get
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int band,
                   boolean pack)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readband - band number to getpack - pack data if possible.  If calibration is BRIT, 
                  images are packed into bytes
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int lineMag,
                   int eleMag,
                   int band)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readband - band number to getlineMag - magnification for lineseleMag - magnification for elements
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int lineMag,
                   int eleMag,
                   int cal,
                   int band)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readlineMag - magnification for lineseleMag - magnification for elementscal - type of calibration to perform on retrieved data; ignored if
 'unit' is specified in imageSource.band - band number to get
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int lineMag,
                   int eleMag,
                   int band,
                   boolean pack)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readband - band number to getlineMag - magnification for lineseleMag - magnification for elementspack - pack data if possible.  If calibration is BRIT, 
                  images are packed into bytes
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.
public AreaAdapter(String imageSource,
                   int startLine,
                   int startEle,
                   int numLines,
                   int numEles,
                   int lineMag,
                   int eleMag,
                   int cal,
                   int band,
                   boolean pack)
            throws IOException,
                   VisADException
imageSource - name of local file or a URL to locate file.startLine - starting line from the file (AREA coordinates)startEle - starting element from the file (AREA coordinates)numLines - number of lines to readnumEles - number of elements to readlineMag - magnification for lineseleMag - magnification for elementscal - type of calibration to perform on retrieved data; ignored if
 'unit' is specified in imageSource.band - band number to getpack - pack data if possible.  If calibration is BRIT, 
                  images are packed into bytes
IOException - if there was a problem reading the file.
VisADException - if an unexpected problem occurs.| Method Detail | 
|---|
public AreaFile getAreaFile()
public int[] getDimensions()
public CoordinateSystem getCoordinateSystem()
public AreaDirectory getAreaDirectory()
public FlatField getData()
public DateTime getNominalTime()
                        throws VisADException
VisADExceptiongetImageStartTime()
public DateTime getImageStartTime()
                           throws VisADException
VisADExceptiongetNominalTime()
public SingleBandedImage getImage()
                           throws VisADException
VisADException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||