clcommon/src/main/java/ucar/nc2/iosp/gini/Giniheader.java
String gini_GetPhysElemID(int phys_elem, int ent_id) {
    String name;
    switch (phys_elem) {
      case 1:
        name = "VIS";
        break;
      case 3:
        name = "IR_WV";
        break;
      case 2:
      case 4:
      case 5:
      case 6:
      case 7:
        name = "IR";
        break;
      case 13:
        name = "LI";
        break;
      case 14:
        name = "PW";
        break;
      case 15:
        name = "SFC_T";
        break;
      case 16:
        name = "LI";
        break;
      case 17:
        name = "PW";
        break;
      case 18:
        name = "SFC_T";
        break;
      case 19:
        name = "CAPE";
        break;
      case 20:
        name = "T";
        break;
      case 21:
        name = "WINDEX";
        break;
      case 22:
        name = "DMPI";
        break;
      case 23:
        name = "MDPI";
        break;
      case 25:
        if (ent_id == 99)
          name = "HHC";
        else
          name = "Volcano_imagery";
        break;
      case 26:
        name = "EchoTops";
        break;
      case 27:
        if (ent_id == 99)
          name = "Reflectivity";
        else
          name = "CTP";
        break;
      case 28:
        if (ent_id == 99)
          name = "Reflectivity";
        else
          name = "Cloud_Amount";
        break;
      case 29:
        name = "VIL";
        break;
      case 30:
      case 31:
        name = "Precipitation";
        break;
      case 40:
      case 41:
      case 42:
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
      case 58:
        name = "sounder_imagery";
        break;
      case 59:
        name = "VIS_sounder";
        break;
      default:
        name = "Unknown";
    }

    return name;
  }
String gini_GetPhysElemID(int phys_elem, int ent_id) {
    String name;
    switch (phys_elem) {
      case 1:
        name = "VIS";
        break;
      case 3:
        name = "IR_WV";
        break;
      case 2:
      case 4:
      case 5:
      case 6:
      case 7:
        name = "IR";
        break;
      case 13:
        name = "LI";
        break;
      case 14:
        name = "PW";
        break;
      case 15:
        name = "SFC_T";
        break;
      case 16:
        name = "LI";
        break;
      case 17:
        name = "PW";
        break;
      case 18:
        name = "SFC_T";
        break;
      case 19:
        name = "CAPE";
        break;
      case 20:
        name = "T";
        break;
      case 21:
        name = "WINDEX";
        break;
      case 22:
        name = "DMPI";
        break;
      case 23:
        name = "MDPI";
        break;
      case 25:
        if (ent_id == 99)
          name = "HHC";
        else
          name = "Volcano_imagery";
        break;
      case 26:
        name = "EchoTops";
        break;
      case 27:
        if (ent_id == 99)
          name = "Reflectivity";
        else
          name = "CTP";
        break;
      case 28:
        if (ent_id == 99)
          name = "Reflectivity";
        else
          name = "Cloud_Amount";
        break;
      case 29:
        name = "VIL";
        break;
      case 30:
      case 31:
        name = "Precipitation";
        break;
      case 40:
      case 41:
      case 42:
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
      case 58:
        name = "sounder_imagery";
        break;
      case 59:
        name = "VIS_sounder";
        break;
      default:
        name = "Unknown";
    }

    return name;
  }
String gini_GetPhysElemID ( int phys_elem , int ent_id ) { String name ; switch ( phys_elem ) { case 1 : name = "VIS" ; break ; case 3 : name = "IR_WV" ; break ; case 2 : case 4 : case 5 : case 6 : case 7 : name = "IR" ; break ; case 13 : name = "LI" ; break ; case 14 : name = "PW" ; break ; case 15 : name = "SFC_T" ; break ; case 16 : name = "LI" ; break ; case 17 : name = "PW" ; break ; case 18 : name = "SFC_T" ; break ; case 19 : name = "CAPE" ; break ; case 20 : name = "T" ; break ; case 21 : name = "WINDEX" ; break ; case 22 : name = "DMPI" ; break ; case 23 : name = "MDPI" ; break ; case 25 : if ( ent_id == 99 ) name = "HHC" ; else name = "Volcano_imagery" ; break ; case 26 : name = "EchoTops" ; break ; case 27 : if ( ent_id == 99 ) name = "Reflectivity" ; else name = "CTP" ; break ; case 28 : if ( ent_id == 99 ) name = "Reflectivity" ; else name = "Cloud_Amount" ; break ; case 29 : name = "VIL" ; break ; case 30 : case 31 : name = "Precipitation" ; break ; case 40 : case 41 : case 42 : case 43 : case 44 : case 45 : case 46 : case 47 : case 48 : case 49 : case 50 : case 51 : case 52 : case 53 : case 54 : case 55 : case 56 : case 57 : case 58 : name = "sounder_imagery" ; break ; case 59 : name = "VIS_sounder" ; break ; default : name = "Unknown" ; } return name ; }
Return the channel ID for the GINI image file
Return the channel ID for the GINI image file