<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p> </p>
<div class="moz-text-html" lang="x-unicode">
<p>Hello <br>
<br>
I have running WRF/UEMS on Ubuntu 20.04 LTS and a Problem with
GrADS.<br>
If i try to print a png Image, i become this Error:<br>
<br>
Segmentation fault (core dumped) <br>
<br>
Here is the q config and the q gxconfig: <br>
<br>
Configured on 09/05/17 for x86_64-unknown-linux-gnu<br>
<br>
This build of GrADS has the following features:<br>
-+- Byte order is LITTLE ENDIAN <br>
-+- Athena Widget GUI DISABLED <br>
-+- Command line editing ENABLED <br>
-+- GRIB2 interface ENABLED g2clib-1.6.0 <br>
-+- NetCDF interface ENABLED netcdf-4.3.3 <br>
-+- OPeNDAP gridded data interface ENABLED<br>
-+- OPeNDAP station data interface ENABLED gadap 2.1 <br>
-+- HDF4 interface ENABLED hdf-4.2r3 <br>
-+- HDF5 interface ENABLED hdf5-1.8.11 <br>
-+- KML contour output ENABLED<br>
-+- GeoTIFF and KML/TIFF output ENABLED<br>
-+- Shapefile interface ENABLED<br>
The 'q gxconfig' command returns Graphics configuration
information</p>
<p>Running in Batch mode<br>
-+- GX Display "Cairo"
/home/uwbe/uems/util/grads/lib/libgxdCairo.so X11.0
cairo-1.14.10 <br>
-+- GX Print "Cairo"
/home/uwbe/uems/util/grads/lib/libgxpCairo.so cairo-1.14.10 <br>
</p>
<p>==================================================================================</p>
<p><b>My Script: </b><br>
function main(args)<br>
<br>
'reinit'<br>
<br>
domain=subwrd(args,1)<br>
openfile=subwrd(args,2)<br>
hours=subwrd(args,3)<br>
<br>
if (domain = 'italy_4km') ; dom="it4km" ; endif<br>
if (domain = 'switzerland_4km') ; dom="ch4km" ; endif<br>
<br>
file='/home/uwbe/uems/runs/'domain'/emsprd/grads/'openfile'_wrfout_arw_d01.ctl'<br>
<br>
'open 'file<br>
<br>
i = 1<br>
while (i < hours)<br>
say 'i = 'i<br>
if (domain = 'it4km')<br>
'set lon -5.5 19.5'<br>
'set lat 35 56'<br>
endif<br>
if (domain = 'ch4km')<br>
'set lon 6 11'<br>
'set lat 45 48.5'<br>
endif<br>
'set mpdset hires'<br>
'set map 1 1 7'<br>
'set t 'i<br>
'q time'<br>
if (i = 1)<br>
runwrd=subwrd(result,3)<br>
cyc=substr(runwrd,1,2)<br>
say 'cyc = 'cyc<br>
rundate=substr(runwrd,4,2)<br>
runmo=substr(runwrd,6,3)<br>
runyear=substr(runwrd,9,4)<br>
'q files'<br>
runlin=sublin(result,1)<br>
say 'runlin = 'runlin<br>
runwrd=subwrd(runlin,4)<br>
runfile=substr(runwrd,1,10)<br>
endif<br>
'q time'<br>
fwrd=subwrd(result,3)<br>
fhr=substr(fwrd,1,2)<br>
fdate=substr(fwrd,4,2)<br>
fmo=substr(fwrd,6,3)<br>
fyear=substr(fwrd,9,4)<br>
'set gxout shaded'<br>
'set grads off'<br>
# 'set clevs 1 3 5'<br>
# 'set ccols 15 2 7 0'<br>
# 'd tmp2m-273.15'<br>
<br>
'set rgb 39 165 0 190'<br>
'set rgb 40 160 0 200'<br>
'set rgb 41 150 0 205'<br>
'set rgb 42 145 0 210'<br>
'set rgb 43 137 0 215'<br>
'set rgb 44 130 0 220'<br>
'set rgb 45 70 0 230'<br>
'set rgb 46 30 60 255'<br>
'set rgb 47 15 110 255'<br>
'set rgb 48 0 160 255'<br>
'set rgb 49 0 180 255'<br>
'set rgb 50 0 200 200'<br>
'set rgb 51 0 205 170'<br>
'set rgb 52 0 210 140'<br>
'set rgb 53 0 215 70'<br>
'set rgb 54 0 220 0'<br>
'set rgb 55 80 225 25'<br>
'set rgb 56 160 230 50'<br>
'set rgb 57 195 225 50'<br>
'set rgb 58 230 220 50'<br>
'set rgb 59 230 195 47'<br>
'set rgb 60 230 175 45'<br>
'set rgb 61 235 155 42'<br>
'set rgb 62 240 130 40'<br>
'set rgb 63 248 65 20'<br>
'set rgb 64 255 0 0'<br>
'set rgb 65 255 30 30'<br>
'set rgb 66 250 60 60'<br>
'set rgb 67 245 30 95'<br>
'set rgb 68 240 0 130'<br>
'set rgb 69 235 0 150'<br>
'set rgb 70 230 0 160'<br>
<br>
#'set clevs -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12
14 16 18 20 22 24 26 28 30 32 34 36 38 40'<br>
#'set ccols 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70'<br>
'set clevs -15 -10 -8 -5 -3 0 3 5 8 10 15 18 20 25 28 30 33 35
40'<br>
'set ccols 41 43 44 45 48 49 50 51 52 53 55 57 58 60 61 63 67 68
69 70'<br>
#Plot Shaded Temps<br>
'd tmp2m-273.15'<br>
<br>
#Plot TEmp-Values in the Grid<br>
'set gxout grid'<br>
'set gridln off'<br>
'set grid off'<br>
<br>
if (domain = 'switzerland_4km')<br>
'd skip(tmp2m-273.15,3)'<br>
endif<br>
<br>
if (domain = 'italy_4km')<br>
'd skip(tmp2m-273.15,3)'<br>
endif<br>
<br>
'xcbar -direction horizontal -edge triangle'<br>
'plot_cities_'dom<br>
ghr = i - 1<br>
'draw title \ 2m Temperature (C) - WRF 'rundate' 'runmo'
'runyear'_'cyc' UTC \\ Valid: 'fdate' 'fmo' 'fyear'_'fhr' UTC'<br>
'set string 1 bl 2'<br>
'set strsiz 0.12 0.12'<br>
if (domain = 'switzerland_4km') ; gtx="Switzerland 4km Grid"
; endif<br>
if (domain = 'italy_4km') ; gtx="Italy 4km Grid" ; endif<br>
'draw string 0.4 0.4 'gtx<br>
'draw string 0.4 0.25 <a class="moz-txt-link-abbreviated"
href="http://www.uwbeinternational.org">www.uwbeinternational.org</a>
- UwBe International Severe Weather Research'<br>
'set string -90 c 2'<br>
'set strsiz 0.12 0.12'<br>
'draw string 4 5.8 Copyright by UwBe International'<br>
if (ghr < 10)<br>
'printim
/home/uwbe/uems/runs/'domain'/wrf_out/temp_2m/'cyc'/temp_2m_'runfile'f0'ghr'.png
x936 y1300 png white'<br>
else<br>
'printim
/home/uwbe/uems/runs/'domain'/wrf_out/temp_2m/'cyc'/temp_2m_'runfile'f'ghr'.png
x936 y1300 png white'<br>
endif<br>
'clear'<br>
i = i + 1<br>
endwhile<br>
<br>
========================<br>
<br>
Does anyone know what i can or should do to fix this error? ;) <br>
THank you<br>
</p>
</div>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Freundliche Grüsse / Best Regards<br>
Dominic Kurz<br>
Präsident / CEO<br>
<br>
</div>
<div class="moz-signature"> </div>
<b>UwBe International</b><br>
<div class="moz-signature"> <b>Severe Weather Observation</b><br>
Einschlagstrasse 30<br>
CH-4622 Egerkingen<br>
Switzerland<br>
<br>
Tel.: +41 78 340 46 78<br>
Direct: +41 76 270 70 87</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature"><a
href="https://uwbeinternational.org"><img
moz-do-not-send="false"
src="cid:part2.794E66A7.AA7A3287@uwbeinternational.org"
alt="" width="251" height="82" border="0"></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Freundliche Grüsse / Best Regards<br>
Dominic Kurz<br>
Präsident / CEO<br>
<br>
</div>
<div class="moz-signature"> </div>
<b>UwBe International</b><br>
<div class="moz-signature"> <b>Severe Weather Research &
Taskforce</b><br>
Einschlagstrasse 30<br>
CH-4622 Egerkingen<br>
Switzerland<br>
<br>
Tel.: +41 78 340 46 78<br>
Direct: +41 76 270 70 87</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature"><a
href="https://uwbeinternational.org"><img
moz-do-not-send="false"
src="cid:part2.794E66A7.AA7A3287@uwbeinternational.org"
alt="" width="251" height="82" border="0"></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:info@uwbeinternational.org">info@uwbeinternational.org</a><br>
Web: <a href="https://uwbeinternational.org" target="_blank">www.uwbeinternational.org</a><br>
<br>
<a href="https://facebook.com/uwbeinternational" target="_blank">Find
us on Facebook</a></div>
</body>
</html>