public class Grib1ParamTableReader
extends java.lang.Object
Constructor and Description |
---|
Grib1ParamTableReader(java.lang.String path)
Read a dataset-specific table from a file
|
Modifier and Type | Method and Description |
---|---|
int |
getCenter_id() |
java.lang.String |
getDesc() |
int |
getKey() |
Grib1Parameter |
getLocalParameter(int id)
Get the parameter with id, but dont look in default table.
|
java.lang.String |
getName() |
Grib1Parameter |
getParameter(int id)
Get the parameter with id.
|
java.util.Map<java.lang.Integer,Grib1Parameter> |
getParameters() |
java.lang.String |
getPath() |
int |
getSubcenter_id() |
int |
getVersion() |
void |
setParameters(java.util.Map<java.lang.Integer,Grib1Parameter> params) |
java.lang.String |
toString() |
boolean |
useParamName() |
public Grib1ParamTableReader(java.lang.String path)
path
- read from this path, may be relativepublic int getCenter_id()
public int getSubcenter_id()
public int getVersion()
public java.lang.String getName()
public java.lang.String getDesc()
public boolean useParamName()
public int getKey()
public java.lang.String getPath()
public java.util.Map<java.lang.Integer,Grib1Parameter> getParameters()
public void setParameters(java.util.Map<java.lang.Integer,Grib1Parameter> params)
public Grib1Parameter getParameter(int id)
id
- the parameter numberpublic Grib1Parameter getLocalParameter(int id)
id
- the parameter numberpublic java.lang.String toString()
toString
in class java.lang.Object