Package ucar.nc2.grib.grib1
Class Grib1Variable
- java.lang.Object
-
- ucar.nc2.grib.grib1.Grib1Variable
-
public class Grib1Variable extends Object
Used to group records into a CDM variable Herein lies the semantics of a variable object identity. Read it and weep.- Since:
- 12/28/2014
-
-
Constructor Summary
Constructors Constructor Description Grib1Variable(Grib1Customizer cust, Grib1Record gr, int gdsHashOverride, boolean useTableVersion, boolean intvMerge, boolean useCenter)
Used when processing the gbx9 filesGrib1Variable(Grib1Customizer cust, Grib1SectionProductDefinition pds, Grib1Gds gds, boolean useTableVersion, boolean intvMerge, boolean useCenter)
Used when processing the ncx files
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
cdmVariableHash(Grib1Customizer cust, Grib1Record gr, int gdsHashOverride, boolean useTableVersion, boolean intvMerge, boolean useCenter)
boolean
equals(Object o)
int
hashCode()
String
makeVariableName(FeatureCollectionConfig.GribConfig gribConfig)
-
-
-
Constructor Detail
-
Grib1Variable
public Grib1Variable(Grib1Customizer cust, Grib1Record gr, int gdsHashOverride, boolean useTableVersion, boolean intvMerge, boolean useCenter)
Used when processing the gbx9 files- Parameters:
cust
- customizergr
- grib recordgdsHashOverride
- can override the gdsHash, 0 for no overrideuseTableVersion
- use pdss.getTableVersion(), default is falseintvMerge
- put all intervals together, default trueuseCenter
- use center id when param no > 127, default is false
-
Grib1Variable
public Grib1Variable(Grib1Customizer cust, Grib1SectionProductDefinition pds, Grib1Gds gds, boolean useTableVersion, boolean intvMerge, boolean useCenter)
Used when processing the ncx files- Parameters:
cust
- customizerpds
- pds sectiongds
- the group gdsuseTableVersion
- use pdss.getTableVersion(), default is falseintvMerge
- put all intervals together, default trueuseCenter
- use center id when param no > 127, default is false
-
-
Method Detail
-
cdmVariableHash
public static int cdmVariableHash(Grib1Customizer cust, Grib1Record gr, int gdsHashOverride, boolean useTableVersion, boolean intvMerge, boolean useCenter)
-
makeVariableName
public String makeVariableName(FeatureCollectionConfig.GribConfig gribConfig)
-
-