|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--grs.pds.BasePdsRecord
|
+--grs.pds.TimeSeriesRecord
|
+--grs.pds.edr.PositionedEdrRecord
Contains data fields and methods that will be common to positioned records (gamma, ns, and hend). All positional info is computed at the time of the middle of the pixel interval. If pointing is 1, then SPICE kernel info was available to compute pointing information. If intersecting is 1, then the instrument was pointed at the planet.
| Field Summary | |
long |
ceb_time
|
short |
day_index
mars day of year |
double |
delta_theta
pointing angle in degrees from |
RCoords |
instrboresight_mars
|
byte |
intersecting
1 = pointed at planet, 0 = not |
double |
latitude
|
byte |
local_hour
position of sun at sub-spacecraft point |
byte |
local_min
position of sun at sub-spacecraft point |
double |
longitude
|
double |
mars_sol
solar longitude |
RCoords |
marspos_instr
|
RCoords |
marsvel_instr
|
int |
ody_orbit
|
int |
orbit
|
int |
pixel
|
byte |
pointing
1 = pointing data available, 0 = not |
long |
sc_ev_time
|
long |
sc_recv_time
|
double |
scalt
spacecraft altitude |
RCoords |
scpos_inert
|
RCoords |
scpos_mars
|
RCoords |
scvel_inert
|
RCoords |
subsc_mars
|
Date |
utc
|
| Fields inherited from class grs.pds.BasePdsRecord |
PdsTimeFormat |
| Fields inherited from interface grs.pds.PdsRecord |
GAMMA_CHANNELS, int10, int12, int2, int3, logger, MESSAGE_LENGTH, NS_MAX_EVENTS, PEF_COMMANDS, prec10, prec12, prec13, prec14, prec15, prec16, prec17, prec5, prec6, prec7, PROFILE_LENGTH, PROFILE_SIZE, PULSER_CHANNELS, QUERY_DATE_FMT, SC_ID |
| Constructor Summary | |
PositionedEdrRecord()
|
|
| Method Summary | |
long |
getSCLK()
Get the Date (time) of record. |
Date |
getUTC()
Get the Date (time) of record. |
int |
prepareInsert(PreparedStatement pstmt)
Bind the variables to a prepared statement. |
void |
readHeader(DataInputStream in)
Read the positioning fields from a DataInputStream. |
void |
readHeader(ResultSet rs)
Read the positioning fields from a ResultSet. |
int |
toStringArray(String[] array)
Print data contained in this record. |
void |
writeTo(DataOutputStream out)
Write positioned data fields to a DataOutputStream. |
| Methods inherited from class grs.pds.BasePdsRecord |
endianSwapShort, toStringArray |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public long sc_recv_time
public long sc_ev_time
public long ceb_time
public Date utc
public int pixel
public int orbit
public int ody_orbit
public double latitude
public double longitude
public RCoords scpos_inert
public RCoords scvel_inert
public RCoords marspos_instr
public RCoords marsvel_instr
public RCoords scpos_mars
public RCoords instrboresight_mars
public RCoords subsc_mars
public double scalt
public double delta_theta
public double mars_sol
public byte pointing
public byte intersecting
public short day_index
public byte local_hour
public byte local_min
| Constructor Detail |
public PositionedEdrRecord()
| Method Detail |
public void readHeader(ResultSet rs)
throws SQLException
rs - ResultSet to read from
SQLException - Situation we don't know how to handle, such as
unexpected null data.
public void readHeader(DataInputStream in)
throws IOException,
ParseException
in - Stream to read from
IOException - Error reading from stream
ParseException - utc date from stream is in an invalid format.
public void writeTo(DataOutputStream out)
throws IOException
writeTo in class BasePdsRecordout - Stream to write to.
IOException - Error writing to stream.
public int prepareInsert(PreparedStatement pstmt)
throws SQLException
prepareInsert in class BasePdsRecordpstmt - prepared statement
SQLException - could not bind variablespublic long getSCLK()
getSCLK in class TimeSeriesRecordpublic Date getUTC()
getUTC in class TimeSeriesRecordpublic int toStringArray(String[] array)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||