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
-
-
Field Summary
Fields Modifier and Type Field Description double
dx
double
dy
int
gdsNumberPoints
int[]
nptsInLine
int
nx
int
nxRaw
int
ny
int
nyRaw
ProjectionImpl
proj
int
scanMode
double
startx
double
starty
int
template
-
Constructor Summary
Constructors Constructor Description GdsHorizCoordSys(String name, int template, int gdsNumberPoints, int scanMode, 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 LatLonPoint
getCenterLatLon()
double
getEndX()
double
getEndY()
Array
getGaussianLats()
Array
getGaussianWeights()
LatLonRect
getLatLonBB()
String
getName()
ProjectionRect
getProjectionBB()
int
getScanMode()
double
getStartX()
double
getStartY()
boolean
isLatLon()
String
makeDescription()
String
makeId()
void
setGaussianLats(int nparallels, float la1, float la2)
String
toString()
-
-
-
Field Detail
-
template
public final int template
-
gdsNumberPoints
public final int gdsNumberPoints
-
scanMode
public final int scanMode
-
proj
public final 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, 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 LatLonPoint getCenterLatLon()
-
makeDescription
public String makeDescription()
-
makeId
public String makeId()
-
getProjectionBB
public ProjectionRect getProjectionBB()
-
getLatLonBB
public LatLonRect getLatLonBB()
-
setGaussianLats
public void setGaussianLats(int nparallels, float la1, float la2)
-
getGaussianLats
public Array getGaussianLats()
-
getGaussianWeights
public Array getGaussianWeights()
-
-