visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java
public static String getGridPackingName(int pktyp) {
        String packingType = "UNKNOWN";
        switch (pktyp) {

          case GempakConstants.MDGNON :
              packingType = "MDGNON";
              break;

          case GempakConstants.MDGGRB :
              packingType = "MDGGRB";
              break;

          case GempakConstants.MDGNMC :
              packingType = "MDGNMC";
              break;

          case GempakConstants.MDGDIF :
              packingType = "MDGDIF";
              break;

          case GempakConstants.MDGDEC :
              packingType = "MDGDEC";
              break;

          case GempakConstants.MDGRB2 :
              packingType = "MDGRB2";
              break;

          default :
              break;
        }
        return packingType;
    }
public static String getGridPackingName(int pktyp) {
        String packingType = "UNKNOWN";
        switch (pktyp) {

          case GempakConstants.MDGNON :
              packingType = "MDGNON";
              break;

          case GempakConstants.MDGGRB :
              packingType = "MDGGRB";
              break;

          case GempakConstants.MDGNMC :
              packingType = "MDGNMC";
              break;

          case GempakConstants.MDGDIF :
              packingType = "MDGDIF";
              break;

          case GempakConstants.MDGDEC :
              packingType = "MDGDEC";
              break;

          case GempakConstants.MDGRB2 :
              packingType = "MDGRB2";
              break;

          default :
              break;
        }
        return packingType;
    }
public static String getGridPackingName ( int pktyp ) { String packingType = "UNKNOWN" ; switch ( pktyp ) { case GempakConstants . MDGNON : packingType = "MDGNON" ; break ; case GempakConstants . MDGGRB : packingType = "MDGGRB" ; break ; case GempakConstants . MDGNMC : packingType = "MDGNMC" ; break ; case GempakConstants . MDGDIF : packingType = "MDGDIF" ; break ; case GempakConstants . MDGDEC : packingType = "MDGDEC" ; break ; case GempakConstants . MDGRB2 : packingType = "MDGRB2" ; break ; default : break ; } return packingType ; }
Get a name for the grid packing type

@param pktyp   packing type

@return  String version of packing type
Get a name for the grid packing type