public class PolarOrbitTrackDataSource extends TrackDataSource
| Modifier and Type | Field and Description |
|---|---|
private List |
choices |
private SGP4SatData |
data |
private int |
dTime
time step between data points
|
private double |
julDate0 |
private double |
julDate1 |
private double[] |
lla |
private static org.slf4j.Logger |
logger |
static double |
pi |
private SatelliteTleSGP4 |
prop |
private Hashtable |
selectionProps |
private TLE |
tle |
private List |
tleCards |
ID_LASTOB, ID_POINTTRACE, ID_SOUNDINGOB, ID_SOUNDINGTRACE, ID_TIMETRACE, ID_WHOLETRACE, PROP_TRACKTYPE, soundingCats, traceCatsadapters, oldSourceFromBundles, sourceschangeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YESDATAPATH_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 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) |
void |
setDTime(int val) |
boolean |
showPropertiesDialog(String initTabName,
boolean modal)
Show the dialog
|
addActions, addPropertiesTabs, aggregateTracks, applyProperties, canDoView, canSaveDataToLocalDisk, doMakeAdapter, doMakeDateTimes, doRemove, getAdapters, getBaseTime, getChoiceId, getChoiceId0, getDataChoiceLabel, getFullDescription, getHaveAskedToSubset, getLastNMinutes, getLastPointOb, getMinMaxTime, getPointDataFilter, getPointObTrack, getPropertiesComponents, getRaobCategories, getSoundingCategories, getSoundingOb, getSoundingTrace, getStride, getTraceAdapter, getTraceCategories, getTrack, getTrackId, getTracks, initAfter, initCategories, initTrack, main, mergeTracks, resetLastNMinutesFld, resetStrideFld, setHaveAskedToSubset, setLastNMinutes, setName, setPointDataFilter, setStride, showSqlShellequals, getDataFileExtension, getDataPaths, getFilePath, getInputStreams, getLocationsForPolling, getPartialDescription, getSource, getSources, haveSources, initAfterUnpersistence, initWithPollingInfo, isFileBased, newFilesFromPolling, processDataFilename, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setNewFiles, setSource, setSources, sourcesChanged, updateStateaddDataChangeListener, addDataChoice, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initDataChoice, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFileapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueIdprivate static final org.slf4j.Logger logger
private SGP4SatData data
public static double pi
private Hashtable selectionProps
private double[] lla
private int dTime
private 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 sourceVisADExceptionpublic void initAfterCreation()
initAfterCreation in interface DataSourceinitAfterCreation in class TrackDataSourceprotected void doMakeDataChoices()
doMakeDataChoices in class TrackDataSourceprotected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, Hashtable requestProperties) throws VisADException, RemoteException
getDataInner in class TrackDataSourcedataChoice - 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 double getNearestAltToGroundStation(double gsLat, double gsLon)
private int decodeCard1(String card)
private int decodeCard2(String card)
protected void initDataSelectionComponents(List<DataSelectionComponent> components, DataChoice dataChoice)
initDataSelectionComponents in class DataSourceImplpublic boolean showPropertiesDialog(String initTabName, boolean modal)
showPropertiesDialog in class DataSourceImplinitTabName - What tab should we show. May be null.modal - Is dialog modalpublic int getDTime()
public void setDTime(int val)