|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
edu.wisc.ssec.mcidasv.data.PolarOrbitTrackDataSource
public class PolarOrbitTrackDataSource
Class for data sources of ADDE text data. These may be generic files or weather bulletins
| Field Summary | |
|---|---|
private List |
choices
|
private SGP4SatData |
data
|
private int |
dTime
time step between data points |
private double |
julDate0
|
private double |
julDate1
|
private static org.slf4j.Logger |
logger
|
static double |
pi
|
private SatelliteTleSGP4 |
prop
|
private Hashtable |
selectionProps
|
private TLE |
tle
|
private List |
tleCards
|
private List |
twoDCategories
list of twod categories |
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields inherited from interface ucar.unidata.data.DataSource |
|---|
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE |
| Constructor Summary | |
|---|---|
PolarOrbitTrackDataSource()
Default bean constructor for persistence; does nothing. |
|
PolarOrbitTrackDataSource(DataSourceDescriptor descriptor,
String filename,
Hashtable properties)
Create a new PolarOrbitTrackDataSource |
|
| Method Summary | |
|---|---|
private void |
checkFirstEntry()
|
private int |
checksum(String str)
|
private int |
decodeCard1(String card)
|
private int |
decodeCard2(String card)
|
protected void |
doMakeDataChoices()
Make the data choices assoicated with this source. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Actually get the data identified by the given DataChoce. |
private double |
getDouble(int beg,
int end,
String card)
|
int |
getDTime()
|
private int |
getInt(int beg,
int end,
String card)
|
double |
getNearestAltToGroundStation(double gsLat,
double gsLon)
|
void |
initAfterCreation()
|
protected void |
initDataSelectionComponents(List<DataSelectionComponent> components,
DataChoice dataChoice)
|
private void |
makeCategories()
Initialize the DataCategory objects that
this data source uses. |
private void |
notTLE()
|
void |
setDTime(int val)
|
boolean |
showPropertiesDialog(String initTabName,
boolean modal)
Show the dialog |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Field Detail |
|---|
private static final org.slf4j.Logger logger
private List twoDCategories
private List tleCards
private List choices
private SGP4SatData data
private TLE tle
public static double pi
private Hashtable selectionProps
private int dTime
private SatelliteTleSGP4 prop
private double julDate0
private double julDate1
| Constructor Detail |
|---|
public PolarOrbitTrackDataSource()
public PolarOrbitTrackDataSource(DataSourceDescriptor descriptor,
String filename,
Hashtable properties)
throws VisADException
descriptor - descriptor for this sourcefilename - ADDE URLproperties - extra properties for this source
VisADException| Method Detail |
|---|
private void checkFirstEntry()
public void initAfterCreation()
initAfterCreation in interface DataSourceinitAfterCreation in class DataSourceImplprotected void doMakeDataChoices()
doMakeDataChoices in class DataSourceImplprivate void makeCategories()
DataCategory objects that
this data source uses.
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - The data choice that identifies the requested
data.category - The data category of the request.dataSelection - Identifies any subsetting of the data.requestProperties - Hashtable that holds any detailed request
properties.
RemoteException - Java RMI problem
VisADException - VisAD problem
public double getNearestAltToGroundStation(double gsLat,
double gsLon)
private int decodeCard1(String card)
private int decodeCard2(String card)
private int getInt(int beg,
int end,
String card)
private double getDouble(int beg,
int end,
String card)
private int checksum(String str)
protected void initDataSelectionComponents(List<DataSelectionComponent> components,
DataChoice dataChoice)
initDataSelectionComponents in class DataSourceImpl
public boolean showPropertiesDialog(String initTabName,
boolean modal)
showPropertiesDialog in class DataSourceImplinitTabName - What tab should we show. May be null.modal - Is dialog modal
public int getDTime()
public void setDTime(int val)
private void notTLE()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||