Page 1 of 1

arw2arl Error: Projection Error

Posted: February 22nd, 2016, 6:49 pm
by brownbagel
Hello,

Lately, I am trying to convert WRFout files into ARL using arw2arl compiled from source. The following error is prompted without an output.

Code: Select all

STOP 900
STOP 900
    while executing
"exec $exec_dir/arw2arl $data_file >STDOUT"
    (procedure "xtrct_data" line 32)
    invoked from within
"xtrct_data $gdir $gbase"
    invoked from within
".arwarch.bot.save invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
"tk::ButtonUp .arwarch.bot.save"
    (command bound to event)
As well, at the destination directory, two more files are created (WRFDATA.CFG, STDOUT) (changed to txt because php is sensitive to extensions)

I am wondering if changing Configurations can solve this problem? I am using polar stereographic projection.
Unfortunately, I am not allowed to post the wrfout file. pm might be an option.

Thanks & Bless,
M

Re: arw2arl Error: Projection Error

Posted: February 23rd, 2016, 11:13 am
by Fantine
The error message file (STDOUT.txt) indicates that the TRUELAT1 and TRUELAT2, that are read from wrfout netcdf global attributes, do not match. The WRF model actually ignores TRUELAT2 if polar projection is used (http://www2.mmm.ucar.edu/wrf/users/docs ... _chap3.htm) but both parameters will still be written to the file's netcdf global attributes. I put SAME values for TRUELAT1 and TRUELAT2 in the WPS's namelist.wps for polar projection.

Re: arw2arl Error: Projection Error

Posted: February 23rd, 2016, 4:52 pm
by brownbagel
That does it for me.

Changed TRUELAT2 into TRUELAT1 using nco, arw2arl works after that.

Thanks