grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java
private void storeConcept(String tableVersion, String parameterNumber, String key, String value) {

        HashMap<String, HashMap<String, String>> tmpTable;
        if (localConcepts.containsKey(tableVersion)) {
            tmpTable = localConcepts.get(tableVersion);
            if (tmpTable.containsKey(parameterNumber)) {
              HashMap<String, String> tmpParam = tmpTable.get(parameterNumber);
                if (!tmpParam.containsKey(key)) {
                     tmpParam.put(key, value);
                } else {
                    System.out.println("already has key value pair: " + key + ":" + value);
                }
            } else {
                HashMap<String, String> tmpParam = new HashMap<>(4);
                tmpParam.put(key, value);
                tmpTable.put(parameterNumber, tmpParam);
            }
        } else {
            tmpTable = new HashMap<>();
            HashMap<String, String> tmpParam = new HashMap<>(4);
            tmpParam.put(key, value);
            tmpTable.put(parameterNumber, tmpParam);
        }
        localConcepts.put(tableVersion, tmpTable);
    }
private void storeConcept(String tableVersion, String parameterNumber, String key, String value) {

        HashMap<String, HashMap<String, String>> tmpTable;
        if (localConcepts.containsKey(tableVersion)) {
            tmpTable = localConcepts.get(tableVersion);
            if (tmpTable.containsKey(parameterNumber)) {
              HashMap<String, String> tmpParam = tmpTable.get(parameterNumber);
                if (!tmpParam.containsKey(key)) {
                     tmpParam.put(key, value);
                } else {
                    System.out.println("already has key value pair: " + key + ":" + value);
                }
            } else {
                HashMap<String, String> tmpParam = new HashMap<>(4);
                tmpParam.put(key, value);
                tmpTable.put(parameterNumber, tmpParam);
            }
        } else {
            tmpTable = new HashMap<>();
            HashMap<String, String> tmpParam = new HashMap<>(4);
            tmpParam.put(key, value);
            tmpTable.put(parameterNumber, tmpParam);
        }
        localConcepts.put(tableVersion, tmpTable);
    }
private void storeConcept ( String tableVersion , String parameterNumber , String key , String value ) { HashMap < String , HashMap < String , String > > tmpTable ; if ( localConcepts . containsKey ( tableVersion ) ) { tmpTable = localConcepts . get ( tableVersion ) ; if ( tmpTable . containsKey ( parameterNumber ) ) { HashMap < String , String > tmpParam = tmpTable . get ( parameterNumber ) ; if ( ! tmpParam . containsKey ( key ) ) { tmpParam . put ( key , value ) ; } else { System . out . println ( "already has key value pair: " + key + ":" + value ) ; } } else { HashMap < String , String > tmpParam = new HashMap <> ( 4 ) ; tmpParam . put ( key , value ) ; tmpTable . put ( parameterNumber , tmpParam ) ; } } else { tmpTable = new HashMap <> ( ) ; HashMap < String , String > tmpParam = new HashMap <> ( 4 ) ; tmpParam . put ( key , value ) ; tmpTable . put ( parameterNumber , tmpParam ) ; } localConcepts . put ( tableVersion , tmpTable ) ; }
Store localConcept information in super HashMap localConcepts

@param tableVersion  - version of the table to add parameter to
@param parameterNumber  - parameter number
@param key Type of metadata to be added (shortName, Description, Units)
@param value Value of metadata
Store localConcept information in super HashMap localConcepts