|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidas.AreaDirectory
public class AreaDirectory
AreaDirectory interface for the metadata of McIDAS 'area' file format image data.
Constructor Summary | |
---|---|
AreaDirectory(AreaDirectory directory)
Create an AreaDirectory from another AreaDirectory object. |
|
AreaDirectory(int[] dirblock)
Create an AreaDirectory from the raw block of data of an AreaFile. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Check the equality of the object in question with this. |
int[] |
getBands()
returns the bands in each of the images |
java.lang.String |
getCalibrationType()
Returns the calibration type |
java.util.Vector[] |
getCalInfo()
get the valid band calibration information |
double |
getCenterLatitude()
get Latutide at center of image |
double |
getCenterLatitudeResolution()
get Latutide-wise resolution at center of image |
double |
getCenterLongitude()
get longitude at center of image |
double |
getCenterLongitudeResolution()
get longitude-wise resolution at center of image |
int[] |
getDirectoryBlock()
Get the raw directory block |
int |
getElements()
returns the number of elements in the image |
int |
getLines()
returns the number of lines in the image |
java.lang.String |
getMemoField()
Returns memo field of the directory |
java.util.Date |
getNominalTime()
returns the nominal time of the image |
int |
getNumberOfBands()
returns the number of bands in the image |
int |
getSensorID()
|
java.lang.String |
getSensorType()
Returns the sensor type |
java.lang.String |
getSourceType()
Returns the source type |
java.util.Date |
getStartTime()
returns the nominal time of the image |
int |
getValue(int pointer)
Return a specific value from the directory |
void |
setCalInfo(java.util.Vector[] v)
set the band calibration info (Vector) array order is identical to bands array, each Vector element is a pair of String values: first, the code value and second the descriptive name. |
void |
setCenterLatitude(double lat)
set Latitude at center of image |
void |
setCenterLatitudeResolution(double res)
set Latitude-wise resolution at center of image |
void |
setCenterLongitude(double lon)
set Longitude at center of image |
void |
setCenterLongitudeResolution(double res)
set Longitude-wise resolution at center of image |
java.lang.String |
toString()
Prints out a formatted listing of the directory info |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AreaDirectory(int[] dirblock) throws AreaFileException
dirblock
- the integer block
AreaFileException
- not a valid directorypublic AreaDirectory(AreaDirectory directory) throws AreaFileException
directory
- the source AreaDirectory
AreaFileException
- not a valid directoryMethod Detail |
---|
public int getValue(int pointer) throws AreaFileException
pointer
- part of the directory you want returned.
Use AreaFile static fields as pointers.
AreaFileException
- invalid pointerpublic int[] getDirectoryBlock()
public java.util.Date getNominalTime()
public java.util.Date getStartTime()
public int getNumberOfBands()
public int getLines()
public int getElements()
public void setCalInfo(java.util.Vector[] v)
the
- list of calibration parameterspublic java.util.Vector[] getCalInfo()
public int[] getBands()
public java.lang.String getMemoField()
public java.lang.String getSensorType()
public int getSensorID()
public java.lang.String getSourceType()
public java.lang.String getCalibrationType()
public double getCenterLatitude()
public void setCenterLatitude(double lat)
value
- of latitude at center point of imagepublic double getCenterLongitude()
public void setCenterLongitude(double lon)
value
- of Longitude at center point of imagepublic double getCenterLatitudeResolution()
public void setCenterLatitudeResolution(double res)
value
- of latitude-wise resolution at center point of imagepublic double getCenterLongitudeResolution()
public void setCenterLongitudeResolution(double res)
value
- of Longitude-wise resolution at center point of imagepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object in questionpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |