|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.catalog.io.CatalogReader | +--net.aerith.misao.catalog.io.UsnoAReader | +--net.aerith.misao.catalog.io.UsnoA20Reader
The UsnoA20Reader
is a class to read USNO-A2.0
CD-ROMs.
The (x,y) position is also set properly so that (0,0) represents the specified R.A. and Decl. to open method and (1,1) represents the position 1 deg to the west and 1 deg to the north.
Field Summary | |
private static int |
USNOA20_cat_N
The number of files. |
private static int[] |
USNOA20_disc
The list of disc numbers. |
private static int[] |
USNOA20_file
The list of file numbers. |
Fields inherited from class net.aerith.misao.catalog.io.UsnoAReader |
buffer_size,
circum_area,
current_block_index,
current_block_size,
current_buffer_count,
current_buffer_index,
current_data_index,
current_end_coor,
current_file_index,
current_star_index,
current_start_coor,
current_stream_acc,
current_stream_cat,
data_buffer |
Fields inherited from class net.aerith.misao.catalog.io.CatalogReader |
center_coor,
date,
limiting_mag,
url_set |
Constructor Summary | |
UsnoA20Reader()
Constructs an empty UsnoA20Reader . |
|
UsnoA20Reader(java.net.URL url)
Constructs a UsnoA20Reader with URL of directory
containing USNO-A2.0 CD-ROMs data. |
Method Summary | |
protected UsnoAStar |
createStar(short file_number,
int star_number,
Coor coor,
boolean valid_R_mag,
short R_mag10,
boolean valid_B_mag,
short B_mag10,
double V_mag)
Creates s UsnoAStar object based on the specified
parameters. |
protected int |
getDiscNumber(int index)
Gets the disc number of the specified index. |
protected int |
getFileNumber(int index)
Gets the file number of the specified index. |
java.lang.String |
getHelpMessage()
Gets the help message. |
java.lang.String |
getName()
Gets the catalog name. |
protected int |
getNumberOfFiles()
Gets the number of files. |
boolean |
isInDirectory()
Checks if the catalog data is in a directory. |
boolean |
supportsExamination()
Checks if the catalog supports the use in PIXY examination. |
Methods inherited from class net.aerith.misao.catalog.io.UsnoAReader |
close,
getMaximumPositionErrorInArcsec,
open,
readNext |
Methods inherited from class net.aerith.misao.catalog.io.CatalogReader |
addURL,
getDateLimit,
getDateLimitMessage,
getFovLimit,
getFovLimitMessage,
hasDateLimit,
hasFovLimit,
isDateDependent,
isFile,
open,
read,
setDate,
setDefaultURL,
setLimitingMagnitude |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final int USNOA20_cat_N
private static final int[] USNOA20_file
private static final int[] USNOA20_disc
Constructor Detail |
public UsnoA20Reader()
UsnoA20Reader
.public UsnoA20Reader(java.net.URL url)
UsnoA20Reader
with URL of directory
containing USNO-A2.0 CD-ROMs data.url
- the URL of directory containing CD-ROMs data.Method Detail |
protected int getNumberOfFiles()
protected int getFileNumber(int index)
index
- the index.protected int getDiscNumber(int index)
index
- the index.public java.lang.String getName()
public boolean isInDirectory()
public boolean supportsExamination()
protected UsnoAStar createStar(short file_number, int star_number, Coor coor, boolean valid_R_mag, short R_mag10, boolean valid_B_mag, short B_mag10, double V_mag)
UsnoAStar
object based on the specified
parameters.file_numer
- the file number.star_number
- the star number in the area.coor
- the R.A. and Decl.valid_R_mag
- true if R magnitude is recorded.R_mag10
- the R magnitude in 0.1 mag unit.valid_B_mag
- true if B magnitude is recorded.B_mag10
- the B magnitude in 0.1 mag unit.V_mag
- the V magnitude.UsnoAStar
objectpublic java.lang.String getHelpMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |