|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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(Object o)
Check the equality of the object in question with this. |
int[] |
getBands()
returns the bands in each of the images |
int |
getCalibrationScaleFactor()
Get the scaling factor of the values for this calibration type |
String |
getCalibrationType()
Returns the calibration type |
String |
getCalibrationUnitName()
Get the string representing the calibration unit |
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 |
String |
getMemoField()
Returns memo field of the directory |
Date |
getNominalTime()
returns the nominal time of the image |
int |
getNumberOfBands()
returns the number of bands in the image |
int |
getSensorID()
|
String |
getSensorType()
Returns the sensor type |
String |
getSourceType()
Returns the source type |
Date |
getStartTime()
returns the nominal time of the image |
int |
getValue(int pointer)
Return a specific value from the directory |
void |
setCalInfo(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 |
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 Date getNominalTime()
public Date getStartTime()
public int getNumberOfBands()
public int getLines()
public int getElements()
public void setCalInfo(Vector[] v)
v
- the list of calibration parameterspublic Vector[] getCalInfo()
public int[] getBands()
public String getMemoField()
public String getSensorType()
public int getSensorID()
public String getSourceType()
public String getCalibrationType()
public double getCenterLatitude()
public void setCenterLatitude(double lat)
lat
- value of latitude at center point of imagepublic double getCenterLongitude()
public void setCenterLongitude(double lon)
lon
- value of Longitude at center point of imagepublic double getCenterLatitudeResolution()
public void setCenterLatitudeResolution(double res)
res
- value of latitude-wise resolution at center point of imagepublic double getCenterLongitudeResolution()
public void setCenterLongitudeResolution(double res)
res
- value of Longitude-wise resolution at center point of imagepublic String getCalibrationUnitName()
public int getCalibrationScaleFactor()
public boolean equals(Object o)
equals
in class Object
o
- object in questionpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |