public class PolarOrbitTrackDataSource extends ucar.unidata.data.DataSourceImpl
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<java.lang.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 java.util.Hashtable |
selectionProps |
private jsattrak.utilities.TLE |
tle |
private java.util.ArrayList<java.lang.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(ucar.unidata.data.DataSourceDescriptor descriptor,
java.lang.String filename,
java.util.Hashtable properties)
Create a new PolarOrbitTrackDataSource
|
Modifier and Type | Method and Description |
---|---|
private void |
checkFirstEntry() |
private int |
checksum(java.lang.String str) |
private int |
decodeCard1(java.lang.String card) |
private int |
decodeCard2(java.lang.String card) |
protected void |
doMakeDataChoices()
Make the data choices associated with this source.
|
java.util.ArrayList<java.lang.String> |
getChoices()
choices needs to persist to support bundles
|
protected Data |
getDataInner(ucar.unidata.data.DataChoice dataChoice,
ucar.unidata.data.DataCategory category,
ucar.unidata.data.DataSelection dataSelection,
java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce.
|
private double |
getDouble(int beg,
int end,
java.lang.String card) |
int |
getDTime() |
private int |
getInt(int beg,
int end,
java.lang.String card) |
double |
getNearestAltToGroundStation(double gsLat,
double gsLon) |
java.util.ArrayList<java.lang.String> |
getTleCards()
tleCards needs to persist to support bundles
|
TimeRangeSelection |
getTrs() |
void |
initAfterCreation() |
protected void |
initDataSelectionComponents(java.util.List<ucar.unidata.data.DataSelectionComponent> components,
ucar.unidata.data.DataChoice dataChoice) |
private void |
notTLE() |
private static int |
parseInteger(java.lang.String str) |
void |
setChoices(java.util.ArrayList<java.lang.String> choices)
choices needs to persist to support bundles
|
void |
setDTime(int val) |
void |
setTleCards(java.util.ArrayList<java.lang.String> tleCards)
tleCards needs to persist to support bundles
|
boolean |
showPropertiesDialog(java.lang.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
private static final org.slf4j.Logger logger
private java.util.ArrayList<java.lang.String> tleCards
private java.util.ArrayList<java.lang.String> choices
private name.gano.astro.propogators.sgp4_cssi.SGP4SatData data
private jsattrak.utilities.TLE tle
private java.util.Hashtable selectionProps
private int dTime
private jsattrak.objects.SatelliteTleSGP4 prop
private double julDate0
private double julDate1
public PolarOrbitTrackDataSource()
public PolarOrbitTrackDataSource(ucar.unidata.data.DataSourceDescriptor descriptor, java.lang.String filename, java.util.Hashtable properties) throws VisADException
descriptor
- descriptor for this sourcefilename
- ADDE URLproperties
- extra properties for this sourceVisADException
private void checkFirstEntry()
private int checksum(java.lang.String str)
private int decodeCard1(java.lang.String card)
private int decodeCard2(java.lang.String card)
protected void doMakeDataChoices()
doMakeDataChoices
in class ucar.unidata.data.DataSourceImpl
protected Data getDataInner(ucar.unidata.data.DataChoice dataChoice, ucar.unidata.data.DataCategory category, ucar.unidata.data.DataSelection dataSelection, java.util.Hashtable requestProperties) throws VisADException, java.rmi.RemoteException
getDataInner
in class ucar.unidata.data.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.java.rmi.RemoteException
- Java RMI problemVisADException
- VisAD problemprivate double getDouble(int beg, int end, java.lang.String card)
public int getDTime()
private int getInt(int beg, int end, java.lang.String card)
public java.util.ArrayList<java.lang.String> getChoices()
public void setChoices(java.util.ArrayList<java.lang.String> choices)
choices
- the choices to setpublic java.util.ArrayList<java.lang.String> getTleCards()
public void setTleCards(java.util.ArrayList<java.lang.String> tleCards)
tleCards
- the tleCards to setpublic TimeRangeSelection getTrs()
public double getNearestAltToGroundStation(double gsLat, double gsLon)
public void initAfterCreation()
initAfterCreation
in interface ucar.unidata.data.DataSource
initAfterCreation
in class ucar.unidata.data.DataSourceImpl
protected void initDataSelectionComponents(java.util.List<ucar.unidata.data.DataSelectionComponent> components, ucar.unidata.data.DataChoice dataChoice)
initDataSelectionComponents
in class ucar.unidata.data.DataSourceImpl
private void notTLE()
public void setDTime(int val)
public boolean showPropertiesDialog(java.lang.String initTabName, boolean modal)
showPropertiesDialog
in class ucar.unidata.data.DataSourceImpl
initTabName
- What tab should we show. May be null.modal
- Is dialog modalprivate static int parseInteger(java.lang.String str) throws java.lang.NumberFormatException
java.lang.NumberFormatException