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 classGrib1Gds.GaussianLatLonstatic classGrib1Gds.LambertConformalstatic classGrib1Gds.LatLonstatic classGrib1Gds.Mercatorstatic classGrib1Gds.PolarStereographicstatic classGrib1Gds.RotatedLatLonstatic classGrib1Gds.SphericalHarmonicCoefficientsstatic classGrib1Gds.UnknownGds
-
Field Summary
Fields Modifier and Type Field Description protected byte[]dataprotected inthashCodeprotected intlastOctetprotected int[]nptsInLineprotected intnxprotected intnyintresolutionintscanModeinttemplate
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Grib1Gdsfactory(int template, byte[] data)floatgetDx()abstract floatgetDxRaw()floatgetDy()abstract floatgetDyRaw()protected ucar.unidata.geoloc.EarthgetEarth()intgetEarthShape()StringgetNameShort()intgetNpts()int[]getNptsInLine()intgetNx()intgetNxRaw()intgetNy()intgetNyRaw()protected intgetOctet(int index)protected intgetOctet2(int start)protected intgetOctet3(int start)protected intgetOctet4(int start)byte[]getRawBytes()intgetResolution()intgetScanMode()booleangetUVisReletiveToEastNorth()inthashCode()booleanisLatLon()abstract GdsHorizCoordSysmakeHorizCoordSys()abstract voidtestHorizCoordSys(Formatter f)StringtoString()
-
-
-
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 ucar.unidata.geoloc.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()
-
-