public class PolarOrbitTrackDataSource extends DataSourceImpl
Modifier and Type | Field and Description |
---|---|
private ArrayList<String> |
choices |
private name.gano.astro.propogators.sgp4_cssi.SGP4SatData |
data |
private int |
dTime
time step between data points
|
private double |
julDate0 |
private double |
julDate1 |
private static org.slf4j.Logger |
logger |
private jsattrak.objects.SatelliteTleSGP4 |
prop |
private Hashtable |
selectionProps |
private jsattrak.utilities.TLE |
tle |
private ArrayList<String> |
tleCards |
(package private) TimeRangeSelection |
trs |
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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 and Description |
---|
PolarOrbitTrackDataSource()
Default bean constructor for persistence; does nothing.
|
PolarOrbitTrackDataSource(DataSourceDescriptor descriptor,
String filename,
Hashtable properties)
Create a new PolarOrbitTrackDataSource
|
Modifier and Type | Method and Description |
---|---|
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 associated with this source.
|
ArrayList<String> |
getChoices()
choices needs to persist to support bundles
|
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) |
ArrayList<String> |
getTleCards()
tleCards needs to persist to support bundles
|
TimeRangeSelection |
getTrs() |
void |
initAfterCreation() |
protected void |
initDataSelectionComponents(List<DataSelectionComponent> components,
DataChoice dataChoice) |
private void |
notTLE() |
private static int |
parseInteger(String str) |
void |
setChoices(ArrayList<String> choices)
choices needs to persist to support bundles
|
void |
setDTime(int val) |
void |
setTleCards(ArrayList<String> tleCards)
tleCards needs to persist to support bundles
|
boolean |
showPropertiesDialog(String initTabName,
boolean modal)
Show the dialog
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, equals, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getFullDescription, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getLocationsForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterUnpersistence, initDataChoice, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadData, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUniqueId
private static final org.slf4j.Logger logger
private name.gano.astro.propogators.sgp4_cssi.SGP4SatData data
private jsattrak.utilities.TLE tle
private Hashtable selectionProps
private int dTime
private jsattrak.objects.SatelliteTleSGP4 prop
private double julDate0
private double julDate1
public PolarOrbitTrackDataSource()
public PolarOrbitTrackDataSource(DataSourceDescriptor descriptor, String filename, Hashtable properties) throws VisADException
descriptor
- descriptor for this sourcefilename
- ADDE URLproperties
- extra properties for this sourceVisADException
private void checkFirstEntry()
private int decodeCard1(String card)
private int decodeCard2(String card)
protected void doMakeDataChoices()
doMakeDataChoices
in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- 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 problemVisADException
- VisAD problempublic int getDTime()
public ArrayList<String> getChoices()
public void setChoices(ArrayList<String> choices)
choices
- the choices to setpublic ArrayList<String> getTleCards()
public void setTleCards(ArrayList<String> tleCards)
tleCards
- the tleCards to setpublic TimeRangeSelection getTrs()
public double getNearestAltToGroundStation(double gsLat, double gsLon)
public void initAfterCreation()
initAfterCreation
in interface DataSource
initAfterCreation
in class DataSourceImpl
protected void initDataSelectionComponents(List<DataSelectionComponent> components, DataChoice dataChoice)
initDataSelectionComponents
in class DataSourceImpl
private void notTLE()
public void setDTime(int val)
public boolean showPropertiesDialog(String initTabName, boolean modal)
showPropertiesDialog
in class DataSourceImpl
initTabName
- What tab should we show. May be null.modal
- Is dialog modalprivate static int parseInteger(String str) throws NumberFormatException
NumberFormatException