public abstract class GridDefRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANGLE
Angle
|
static java.lang.String |
BASICANGLE
BasicAngle
|
static boolean |
debug |
static java.lang.String |
DX
distance in X direction
|
static java.lang.String |
DY
distance in Y direction
|
static java.lang.String |
GDS_KEY
GDS key
|
static java.lang.String |
GRID_NAME
grid name
|
static java.lang.String |
GRID_SHAPE
GRID_SHAPE
|
static java.lang.String |
GRID_SHAPE_CODE
GRID_SHAPE_CODE
|
static java.lang.String |
GRID_TYPE
grid type
|
static java.lang.String |
GRID_UNITS
grid spacing units (DX, DY)
|
static java.lang.String |
J
J
|
static java.lang.String |
K
K
|
static java.lang.String |
LA1
La1
|
static java.lang.String |
LA2
La2
|
static java.lang.String |
LAD
LoD
|
static java.lang.String |
LAP
Lap
|
static java.lang.String |
LATIN
first lat
|
static java.lang.String |
LATIN1
first lat
|
static java.lang.String |
LATIN2
second lat
|
static java.lang.String |
LO1
Lo1
|
static java.lang.String |
LO2
Lo2
|
static java.lang.String |
LOP
Lop
|
static java.lang.String |
LOV
LoV
|
static java.lang.String |
M
M
|
static java.lang.String |
MAJOR_AXIS_EARTH
major axis of earth
|
static java.lang.String |
METHODNORM
MethodNorm
|
static java.lang.String |
MINOR_AXIS_EARTH
minor axis of earth
|
static java.lang.String |
MODEORDER
ModeOrder
|
static java.lang.String |
NP
Np
|
static java.lang.String |
NPPROJ
North pole PROJ
|
static java.lang.String |
NR
Nr
|
static java.lang.String |
NUMBERPARALLELS
NumberParallels
|
static java.lang.String |
NX
number of points in X direction (columns)
|
static java.lang.String |
NY
number of points in Y direction (rows)
|
static java.lang.String |
PLAT
pLat
|
static java.lang.String |
PLON
pLon
|
static java.lang.String |
PROJ
PROJ
|
static java.lang.String |
QUASI
Quasi
|
static java.lang.String |
RADIUS_SPHERICAL_EARTH
Radius of spherical earth
|
static java.lang.String |
RESOLUTION
resolution
|
static java.lang.String |
ROTATIONANGLE
RotationAngle
|
static java.lang.String |
SCANNING_MODE
Scanning mode for the data
|
static java.lang.String |
SPLAT
SpLat
|
static java.lang.String |
SPLON
SpLon
|
static java.lang.String |
STRETCHINGFACTOR
StretchingFactor
|
static int |
UNDEFINED
UNDEFINED int value
|
static java.lang.String |
VECTOR_COMPONENT_FLAG
resolution
|
static java.lang.String |
WIND_FLAG
Deprecated.
use Grib2Tables.VectorComponentFlag
|
static java.lang.String |
XO
Xo
|
static java.lang.String |
XP
Xp
|
static java.lang.String |
YO
Yo
|
static java.lang.String |
YP
Yp
|
Constructor and Description |
---|
GridDefRecord()
constructors.
|
GridDefRecord(java.lang.String paramsValues) |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String key,
double value)
adds a param and value.
|
void |
addParam(java.lang.String key,
java.lang.Double value)
adds a param and value.
|
void |
addParam(java.lang.String key,
float value)
adds a param and value.
|
void |
addParam(java.lang.String key,
int value)
adds a param and value.
|
void |
addParam(java.lang.String key,
java.lang.Integer value)
adds a param and value.
|
void |
addParam(java.lang.String key,
java.lang.String value)
adds a param and value.
|
static boolean |
compare(GridDefRecord local,
GridDefRecord other)
Compare GridDefRecords, the numerics will use closeEnough so values that
differ in 3 or 4th decimal places will return equal.
|
double |
getDouble(java.lang.String key) |
abstract java.lang.String |
getGroupName()
Get a short name for this GDSKey for the netCDF group.
|
int |
getInt(java.lang.String key) |
java.util.Set<java.lang.String> |
getKeys()
get the keySet
|
java.lang.String |
getParam(java.lang.String key)
gets a param and value.
|
double |
getParamDouble(java.lang.String key) |
int |
getParamInt(java.lang.String key) |
java.lang.String |
getParamsValues()
get the hcs as a String of params values
|
double |
readDouble(java.lang.String name)
Deprecated.
use getParamDouble(String key)
|
public static final boolean debug
public static final int UNDEFINED
public static final java.lang.String GDS_KEY
public static final java.lang.String WIND_FLAG
public static final java.lang.String NX
public static final java.lang.String NY
public static final java.lang.String DX
public static final java.lang.String DY
public static final java.lang.String RESOLUTION
public static final java.lang.String VECTOR_COMPONENT_FLAG
public static final java.lang.String LATIN
public static final java.lang.String LATIN1
public static final java.lang.String LATIN2
public static final java.lang.String LA1
public static final java.lang.String LO1
public static final java.lang.String LA2
public static final java.lang.String LO2
public static final java.lang.String LAD
public static final java.lang.String LOV
public static final java.lang.String LAP
public static final java.lang.String LOP
public static final java.lang.String PLAT
public static final java.lang.String PLON
public static final java.lang.String SPLAT
public static final java.lang.String SPLON
public static final java.lang.String ROTATIONANGLE
public static final java.lang.String STRETCHINGFACTOR
public static final java.lang.String ANGLE
public static final java.lang.String BASICANGLE
public static final java.lang.String XP
public static final java.lang.String YP
public static final java.lang.String XO
public static final java.lang.String YO
public static final java.lang.String NP
public static final java.lang.String NR
public static final java.lang.String J
public static final java.lang.String K
public static final java.lang.String M
public static final java.lang.String NUMBERPARALLELS
public static final java.lang.String METHODNORM
public static final java.lang.String MODEORDER
public static final java.lang.String PROJ
public static final java.lang.String NPPROJ
public static final java.lang.String GRID_TYPE
public static final java.lang.String GRID_NAME
public static final java.lang.String GRID_SHAPE_CODE
public static final java.lang.String GRID_SHAPE
public static final java.lang.String RADIUS_SPHERICAL_EARTH
public static final java.lang.String MAJOR_AXIS_EARTH
public static final java.lang.String MINOR_AXIS_EARTH
public static final java.lang.String QUASI
public static final java.lang.String GRID_UNITS
public static final java.lang.String SCANNING_MODE
public GridDefRecord()
public GridDefRecord(java.lang.String paramsValues)
public final void addParam(java.lang.String key, java.lang.String value)
key
- name of the paramvalue
- of the parampublic final void addParam(java.lang.String key, int value)
key
- name of the paramvalue
- of the parampublic final void addParam(java.lang.String key, java.lang.Integer value)
key
- name of the paramvalue
- of the parampublic final void addParam(java.lang.String key, float value)
key
- name of the paramvalue
- of the parampublic final void addParam(java.lang.String key, double value)
key
- name of the paramvalue
- of the parampublic final void addParam(java.lang.String key, java.lang.Double value)
key
- name of the paramvalue
- of the parampublic final java.lang.String getParam(java.lang.String key)
key
- name of the parampublic final int getParamInt(java.lang.String key)
public final int getInt(java.lang.String key)
public final double getParamDouble(java.lang.String key)
public final double getDouble(java.lang.String key)
public java.lang.String getParamsValues()
public abstract java.lang.String getGroupName()
public final java.util.Set<java.lang.String> getKeys()
public final double readDouble(java.lang.String name)
name
- param namepublic static boolean compare(GridDefRecord local, GridDefRecord other)