Creating new parameter to grib1 for local center

Hi,

I have variable of fog deposition from WRF output which I can convert it to grib1 file using cdo and eccodes. However the parameter id shows as pressure or any other variables. I to define paramiD.def as the following:

if (table2Version == 2) {
if (indicatorOfParameter == 128) {
shortName = “dfgdp”;
paramId = 128;
name = “Fog deposition”;
units = “mm”;
}

add more here for centre 10

}

and then these commands

GRIB_DEFINITION_PATH=/home/new/defs:/home/new/LIBS/eccodes/share/eccodes/definitions grib_set -s table2Version=2,indicatorOfParameter=128,centre=10 out.grib1 out2.grib

and this is what I get:

GRIB_DEFINITION_PATH=/home/new/defs:/home/new/LIBS/eccodes/share/eccodes/definitions grib_ls out2.grib
out2.grib
edition centre typeOfLevel level dataDate stepRange shortName packingType gridType
1 10 isobaricInhPa 500 20060316 0 unknown grid_simple regular_ll

Thank you in advance