Package ucar.nc2.grib.grib2
Class Grib2Parameter
- java.lang.Object
-
- ucar.nc2.grib.grib2.Grib2Parameter
-
- All Implemented Interfaces:
Comparable<Grib2Parameter>
,GribTables.Parameter
@Immutable public class Grib2Parameter extends Object implements GribTables.Parameter, Comparable<Grib2Parameter>
A Grib-2 parameter- Since:
- 1/9/12
-
-
Constructor Summary
Constructors Constructor Description Grib2Parameter(int discipline, int category, int number, String name, String unit, String abbrev, String desc)
Grib2Parameter(int discipline, int category, int number, String name, String unit, String abbrev, String desc, float fill, float missing)
Grib2Parameter(Grib2Parameter from, String name, String unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Grib2Parameter o)
String
getAbbrev()
int
getCategory()
Unsigned byteString
getDescription()
int
getDiscipline()
Unsigned byteFloat
getFill()
String
getId()
Unique across all Parameter tablesFloat
getMissing()
String
getName()
int
getNumber()
Unsigned byteString
getOperationalStatus()
String
getUnit()
String
toString()
-
-
-
Field Detail
-
discipline
public final int discipline
-
category
public final int category
-
number
public final int number
-
name
public final String name
-
unit
public final String unit
-
abbrev
public final String abbrev
-
desc
public final String desc
-
fill
public final Float fill
-
missing
public final Float missing
-
-
Constructor Detail
-
Grib2Parameter
public Grib2Parameter(int discipline, int category, int number, String name, String unit, String abbrev, String desc, float fill, float missing)
-
Grib2Parameter
public Grib2Parameter(int discipline, int category, int number, String name, String unit, String abbrev, String desc)
-
Grib2Parameter
public Grib2Parameter(Grib2Parameter from, String name, String unit)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:GribTables.Parameter
Unique across all Parameter tables- Specified by:
getId
in interfaceGribTables.Parameter
-
compareTo
public int compareTo(@Nonnull Grib2Parameter o)
- Specified by:
compareTo
in interfaceComparable<Grib2Parameter>
-
getDiscipline
public int getDiscipline()
Description copied from interface:GribTables.Parameter
Unsigned byte- Specified by:
getDiscipline
in interfaceGribTables.Parameter
-
getCategory
public int getCategory()
Description copied from interface:GribTables.Parameter
Unsigned byte- Specified by:
getCategory
in interfaceGribTables.Parameter
-
getNumber
public int getNumber()
Description copied from interface:GribTables.Parameter
Unsigned byte- Specified by:
getNumber
in interfaceGribTables.Parameter
-
getName
public String getName()
- Specified by:
getName
in interfaceGribTables.Parameter
-
getUnit
public String getUnit()
- Specified by:
getUnit
in interfaceGribTables.Parameter
-
getAbbrev
public String getAbbrev()
- Specified by:
getAbbrev
in interfaceGribTables.Parameter
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceGribTables.Parameter
-
getMissing
public Float getMissing()
- Specified by:
getMissing
in interfaceGribTables.Parameter
-
getOperationalStatus
public String getOperationalStatus()
- Specified by:
getOperationalStatus
in interfaceGribTables.Parameter
-
getFill
public Float getFill()
- Specified by:
getFill
in interfaceGribTables.Parameter
-
-