Project

General

Profile

Why I am getting "gribapiEncode" when I am spliting my merged data and putting variable name unknown?

Added by jyoti lodha over 6 years ago

cdo -f grb2 -splitsel,1 -seltimestep,1/16 /ankit/Mergeall.grb2 /ankit/sp
cdo splitsel: Started child process "seltimestep,1/16 /ankit/Mergeall.grb2 (pipe1.1)".
gribapiEncode : * GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var1").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var2").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var11").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var52").
gribapiEncode :
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var34").
gribapiEncode : *
GRIB2 shortName does not correspond to chosen variable name: "unknown" ("var33").
cdo(2) seltimestep: Processed 17832960 values from 10 variables over 16 timesteps [8.15s]
cdo splitsel: Processed 17832960 values from 10 variables over 16 timesteps [8.15s 30MB]

What is the mistake? Why I am getting this type of issue . Help me to solve this issue as the unknown variables is causing issue in running Metgrid.exe file in WRF, As it is taking all variables name as Unknown.

Thanking you

Cdo version is

Filetypes: srv ext ieg grb1 grb2 nc1 nc2 nc4 nc4c nc5
CDI library version : 1.9.3 of Feb 14 2018 17:29:20
CGRIBEX library version : 1.9.0 of Jan 22 2018 09:24:03
GRIB_API library version : 2.7.0
NetCDF library version : 4.4.1.1 of Nov 8 2017 13:32:10 $
HDF5 library version : 1.10.1 threadsafe
EXSE library version : 1.4.0 of Feb 14 2018 17:29:14
FILE library version : 1.8.3 of Feb 14 2018 17:29:12

Mergeall.grb2 (34.4 MB) Mergeall.grb2 merged file

Replies (4)

RE: Why I am getting "gribapiEncode" when I am spliting my merged data and putting variable name unknown? - Added by Uwe Schulzweida over 6 years ago

The variable names respectively the parameter IDs in the output are exactly the same as in the input file.
The messages only indicate that the input "variable names" are not available in the GRIB2 shortNames table.
The main reason for this is that the input parameter are GRIB1 and not GRIB2 IDs.

RE: Why I am getting "gribapiEncode" when I am spliting my merged data and putting variable name unknown? - Added by jyoti lodha over 6 years ago

Hi
Thanks a lot. But I have one more issues, when I have converted my data .nc to .grib file, it is chaning its levels of pressures like values of .nc is (plev : 100000 to 51000 Pa), for grib is (plev : 6500000 to 246400), Why is it so, as I want same levels.

me@59627c3f7cbf:~$ cdo sinfon /ankit/del_ps.nc (original file)
File format : NetCDF2
-1 : Institut Source T Steptype Levels Num Points Num Dtype : Parameter name
1 : unknown GFDL-ESM2M v instant 24 1 12960 1 F32 : va
Grid coordinates :
1 : lonlat : points=12960 (144x90)
lon : 1.25 to 358.75 by 2.5 degrees_east circular
lat : -89.49438 to 89.49438 degrees_north
available : cellbounds
Vertical coordinates :
1 : pressure : levels=24
plev : 100000 to 51000 Pa
Time coordinate : 16 steps
RefTime = 1861-01-01 00:00:00 Units = days Calendar = 365_day
YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss
2002-02-01 00:00:00 2002-02-01 06:00:00 2002-02-01 12:00:00 2002-02-01 18:00:00
2002-02-02 00:00:00 2002-02-02 06:00:00 2002-02-02 12:00:00 2002-02-02 18:00:00
2002-02-03 00:00:00 2002-02-03 06:00:00 2002-02-03 12:00:00 2002-02-03 18:00:00
2002-02-04 00:00:00 2002-02-04 06:00:00 2002-02-04 12:00:00 2002-02-04 18:00:00
cdo sinfon: Processed 1 variable over 16 timesteps [0.01s 17MB]

Converted to grib by

cdo -b 16 -f grb -setltype,100 -chparam,-1,34 /ankit/del_ps.nc /ankit/test.grb

cdo sinfon /ankit/test.grb

File format : GRIB
-1 : Institut Source T Steptype Levels Num Points Num Dtype : Parameter name
1 : unknown unknown v instant 24 1 12960 1 P16 : var34
Grid coordinates :
1 : lonlat : points=12960 (144x90)
lon : 1.25 to 358.75 by 2.5 degrees_east circular
lat : -89.494 to 89.494 by 2.011101 degrees_north
Vertical coordinates :
1 : pressure : levels=24
plev : 6500000 to 246400
Time coordinate : unlimited steps
RefTime = 1861-01-01 00:00:00 Units = days Calendar = proleptic_gregorian
YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss YYYY-MM-DD hh:mm:ss
2002-02-01 00:00:00 2002-02-01 06:00:00 2002-02-01 12:00:00 2002-02-01 18:00:00
2002-02-02 00:00:00 2002-02-02 06:00:00 2002-02-02 12:00:00 2002-02-02 18:00:00
2002-02-03 00:00:00 2002-02-03 06:00:00 2002-02-03 12:00:00 2002-02-03 18:00:00
2002-02-04 00:00:00 2002-02-04 06:00:00 2002-02-04 12:00:00 2002-02-04 18:00:00
cdo sinfon: Processed 1 variable over 16 timesteps [0.03s 13MB]

Why my pressure levels are different in grib file, as I want the same levels of my input for further processing. But when I used to convert it into grib2 it is giving me same levels, but this cannot be used futher as you said in above comments for merging as it is only work for grib file not grib2. So how to solve it. Please find a solution for me.

Thanks a lot.
Waiting for a positive response.

del_ps.nc (19 MB) del_ps.nc .nc file
test.grb (9.52 MB) test.grb .grb file

RE: Why I am getting "gribapiEncode" when I am spliting my merged data and putting variable name unknown? - Added by Uwe Schulzweida over 6 years ago

This is the result of an overflow. GRIB1 level type 100 means pressure level in hPa. With "-setltype,100" you change the units of the levels from Pa to hPa without converting the levels. Try it without "-setltype,100" then it works.

RE: Why I am getting "gribapiEncode" when I am spliting my merged data and putting variable name unknown? - Added by jyoti lodha over 6 years ago

Hi
Thanks a lot, It solved my problem, Is there any way to divide the pressure levels by any constant value in cdo? I tried using (divc) command but is doesn't work. If it can be done in CDO please let me know the command.

Thanks a lot

    (1-4/4)