fn = 'D:/Temp/nc/air_clm.nc'
f = addfile(fn)
ps = f['aveair'][0,:,:,'120']
yy = linspace(0, 1., ps.shape[0])
ps.setdimvalue(0, yy)
layer = shaperead('D:/Temp/map/110m-land.shp')
ax = axes3d(opengl=False)
ax.plot_layer(layer, color='c', edgecolor='b')
ls = ax.imshow(ps, 10, offset=120, zdir='x', alpha=0.8)
colorbar(ls)
zlim(0, 1)
xlim(0, 180)
title('3D imshow x direction example')
I want the data files in this code, and data files are not available in the download tab. Need help
Hi Yaqiang,
I used your amazing package to convert ERA5 to ARL by adapting the example script. It was successful but after trying it with hysplit , I get the following error:
At line 259 of file metset.f
Fortran runtime error: Bad value during integer read
Error termination. Backtrace:
#0 0x7f03bf86ad5a
#1 0x7f03bf86b869
#2 0x7f03bf86c54f
#3 0x7f03bfaace20
#4 0x7f03bfab15b4
#5 0x7f03bfab2a2b
#6 0x5653f1b2ab97
#7 0x5653f1b254f9
#8 0x5653f1b238e6
#9 0x5653f1b23312
#10 0x7f03bf5300b2
#11 0x5653f1b2334d
#12 0xffffffffffffffff
At line 259 of file metset.f
Fortran runtime error: Bad value during integer read
Error termination. Backtrace:
#0 0x7f03bf86ad5a
#1 0x7f03bf86b869
#2 0x7f03bf86c54f
#3 0x7f03bfaace20
#4 0x7f03bfab15b4
#5 0x7f03bfab2a2b
#6 0x5653f1b2ab97
#7 0x5653f1b254f9
#8 0x5653f1b238e6
#9 0x5653f1b23312
#10 0x7f03bf5300b2
#11 0x5653f1b2334d
#12 0xffffffffffffffff
while executing
"exec $exec_dir/chk_file <<$input >chkfile.txt"
(procedure "run_chkfile" line 13)
invoked from within
"run_chkfile $gdir $gbase"
invoked from within
".metfile.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 .metfile.bot.save"
(command bound to event)
I would be glad if you have any idea about this error. Thanks