Package ucar.nc2.grib.grib1
Class Grib1Gds
- java.lang.Object
-
- ucar.nc2.grib.grib1.Grib1Gds
-
- Direct Known Subclasses:
Grib1Gds.LambertConformal
,Grib1Gds.LatLon
,Grib1Gds.Mercator
,Grib1Gds.PolarStereographic
,Grib1Gds.SphericalHarmonicCoefficients
,Grib1Gds.UnknownGds
@Immutable public abstract class Grib1Gds extends Object
GRIB1 GDS - subclass for each type- 0 Latitude/longitude grid – equidistant cylindrical or Plate Carrée projection
- 1 Mercator projection
- 2 Gnomonic projection
- 3 Lambert conformal, secant or tangent, conic or bi-polar, projection
- 4 Gaussian latitude/longitude grid
- 5 Polar stereographic projection
- 6 Universal Transverse Mercator (UTM) projection
- 7 Simple polyconic projection
- 8 Albers equal-area, secant or tangent, conic or bi-polar, projection
- 9 Miller’s cylindrical projection
- 10 Rotated latitude/longitude grid
- 13 Oblique Lambert conformal, secant or tangent, conic or bi-polar, projection
- 14 Rotated Gaussian latitude/longitude grid
- 20 Stretched latitude/longitude grid
- 24 Stretched Gaussian latitude/longitude grid
- 30 Stretched and rotated latitude/longitude grids
- 34 Stretched and rotated Gaussian latitude/longitude grids
- 50 Spherical harmonic coefficients
- 60 Rotated spherical harmonic coefficients
- 70 Stretched spherical harmonics
- 80 Stretched and rotated spherical harmonic coefficients
- 90 Space view, perspective or orthographic
- Since:
- 9/3/11
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Grib1Gds.GaussianLatLon
static class
Grib1Gds.LambertConformal
static class
Grib1Gds.LatLon
static class
Grib1Gds.Mercator
static class
Grib1Gds.PolarStereographic
static class
Grib1Gds.RotatedLatLon
static class
Grib1Gds.SphericalHarmonicCoefficients
static class
Grib1Gds.UnknownGds
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
data
protected int
hashCode
protected int
lastOctet
protected int[]
nptsInLine
protected int
nx
protected int
ny
int
resolution
int
scanMode
int
template
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static Grib1Gds
factory(int template, byte[] data)
float
getDx()
abstract float
getDxRaw()
float
getDy()
abstract float
getDyRaw()
protected Earth
getEarth()
int
getEarthShape()
String
getNameShort()
int
getNpts()
int[]
getNptsInLine()
int
getNx()
int
getNxRaw()
int
getNy()
int
getNyRaw()
protected int
getOctet(int index)
protected int
getOctet2(int start)
protected int
getOctet3(int start)
protected int
getOctet4(int start)
byte[]
getRawBytes()
int
getResolution()
int
getScanMode()
boolean
getUVisReletiveToEastNorth()
int
hashCode()
boolean
isLatLon()
abstract GdsHorizCoordSys
makeHorizCoordSys()
abstract void
testHorizCoordSys(Formatter f)
String
toString()
-
-
-
Method Detail
-
factory
public static Grib1Gds factory(int template, byte[] data)
-
getRawBytes
public byte[] getRawBytes()
-
getNpts
public int getNpts()
-
getNptsInLine
public int[] getNptsInLine()
-
getOctet
protected int getOctet(int index)
-
getOctet2
protected int getOctet2(int start)
-
getOctet3
protected int getOctet3(int start)
-
getOctet4
protected int getOctet4(int start)
-
getEarth
protected Earth getEarth()
-
getEarthShape
public int getEarthShape()
-
getUVisReletiveToEastNorth
public boolean getUVisReletiveToEastNorth()
-
getResolution
public int getResolution()
-
isLatLon
public boolean isLatLon()
-
getScanMode
public int getScanMode()
-
getNxRaw
public int getNxRaw()
-
getNyRaw
public int getNyRaw()
-
getNx
public int getNx()
-
getNy
public int getNy()
-
getDx
public float getDx()
-
getDy
public float getDy()
-
getDxRaw
public abstract float getDxRaw()
-
getDyRaw
public abstract float getDyRaw()
-
makeHorizCoordSys
public abstract GdsHorizCoordSys makeHorizCoordSys()
-
testHorizCoordSys
public abstract void testHorizCoordSys(Formatter f)
-
getNameShort
public String getNameShort()
-
-