Caos in ems_post

Forum dedicated to older versions of EMS package (WRFEMS v3.2, v3.1 or older). Support is user-to-user based, so please help others if you can.
Giancarlo Modugno
Posts: 59
Joined: Tue Jun 05, 2012 5:25 pm

Caos in ems_post

Post by Giancarlo Modugno » Mon Nov 18, 2013 11:57 am

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

dominic
Posts: 312
Joined: Thu Jun 14, 2012 7:19 am

Re: Caos in ems_post

Post by dominic » Mon Nov 18, 2013 6:25 pm

But quesit are ECMWF data, please enter your script grads

meteoadriatic
Posts: 1512
Joined: Wed Aug 19, 2009 10:05 am

Re: Caos in ems_post

Post by meteoadriatic » Mon Nov 18, 2013 8:27 pm

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.

Giancarlo Modugno
Posts: 59
Joined: Tue Jun 05, 2012 5:25 pm

Re: Caos in ems_post

Post by Giancarlo Modugno » Tue Nov 19, 2013 9:07 am

I have tried but I have the same error.

What about the gribmap binary file?

meteoadriatic
Posts: 1512
Joined: Wed Aug 19, 2009 10:05 am

Re: Caos in ems_post

Post by meteoadriatic » Tue Nov 19, 2013 10:00 am

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.

Giancarlo Modugno
Posts: 59
Joined: Tue Jun 05, 2012 5:25 pm

Re: Caos in ems_post

Post by Giancarlo Modugno » Wed Nov 20, 2013 8:38 am

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

meteoadriatic
Posts: 1512
Joined: Wed Aug 19, 2009 10:05 am

Re: Caos in ems_post

Post by meteoadriatic » Wed Nov 20, 2013 8:20 pm

OK, please try also to replace g2ctl script with version from opengrads.

Giancarlo Modugno
Posts: 59
Joined: Tue Jun 05, 2012 5:25 pm

Re: Caos in ems_post

Post by Giancarlo Modugno » Wed Nov 20, 2013 11:20 pm

can you explain what is g2ctl, please?

meteoadriatic
Posts: 1512
Joined: Wed Aug 19, 2009 10:05 am

Re: Caos in ems_post

Post by meteoadriatic » Thu Nov 21, 2013 7:34 am

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.

Giancarlo Modugno
Posts: 59
Joined: Tue Jun 05, 2012 5:25 pm

Re: Caos in ems_post

Post by Giancarlo Modugno » Thu Nov 21, 2013 10:18 am

I think this is strange but I haven't it both in the environment and in the opengrads package :!:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest