Package ucar.nc2.grib
Class GdsHorizCoordSys
- java.lang.Object
-
- ucar.nc2.grib.GdsHorizCoordSys
-
@Immutable public class GdsHorizCoordSys extends Object
A Horizontal coordinate system generated from a GRIB-1 or GRIB-2 GDS.- Since:
- 9/5/11
-
-
Constructor Summary
Constructors Constructor Description GdsHorizCoordSys(String name, int template, int gdsNumberPoints, int scanMode, ucar.unidata.geoloc.ProjectionImpl proj, double startx, double dx, double starty, double dy, int nxRaw, int nyRaw, int[] nptsInLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ucar.unidata.geoloc.LatLonPointgetCenterLatLon()doublegetEndX()doublegetEndY()ucar.ma2.ArraygetGaussianLats()ucar.ma2.ArraygetGaussianWeights()ucar.unidata.geoloc.LatLonRectgetLatLonBB()StringgetName()ucar.unidata.geoloc.ProjectionRectgetProjectionBB()intgetScanMode()doublegetStartX()doublegetStartY()booleanisLatLon()StringmakeDescription()StringmakeId()voidsetGaussianLats(int nparallels, float la1, float la2)StringtoString()
-
-
-
Field Detail
-
template
public final int template
-
gdsNumberPoints
public final int gdsNumberPoints
-
scanMode
public final int scanMode
-
proj
public final ucar.unidata.geoloc.ProjectionImpl proj
-
startx
public final double startx
-
dx
public final double dx
-
starty
public final double starty
-
dy
public final double dy
-
nx
public final int nx
-
ny
public final int ny
-
nxRaw
public final int nxRaw
-
nyRaw
public final int nyRaw
-
nptsInLine
public final int[] nptsInLine
-
-
Constructor Detail
-
GdsHorizCoordSys
public GdsHorizCoordSys(String name, int template, int gdsNumberPoints, int scanMode, ucar.unidata.geoloc.ProjectionImpl proj, double startx, double dx, double starty, double dy, int nxRaw, int nyRaw, int[] nptsInLine)
-
-
Method Detail
-
getName
public String getName()
-
getStartX
public double getStartX()
-
getStartY
public double getStartY()
-
getEndX
public double getEndX()
-
getEndY
public double getEndY()
-
getScanMode
public int getScanMode()
-
isLatLon
public boolean isLatLon()
-
getCenterLatLon
public ucar.unidata.geoloc.LatLonPoint getCenterLatLon()
-
makeDescription
public String makeDescription()
-
makeId
public String makeId()
-
getProjectionBB
public ucar.unidata.geoloc.ProjectionRect getProjectionBB()
-
getLatLonBB
public ucar.unidata.geoloc.LatLonRect getLatLonBB()
-
setGaussianLats
public void setGaussianLats(int nparallels, float la1, float la2)
-
getGaussianLats
public ucar.ma2.Array getGaussianLats()
-
getGaussianWeights
public ucar.ma2.Array getGaussianWeights()
-
-