Package ucar.nc2.dt
Interface RadialDatasetSweep
-
- All Superinterfaces:
AutoCloseable
,Closeable
,FeatureDataset
,FileCacheable
- All Known Subinterfaces:
StationRadialDataset
- All Known Implementing Classes:
AbstractRadialAdapter
,CFRadialAdapter
,Dorade2RadialAdapter
,Nexrad2RadialAdapter
,NidsRadialAdapter
,NsslRadialAdapter
,UF2RadialAdapter
public interface RadialDatasetSweep extends FeatureDataset
A RadialDataset in which the radials can be grouped into sweeps. A sweep has the same gate geometry for all radials in the sweep, and has a RadialDatasetSweep.Type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RadialDatasetSweep.RadialVariable
A data Variable with radial geometry.static interface
RadialDatasetSweep.Sweep
A sweep is 2D data using radial coordinate system (elevation, azimuth, radial distance)static class
RadialDatasetSweep.Type
A Type of RadialSweep.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearDatasetMemory()
Remove cached data, if any.EarthLocation
getCommonOrigin()
If all sweeps have the same origin, return it here, else nullRadialDatasetSweep.Type
getCommonType()
If all the sweeps are the same type, return it here, else NONEString
getDataFormat()
List<VariableSimpleIF>
getDataVariables()
The radial data variables available in the dataset.String
getRadarID()
String
getRadarName()
DateUnit
getTimeUnits()
Get the units of Calendar time.boolean
isStationary()
Stationary versus moving radar.boolean
isVolume()
Get the basic property of Radar,-
Methods inherited from interface ucar.nc2.ft.FeatureDataset
attributes, close, findGlobalAttributeIgnoreCase, getBoundingBox, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getDataVariable, getDescription, getDetailInfo, getFeatureType, getGlobalAttributes, getImplementationName, getLocation, getNetcdfFile, getTitle
-
Methods inherited from interface ucar.nc2.util.cache.FileCacheable
getLastModified, reacquire, release, setFileCache
-
-
-
-
Method Detail
-
getRadarID
String getRadarID()
- Returns:
- radar id
-
getRadarName
String getRadarName()
- Returns:
- radar name
-
getDataFormat
String getDataFormat()
- Returns:
- data format
-
getCommonType
RadialDatasetSweep.Type getCommonType()
If all the sweeps are the same type, return it here, else NONE- Returns:
- type of sweep, or NONE
-
getCommonOrigin
EarthLocation getCommonOrigin()
If all sweeps have the same origin, return it here, else null- Returns:
- common origin, or null
-
getTimeUnits
DateUnit getTimeUnits()
Get the units of Calendar time. To get a Date, from a time value, call DateUnit.getStandardDate(double value). To get units as a String, call DateUnit.getUnitsString().- Returns:
- units of Calendar time
-
isStationary
boolean isStationary()
Stationary versus moving radar.- Returns:
- true if this is stationary.
-
clearDatasetMemory
void clearDatasetMemory()
Remove cached data, if any.
-
isVolume
boolean isVolume()
Get the basic property of Radar,- Returns:
- 0 if there is only one sweep
-
getDataVariables
List<VariableSimpleIF> getDataVariables()
The radial data variables available in the dataset.- Specified by:
getDataVariables
in interfaceFeatureDataset
- Returns:
- List of type RadialDatasetSweep.RadialVariable
-
-