Package ucar.nc2.grib.grib2
Class Grib2Gds
- java.lang.Object
-
- ucar.nc2.grib.grib2.Grib2Gds
-
- Direct Known Subclasses:
GdsSpherical
,Grib2Gds.CurvilinearOrthogonal
,Grib2Gds.LambertConformal
,Grib2Gds.LatLon
,Grib2Gds.Mercator
,Grib2Gds.PolarStereographic
,Grib2Gds.SpaceViewPerspective
@Immutable public abstract class Grib2Gds extends Object
Template-specific fields for Grib2SectionGridDefinition LOOK hashCode not right, cant use approximate float compare- Since:
- 4/2/11
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Grib2Gds.AbstractRotatedLatLon
static class
Grib2Gds.AlbersEqualArea
static class
Grib2Gds.CurvilinearOrthogonal
static class
Grib2Gds.GaussLatLon
static class
Grib2Gds.LambertConformal
static class
Grib2Gds.LatLon
static class
Grib2Gds.Mercator
static class
Grib2Gds.PolarStereographic
static class
Grib2Gds.RotatedLatLon
static class
Grib2Gds.RotatedLatLon32769
static class
Grib2Gds.SpaceViewPerspective
-
Field Summary
Fields Modifier and Type Field Description int
center
protected byte[]
data
float
earthRadius
int
earthShape
protected int
hashCode
protected int
lastOctet
float
majorAxis
float
minorAxis
protected int[]
nptsInLine
protected 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 Grib2Gds
factory(int template, byte[] data)
protected void
finish()
protected Earth
getEarth()
String
getNameShort()
int[]
getNptsInLine()
int
getNx()
int
getNxRaw()
int
getNy()
int
getNyRaw()
protected int
getOctet(int index)
byte[]
getRawBytes()
int
getScanMode()
int
hashCode()
boolean
isLatLon()
boolean
isThin()
abstract GdsHorizCoordSys
makeHorizCoordSys()
void
setCenter(int center)
abstract void
testHorizCoordSys(Formatter f)
void
testScanMode(Formatter f)
-
-
-
Field Detail
-
data
protected final byte[] data
-
template
public int template
-
center
public int center
-
earthRadius
public float earthRadius
-
majorAxis
public float majorAxis
-
minorAxis
public float minorAxis
-
scanMode
protected int scanMode
-
earthShape
public int earthShape
-
nptsInLine
protected int[] nptsInLine
-
lastOctet
protected int lastOctet
-
hashCode
protected int hashCode
-
-
Method Detail
-
factory
public static Grib2Gds factory(int template, byte[] data)
-
finish
protected void finish()
-
makeHorizCoordSys
public abstract GdsHorizCoordSys makeHorizCoordSys()
-
testHorizCoordSys
public abstract void testHorizCoordSys(Formatter f)
-
testScanMode
public void testScanMode(Formatter f)
-
getNx
public int getNx()
-
getNy
public int getNy()
-
getNxRaw
public int getNxRaw()
-
getNyRaw
public int getNyRaw()
-
getNptsInLine
public int[] getNptsInLine()
-
getRawBytes
public byte[] getRawBytes()
-
getScanMode
public int getScanMode()
-
setCenter
public void setCenter(int center)
-
isLatLon
public boolean isLatLon()
-
getNameShort
public String getNameShort()
-
isThin
public boolean isThin()
-
getOctet
protected int getOctet(int index)
-
getEarth
protected Earth getEarth()
-
-