Class Grib2Variable


  • public class Grib2Variable
    extends Object
    Used to group records into a CDM variable Herein lies the semantics of variable object identity. Read it and weep.
    Since:
    12/28/2014
    • Constructor Detail

      • Grib2Variable

        public Grib2Variable​(Grib2Tables cust,
                             Grib2Record gr,
                             int gdsHashOverride,
                             boolean intvMerge,
                             boolean useGenType)
        Used when building from gbx9 (full records)
        Parameters:
        cust - customizer
        gr - the Grib record
        gdsHashOverride - can override the gdsHash, 0 for no override
        intvMerge - should intervals be merged? default true
        useGenType - should genProcessType be used in hash? default false
      • Grib2Variable

        public Grib2Variable​(Grib2Tables cust,
                             int discipline,
                             int center,
                             int subcenter,
                             Grib2Gds gds,
                             Grib2Pds pds,
                             boolean intvMerge,
                             boolean useGenType)
        Used when building from ncx (full records)
    • Method Detail

      • cdmVariableHash

        public static int cdmVariableHash​(Grib2Tables cust,
                                          Grib2Record gr,
                                          int gdsHashOverride,
                                          boolean intvMerge,
                                          boolean useGenType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object