Package ucar.nc2.dt.radial
Class RadialCoordSys
- java.lang.Object
-
- ucar.nc2.dt.radial.RadialCoordSys
-
public class RadialCoordSys extends Object
A radial CoordinateSystem has azimuth, elevation and radial axes.
-
-
Constructor Summary
Constructors Constructor Description RadialCoordSys(CoordinateSystem cs)
Create a RadialCoordSys from an existing Coordinate System.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateAxis
getAzimuthAxis()
get the Azimuth axisArray
getAzimuthAxisDataCached()
get the Azimuth axis data.LatLonRect
getBoundingBox()
List
getCoordAxes()
CoordinateAxis
getElevationAxis()
get the Elevation axisArray
getElevationAxisDataCached()
get the Elevation axis data.double
getMaximumRadial()
Get the maximum radial distance, in km.String
getName()
EarthLocation
getOrigin()
Origin of the coordinate systemCoordinateAxis
getRadialAxis()
get the Radial axisArray
getRadialAxisDataCached()
get the Radial axis data.CoordinateAxis
getTimeAxis()
get the Time axisArray
getTimeAxisDataCached()
get the Time axis data.DateUnit
getTimeUnits()
Get the units of Calendar time.static boolean
isRadialCoordSys(Formatter parseInfo, CoordinateSystem cs)
Determine if this CoordinateSystem can be made into a RadialCoordSys.static RadialCoordSys
makeRadialCoordSys(Formatter parseInfo, CoordinateSystem cs, Variable v)
Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.void
setOrigin(EarthLocation origin)
-
-
-
Constructor Detail
-
RadialCoordSys
public RadialCoordSys(CoordinateSystem cs)
Create a RadialCoordSys from an existing Coordinate System.
-
-
Method Detail
-
isRadialCoordSys
public static boolean isRadialCoordSys(Formatter parseInfo, CoordinateSystem cs)
Determine if this CoordinateSystem can be made into a RadialCoordSys.- Parameters:
parseInfo
- put debug information into this Formatter; may be null.cs
- the CoordinateSystem to test- Returns:
- true if it can be made into a RadialCoordSys.
-
makeRadialCoordSys
public static RadialCoordSys makeRadialCoordSys(Formatter parseInfo, CoordinateSystem cs, Variable v)
Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.- Parameters:
parseInfo
- put debug information into this StringBuffer; may be null.cs
- CoordinateSystem to check.v
- Variable to check.- Returns:
- the RadialCoordSys made from cs, else null.
-
getName
public String getName()
-
getCoordAxes
public List getCoordAxes()
-
getAzimuthAxis
public CoordinateAxis getAzimuthAxis()
get the Azimuth axis
-
getElevationAxis
public CoordinateAxis getElevationAxis()
get the Elevation axis
-
getRadialAxis
public CoordinateAxis getRadialAxis()
get the Radial axis
-
getTimeAxis
public CoordinateAxis getTimeAxis()
get the Time axis
-
getAzimuthAxisDataCached
public Array getAzimuthAxisDataCached() throws IOException
get the Azimuth axis data. Calling this will force the data to be cached.- Throws:
IOException
-
getElevationAxisDataCached
public Array getElevationAxisDataCached() throws IOException
get the Elevation axis data. Calling this will force the data to be cached.- Throws:
IOException
-
getRadialAxisDataCached
public Array getRadialAxisDataCached() throws IOException
get the Radial axis data. Calling this will force the data to be cached.- Throws:
IOException
-
getTimeAxisDataCached
public Array getTimeAxisDataCached() throws IOException
get the Time axis data. Calling this will force the data to be cached.- Throws:
IOException
-
getOrigin
public EarthLocation getOrigin()
Origin of the coordinate system
-
setOrigin
public void setOrigin(EarthLocation origin)
-
getMaximumRadial
public double getMaximumRadial()
Get the maximum radial distance, in km.
-
getBoundingBox
public LatLonRect getBoundingBox()
-
-