Class 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
    • Field Detail

      • data

        protected final byte[] data
      • nptsInLine

        protected int[] nptsInLine
      • template

        public final int template
      • nx

        protected int nx
      • ny

        protected int ny
      • scanMode

        public int scanMode
      • resolution

        public int resolution
      • lastOctet

        protected int lastOctet
      • hashCode

        protected int hashCode
    • Constructor Detail

      • Grib1Gds

        protected Grib1Gds​(int template)
      • Grib1Gds

        public Grib1Gds​(byte[] data,
                        int template)
    • 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()
      • testHorizCoordSys

        public abstract void testHorizCoordSys​(Formatter f)
      • getNameShort

        public String getNameShort()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object