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 CoordinateAxisgetAzimuthAxis()get the Azimuth axisArraygetAzimuthAxisDataCached()get the Azimuth axis data.LatLonRectgetBoundingBox()ListgetCoordAxes()CoordinateAxisgetElevationAxis()get the Elevation axisArraygetElevationAxisDataCached()get the Elevation axis data.doublegetMaximumRadial()Get the maximum radial distance, in km.StringgetName()EarthLocationgetOrigin()Origin of the coordinate systemCoordinateAxisgetRadialAxis()get the Radial axisArraygetRadialAxisDataCached()get the Radial axis data.CoordinateAxisgetTimeAxis()get the Time axisArraygetTimeAxisDataCached()get the Time axis data.DateUnitgetTimeUnits()Get the units of Calendar time.static booleanisRadialCoordSys(Formatter parseInfo, CoordinateSystem cs)Determine if this CoordinateSystem can be made into a RadialCoordSys.static RadialCoordSysmakeRadialCoordSys(Formatter parseInfo, CoordinateSystem cs, Variable v)Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.voidsetOrigin(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()
-
-