|
|||||||||
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(java.lang.String imageSource)
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 |
Method Summary | |
---|---|
AreaDirectory |
getAreaDirectory()
get the AreaDirectory of the image |
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(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 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 read
java.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 get
java.io.IOException
- if there was a problem reading the file.
VisADException
- if an unexpected problem occurs.Method Detail |
---|
public int[] getDimensions()
public CoordinateSystem getCoordinateSystem()
public AreaDirectory getAreaDirectory()
public FlatField getData()
public DateTime getNominalTime() throws VisADException
VisADException
getImageStartTime()
public DateTime getImageStartTime() throws VisADException
VisADException
getNominalTime()
public SingleBandedImage getImage() throws VisADException
VisADException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |