Page 1 of 4

Caos in ems_post

Posted: Mon Nov 18, 2013 11:57 am
by Giancarlo Modugno
Good morning

I have this bug: from a certain time onwards all the maps, plotted with grads, show this "caos"

https://www.dropbox.com/s/chxvy5wp6wtgiqb/CAPE_34_1.gif

The simulation runs for 132 hours. In this case the error starts from the 34th hours BUT after i modified the $EMS/runs/<domain>/conf/ems_post/post_grib.conf (last 2 lines,
from
GRIBNAME = YYMMDDHHMN_CORE_dWD.grb#fFXFMFS
AUXGRIBNAME = YYMMDDHHMN_KEY_CORE_dWD.grb#fFXFMFS
to
GRIBNAME = YYMMDDHHMN_CORE_dWD.grb#fFHFMFS
AUXGRIBNAME = YYMMDDHHMN_KEY_CORE_dWD.grb#fFHFMFS
) and the previous error started in another hour and the grads/ctl file started from 32 hours than the initial time.

Thus, I think there will be another configuration variable to change, but... what?

Thank you so much

Re: Caos in ems_post

Posted: Mon Nov 18, 2013 6:25 pm
by dominic
But quesit are ECMWF data, please enter your script grads

Re: Caos in ems_post

Posted: Mon Nov 18, 2013 8:27 pm
by meteoadriatic
Your grib file is exceeds 2GB in size.

You need to adapt some perl files to enable big grib files handling correctly in grads.

File:
wrfems/strc/ems_post/post_grads.pm

Find line that says:
system "$gribmap -q -E -i gradsfil.ctl -> /dev/null";
(or something like that)

Change into:
system "$gribmap -q -E -big -i gradsfil.ctl -> /dev/null";

This line is in two places inside file, change both locations. I hope this is enough, if it is not, then you will need to replace gribmap binary with newer one, but first try only this step.

That will correct "mess" you see after 34th hour.

Re: Caos in ems_post

Posted: Tue Nov 19, 2013 9:07 am
by Giancarlo Modugno
I have tried but I have the same error.

What about the gribmap binary file?

Re: Caos in ems_post

Posted: Tue Nov 19, 2013 10:00 am
by meteoadriatic
Download opengrads, extract it, and inside it you will find newer gribmap file. Then, find out where your gribmap is (command "which gribmap"), and then replace that with version from opengrads.

Re: Caos in ems_post

Posted: Wed Nov 20, 2013 8:38 am
by Giancarlo Modugno
thank you but nothing, I have another error and the grads can't open correctly the file
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Open Error: Can't open Station/Index map file 201311200000_arw_wrfout_d02.idx

Re: Caos in ems_post

Posted: Wed Nov 20, 2013 8:20 pm
by meteoadriatic
OK, please try also to replace g2ctl script with version from opengrads.

Re: Caos in ems_post

Posted: Wed Nov 20, 2013 11:20 pm
by Giancarlo Modugno
can you explain what is g2ctl, please?

Re: Caos in ems_post

Posted: Thu Nov 21, 2013 7:34 am
by meteoadriatic
It is script that creates .ctl file from grib.

Type command: "which g2ctl" to find out where it is on your environment. Then find one provided in opengrads package and replace with it.

Re: Caos in ems_post

Posted: Thu Nov 21, 2013 10:18 am
by Giancarlo Modugno
I think this is strange but I haven't it both in the environment and in the opengrads package :!: