visad.bom
Class TCData
java.lang.Object
visad.bom.TCData
- public class TCData
- extends Object
|
Method Summary |
void |
addDisturbance(int disturbanceID,
Tuple disturbance)
|
void |
addLocation(int disturbanceID,
int trackID,
double time,
RealTuple location)
|
void |
addTrack(int disturbanceID,
int trackID,
Tuple track)
|
FieldImpl |
getData()
|
MathType |
getType()
|
static void |
main(String[] args)
create a bunch of "intensities" which are measurements of
the intensity of a Tropical Cyclone at particular times
input: arrays of times, ids, wind_means... |
static Tuple |
makeDisturbance(String country,
String state,
int year,
int number,
String historical_name,
double open_date,
double close_date,
int archive_mode,
int realtime_mode,
FieldImpl tracks)
|
static FlatField |
makeLocations(double[] times,
float[] lats,
float[] lons,
float[] errors,
int[] confidence,
int[] location_styles,
float[] wind_means,
float[] wind_gusts,
float[] central_pressures,
int[] categories,
int[] intensityStyle,
float[] gale_radii,
float[] storm_radii,
float[] hurricane_radii,
float[] radii_of_maximum_winds,
int[] size_styles,
float[] depth,
float[] eyeDiameter,
float[] pressureOfLastClosedIsobar,
int[] structureStyle)
jk:
create a flatfield of Disturbance (Tropical Cyclone) Sizes
with values set to "missing"
This allows for the case when the database has no entries yet,
but means we can still create some TCData |
static Tuple |
makeTrack(String track_type,
String track_name,
double base_date_time,
double create_date_time,
String display_type,
FlatField locations)
|
static FieldImpl |
makeTrackField(int trackID,
Tuple track)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
FieldImpl data
rtTime
static RealType rtTime
rtConfidence
static RealType rtConfidence
rtLat
static RealType rtLat
rtLon
static RealType rtLon
rtError
static RealType rtError
rtLocationStyle
static RealType rtLocationStyle
locationTuple
static RealTupleType locationTuple
locationFunction
static FunctionType locationFunction
rtWindMean
static RealType rtWindMean
rtWindGust
static RealType rtWindGust
rtCentralPressure
static RealType rtCentralPressure
rtCategory
static RealType rtCategory
rtIntensityStyle
static RealType rtIntensityStyle
rtGaleRadius
static RealType rtGaleRadius
rtStormRadius
static RealType rtStormRadius
rtHurricaneRadius
static RealType rtHurricaneRadius
rtRadiusOfMaximumWinds
static RealType rtRadiusOfMaximumWinds
rtSizeStyle
static RealType rtSizeStyle
rtDepth
static RealType rtDepth
rtEyeDiameter
static RealType rtEyeDiameter
rtPressureOfLastClosedIsobar
static RealType rtPressureOfLastClosedIsobar
rtStructureStyle
static RealType rtStructureStyle
rtTrackID
static RealType rtTrackID
ttTrackType
static TextType ttTrackType
ttTrackName
static TextType ttTrackName
rtBaseDateTime
static RealType rtBaseDateTime
rtCreateDateTime
static RealType rtCreateDateTime
ttTrackStyle
static TextType ttTrackStyle
ttTrack
static TupleType ttTrack
ftId2Track
static FunctionType ftId2Track
rtDisturbanceID
static RealType rtDisturbanceID
ttCountry
static TextType ttCountry
ttState
static TextType ttState
rtYear
static RealType rtYear
rtNumber
static RealType rtNumber
ttHistoricalName
static TextType ttHistoricalName
rtOpenDate
static RealType rtOpenDate
rtCloseDate
static RealType rtCloseDate
rtArchiveMode
static RealType rtArchiveMode
rtRealtimeMode
static RealType rtRealtimeMode
ttDisturbance
static TupleType ttDisturbance
ftId2Disturbance
static FunctionType ftId2Disturbance
mtTC
static FunctionType mtTC
TCData
public TCData()
throws VisADException
getData
public FieldImpl getData()
getType
public MathType getType()
addLocation
public void addLocation(int disturbanceID,
int trackID,
double time,
RealTuple location)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeTrackField
public static FieldImpl makeTrackField(int trackID,
Tuple track)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
addTrack
public void addTrack(int disturbanceID,
int trackID,
Tuple track)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
addDisturbance
public void addDisturbance(int disturbanceID,
Tuple disturbance)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeDisturbance
public static Tuple makeDisturbance(String country,
String state,
int year,
int number,
String historical_name,
double open_date,
double close_date,
int archive_mode,
int realtime_mode,
FieldImpl tracks)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeTrack
public static Tuple makeTrack(String track_type,
String track_name,
double base_date_time,
double create_date_time,
String display_type,
FlatField locations)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeLocations
public static FlatField makeLocations(double[] times,
float[] lats,
float[] lons,
float[] errors,
int[] confidence,
int[] location_styles,
float[] wind_means,
float[] wind_gusts,
float[] central_pressures,
int[] categories,
int[] intensityStyle,
float[] gale_radii,
float[] storm_radii,
float[] hurricane_radii,
float[] radii_of_maximum_winds,
int[] size_styles,
float[] depth,
float[] eyeDiameter,
float[] pressureOfLastClosedIsobar,
int[] structureStyle)
throws VisADException,
RemoteException
- jk:
create a flatfield of Disturbance (Tropical Cyclone) Sizes
with values set to "missing"
This allows for the case when the database has no entries yet,
but means we can still create some TCData
- Throws:
VisADException
RemoteException
main
public static void main(String[] args)
throws VisADException,
RemoteException
- create a bunch of "intensities" which are measurements of
the intensity of a Tropical Cyclone at particular times
input: arrays of times, ids, wind_means...
output: a field of mathType intensityFunction, which is represented by:
(time -> intensityTuple)
- Throws:
VisADException
RemoteException