public class History extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.String[] |
AutoPosStringAbbr |
(package private) static java.lang.String[] |
CloudSceneString
cloud scenes
|
(package private) static java.lang.String[] |
CloudSceneString_ATCF
ATCF cloud
|
(package private) static java.lang.String[] |
EyeSceneString
eye scenes
|
(package private) static int |
HISTLEN |
static IRHistoryRecord[] |
HistoryFile |
static int |
HistoryFileRecords |
static IRHistoryRecord |
IRCurrentRecord |
private static org.slf4j.Logger |
logger |
(package private) static java.lang.String[] |
RapidDissString
rapid dissipation array
|
(package private) static java.lang.String[] |
Rule89_ATCF
ATCF Rule 8/9 array
|
(package private) static java.lang.String[] |
Rule8String |
(package private) static java.lang.String[] |
Rule9String
ATCF Rule 9 array
|
| Constructor and Description |
|---|
History() |
| Modifier and Type | Method and Description |
|---|---|
static int |
CommentHistoryRecords(java.lang.String CommentString)
Insert comment in history file at specifified date/time.
|
static int[] |
DeleteHistoryRecords(boolean RunFullAnalysis,
java.lang.String HistoryFileName)
Delete record(s) in a history file.
|
static int |
HistoryNumberOfRecords() |
static void |
InitCurrent(boolean InitialFlagTF) |
static int[] |
InsertHistoryRecord(boolean RunFullAnalysis,
java.lang.String HistoryFileName)
Insert or overwrite a record in a history file.
|
static java.lang.String |
ListHistory(int OutputStyle,
int OutputFormatTypeID,
java.lang.String ATCFFileSourceIDString,
java.lang.String ATCFStormIDString)
List the ASCII history file between given date/times.
|
void |
ReadHistoryFile(java.lang.String filename) |
static int |
WriteHistoryFile(java.lang.String HistoryFileName)
Write HistoryRecordPtr structure to ASCII history file.
|
private static final org.slf4j.Logger logger
static java.lang.String[] Rule89_ATCF
static java.lang.String[] Rule9String
static java.lang.String[] RapidDissString
static java.lang.String[] EyeSceneString
static java.lang.String[] CloudSceneString
static java.lang.String[] CloudSceneString_ATCF
static java.lang.String[] AutoPosStringAbbr
static java.lang.String[] Rule8String
static int HISTLEN
public static int HistoryFileRecords
public static IRHistoryRecord[] HistoryFile
public static IRHistoryRecord IRCurrentRecord
public History()
public void ReadHistoryFile(java.lang.String filename) throws java.io.IOException
java.io.IOExceptionpublic static int HistoryNumberOfRecords()
public static java.lang.String ListHistory(int OutputStyle, int OutputFormatTypeID, java.lang.String ATCFFileSourceIDString, java.lang.String ATCFStormIDString)
OutputStyle - Output one record (-1) or entire file (0).OutputFormatTypeID - 0=ATCF, -1=History List.ATCFFileSourceIDString - ATCF file source identifier.ATCFStormIDString - ATCF storm identifier.public static int[] InsertHistoryRecord(boolean RunFullAnalysis, java.lang.String HistoryFileName)
RunFullAnalysis - Full analysis toggle.HistoryFileName - File to modify.public static int[] DeleteHistoryRecords(boolean RunFullAnalysis, java.lang.String HistoryFileName)
Routine will modify structure HistoryRecordPtr, which will then be rewritten to ASCII history file in another subroutine.
RunFullAnalysis - Full analysis toggle.HistoryFileName - File to modify.public static int CommentHistoryRecords(java.lang.String CommentString)
CommentString - Character string field to be inserted.-1, there was an error finding record, if >= 0
, number of modified records.public static int WriteHistoryFile(java.lang.String HistoryFileName) throws java.io.IOException
HistoryFileName - File to write.>= 0, the value represents the number of records
written. If -2, there was an error reading
HistoryFileName. If -3, there was an error
writing HistoryFileName. Finally, if -5, there
was an error closing HistoryFileName.java.io.IOException - if there was a problem writing to HistoryFileName.public static void InitCurrent(boolean InitialFlagTF)