<div dir="ltr"><div><div>Hi all,<br><br></div>Following script i used to get pressure at 2m height from wrf out file<br></div>Its throwing some error . <br><br><b>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRF_contributed.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"<br>begin<br> <br>a = addfile("<a href="http://input.nc">input.nc</a>","r")<br><br>Zter = wrf_user_getvar(a,"ter" , 0) ;m Terrain Height<br><br>time = 0<br>p = wrf_user_getvar(a,"pressure",time) <br>z = wrf_user_getvar(a,"z",time) <br><br>height = Zter + 2.0 ; 2m height <br><br>pat2m = wrf_user_intrp3d(p,z,"h",height,0.,False)<br><br>end<br></b><br>Error message:<br> Copyright (C) 1995-2014 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.2.1<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.<br>fatal:_NclBuildArray: each element of a literal array must have the same dimension sizes, at least one item doesn't<br>fatal:["Execute.c":8578]:Execute: Error occurred at or near line 235 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:["Execute.c":8578]:Execute: Error occurred at or near line 17 in file p2m.ncl<br><br><br clear="all"><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div style="text-align:left"><font size="2"><span style="font-family:times new roman,serif"><font size="2">R</font>egards<br></span></font></div><div style="text-align:left"><font face="verdana,sans-serif"><font size="2"><span style="font-family:times new roman,serif">-Krishna-</span></font></font><br></div></div></div></div>
</div></div></div></div>