Class 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 Detail

      • Grib1Variable

        public Grib1Variable​(Grib1Customizer cust,
                             Grib1Record gr,
                             int gdsHashOverride,
                             boolean useTableVersion,
                             boolean intvMerge,
                             boolean useCenter)
        Used when processing the gbx9 files
        Parameters:
        cust - customizer
        gr - grib record
        gdsHashOverride - can override the gdsHash, 0 for no override
        useTableVersion - use pdss.getTableVersion(), default is false
        intvMerge - put all intervals together, default true
        useCenter - 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 - customizer
        pds - pds section
        gds - the group gds
        useTableVersion - use pdss.getTableVersion(), default is false
        intvMerge - put all intervals together, default true
        useCenter - 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • makeVariableName

        public String makeVariableName​(thredds.featurecollection.FeatureCollectionConfig.GribConfig gribConfig)