public class AreaAdapter
extends java.lang.Object
| Constructor and Description |
|---|
AreaAdapter(java.lang.String imageSource)
Create a VisAD FlatField from a local McIDAS AREA file or a URL.
|
AreaAdapter(java.lang.String imageSource,
boolean pack)
Create a VisAD FlatField from a local McIDAS AREA file or a URL.
|
AreaAdapter(java.lang.String imageSource,
int cal)
Create a VisAD FlatField from a local McIDAS AREA file or a URL.
|
AreaAdapter(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public AreaAdapter(java.lang.String imageSource)
throws java.io.IOException,
VisADException
imageSource - name of local file or a URL to locate file.java.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int cal)
throws java.io.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.java.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
boolean pack)
throws java.io.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 bytesjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles)
throws java.io.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 readjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int band)
throws java.io.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 getjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int band,
boolean pack)
throws java.io.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 bytesjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int lineMag,
int eleMag,
int band)
throws java.io.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 elementsjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int lineMag,
int eleMag,
int cal,
int band)
throws java.io.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 getjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int lineMag,
int eleMag,
int band,
boolean pack)
throws java.io.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 bytesjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.public AreaAdapter(java.lang.String imageSource,
int startLine,
int startEle,
int numLines,
int numEles,
int lineMag,
int eleMag,
int cal,
int band,
boolean pack)
throws java.io.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 bytesjava.io.IOException - if there was a problem reading the file.VisADException - if an unexpected problem occurs.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