Unknown GRIB2 index version number 3

Questions and other topics related to UEMS 15.
emsiwx
Posts: 85
Joined: Sun Aug 12, 2012 11:07 am

Unknown GRIB2 index version number 3

Post by emsiwx » Tue Nov 24, 2015 11:06 am

Hello,

today I made my first test run with the new UEMS, postprocessed as before, but when I run Opengrads I get the following error:

Unknown GRIB2 index version number 3

Any ideas please?

Thank you.

EmsiWx

NoNickName
Posts: 39
Joined: Thu Jan 06, 2011 9:10 pm

Re: Unknown GRIB2 index version number 3

Post by NoNickName » Tue Nov 24, 2015 12:36 pm

try: gribmap -v -i yourfile.ctl

emsiwx
Posts: 85
Joined: Sun Aug 12, 2012 11:07 am

Re: Unknown GRIB2 index version number 3

Post by emsiwx » Tue Nov 24, 2015 12:53 pm

Thank you, this works, but I would like to create idx automatically as before with ems_post ....

Possible to modify the post process script?

Thank you.

EmsiWx

NoNickName
Posts: 39
Joined: Thu Jan 06, 2011 9:10 pm

Re: Unknown GRIB2 index version number 3

Post by NoNickName » Tue Nov 24, 2015 3:23 pm

emsiwx wrote:Thank you, this works, but I would like to create idx automatically as before with ems_post ....

Possible to modify the post process script?

Thank you.

EmsiWx
Yes, you can. Or create a shell script on purpose.

emsiwx
Posts: 85
Joined: Sun Aug 12, 2012 11:07 am

Re: Unknown GRIB2 index version number 3

Post by emsiwx » Tue Nov 24, 2015 11:08 pm

Thank you,

anyway I would like to know, what is behind this error, did something change?

And also where (which line) of the ems_post script to edit....

Thank you.

EmsiWx

NoNickName
Posts: 39
Joined: Thu Jan 06, 2011 9:10 pm

Re: Unknown GRIB2 index version number 3

Post by NoNickName » Wed Nov 25, 2015 1:05 pm

emsiwx wrote:Thank you,

anyway I would like to know, what is behind this error, did something change?

And also where (which line) of the ems_post script to edit....

Thank you.

EmsiWx
I don't remember where it is, surely in the uems directory somewhere down the tree.
You just add the extra line "gribmap -v -i yourfile.ctl" at the bottom of ems_post

ZHB
Posts: 27
Joined: Wed May 30, 2012 10:49 am

Re: Unknown GRIB2 index version number 3

Post by ZHB » Thu Nov 26, 2015 11:15 am

Hello,

Open file $UEMS/strc/EMSpost/Ograds.pm and replace line 262

Code: Select all

my $rc = &Esystem::emsExec("$gribmap -big -q -E -i $gradsfil.ctl > $gradslog 2>&1");
with

Code: Select all

my $rc = &Esystem::emsExec("$gribmap -big -q -E -v -i $gradsfil.ctl > $gradslog 2>&1");

Or maybe you can copy original gribmap file that comes with UEMS (in grads directory) and replace the one taht comes with OpenGrads ?

emsiwx
Posts: 85
Joined: Sun Aug 12, 2012 11:07 am

Re: Unknown GRIB2 index version number 3

Post by emsiwx » Thu Nov 26, 2015 6:48 pm

Thank you ZHB, but modifying the perl script did not help...

Marian

ZHB
Posts: 27
Joined: Wed May 30, 2012 10:49 am

Re: Unknown GRIB2 index version number 3

Post by ZHB » Fri Nov 27, 2015 10:14 am

Ok, I had the same problem as yours with index version number, then I changed as I said and all is working fine. Maybe you changed the wrong line, I saw there is two lines like the one I changed in the file.

weatherc
Posts: 64
Joined: Tue Sep 25, 2012 2:39 am

Re: Unknown GRIB2 index version number 3

Post by weatherc » Fri Nov 27, 2015 3:29 pm

I use the UEMS-generated Grads-files and the Grads-executable in UEMS instead of the OpenGrads one, works great :)

Post Reply