<div dir="ltr"><div><div><div><div>Hello Mary,<br><br></div>Thank you for the reply and
 helpful recommendations, I could manage to plot some 4D variables in 3D
 by NCL, as WRF model has mixing ratio output parameters like q_cloud, 
q_ice, q_vapor, q_snow, q_rain, q_hail, q_graupel & so on.<br><br></div>The error I was getting the first was a dimension error, in terms of the order in <span class="gmail-m_7476845321311474281gmail-pl-c1">tdez3d</span>
 function's 3d axis parameters (x,y,z), managed to solve the order 
problem by some modifications. Correct order is kind of like this for 
WRF default i/o, z -> vertical level, x -> latitude, y -> 
longitude:<br><br> <span class="gmail-m_7476845321311474281gmail-pl-c1">tdez3d</span>(wks,zi,xi,yi,qcloud,ui, rho, theta, phi,<span class="gmail-m_7476845321311474281gmail-pl-c1">4</span>)<br><br></div>I
 had also tried out plotting these variables in R & VAPOR too. I 
include the R & NCL plots in the attachment for the control & 
comparison. I first tried some radar maximum reflection-like plot for 
corresponding rain & cloud mixing ratio in R, the red surfaces have 
higher isosurface values while the greens are likely the lowest 
isosurface values. The green colors represent the green isosurface 
plotted by R with same isosurface value.<br><br></div>The camera 
orientation are from the western looks of the domain, I am currently at 
this point to correct axes locations, intervals and some better visual 
interpretation perception maybe. This code I am including will generate a
 cloud mixing ratio visualization without errors, and without axis or 
envelope box around the domain, I defined <span class="gmail-m_7476845321311474281gmail-pl-c1">tdlbls</span>() input arguments however the plot did not generate anything other than q_cloud isosurface.<br><br><span class="gmail-im"><span class="gmail-m_7476845321311474281gmail-pl-k">begin</span>
      
      
        <table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC4" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC5" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  a = <span class="gmail-m_7476845321311474281gmail-pl-c1">addfile</span>(<span class="gmail-m_7476845321311474281gmail-pl-s">"wrfout_d01_2017-07-<wbr>27_12:00:00<span class="gmail-m_7476845321311474281gmail-pl-cce">.</span>nc"</span>,<span class="gmail-m_7476845321311474281gmail-pl-s">"r"</span>)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC6" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table></span><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC7" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  qcloud = a->QCLOUD(<span class="gmail-m_7476845321311474281gmail-pl-c1">50</span>,:,:,:)        <span class="gmail-m_7476845321311474281gmail-pl-c">; Cloud mixing ratio at iteration #49</span></td>
      </tr>
      <tr>
        </tr></tbody></table><span class="gmail-im"><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC8" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  lat = a->XLAT(<span class="gmail-m_7476845321311474281gmail-pl-c1">0</span>,:,<span class="gmail-m_7476845321311474281gmail-pl-c1">0</span>)                <span class="gmail-m_7476845321311474281gmail-pl-c">; latitude</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC9" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  lon = a->XLONG(<span class="gmail-m_7476845321311474281gmail-pl-c1">0</span>,<span class="gmail-m_7476845321311474281gmail-pl-c1">0</span>,:)               <span class="gmail-m_7476845321311474281gmail-pl-c">; longitude </span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC10" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table></span><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC11" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  xi = -lat</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC12" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  yi = -lon</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC13" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  zi = -<span class="gmail-m_7476845321311474281gmail-pl-c1">ispan</span>(<span class="gmail-m_7476845321311474281gmail-pl-c1">1</span>,<span class="gmail-m_7476845321311474281gmail-pl-c1">49</span>,<span class="gmail-m_7476845321311474281gmail-pl-c1">1</span>)*<span class="gmail-m_7476845321311474281gmail-pl-c1">0.1</span> <span class="gmail-m_7476845321311474281gmail-pl-c">;vertical pressure level #</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC14" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  ui = <span class="gmail-m_7476845321311474281gmail-pl-c1">0.00000005</span> <span class="gmail-m_7476845321311474281gmail-pl-c">; graupel mixing ratio defined for isosurface plot</span></td>
      </tr>
      <tr>
        </tr></tbody></table><span class="gmail-im"><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC15" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC16" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC17" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  dimlat = <span class="gmail-m_7476845321311474281gmail-pl-c1">dimsizes</span>(lat)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC18" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  dimlon = <span class="gmail-m_7476845321311474281gmail-pl-c1">dimsizes</span>(lon)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC19" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  dimz = <span class="gmail-m_7476845321311474281gmail-pl-c1">dimsizes</span>(zi)</td>
      </tr>
      <tr>
        </tr></tbody></table></span><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC20" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  dimqcloud = <span class="gmail-m_7476845321311474281gmail-pl-c1">dimsizes</span>(qcloud)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC21" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line"> <br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC22" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">print</span>(dimlat)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC23" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">print</span>(dimlon)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC24" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">print</span>(dimz)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC25" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">print</span>(dimqcloud)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC26" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC27" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  rho   = <span class="gmail-m_7476845321311474281gmail-pl-c1">2</span>.</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC28" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  theta = -<span class="gmail-m_7476845321311474281gmail-pl-c1">0</span>.</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC29" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  phi   = -<span class="gmail-m_7476845321311474281gmail-pl-c1">30</span>.</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC30" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC31" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC32" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC33" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  znlb = <span class="gmail-m_7476845321311474281gmail-pl-s">" "</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC34" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  xnlb = <span class="gmail-m_7476845321311474281gmail-pl-s">" 24 25 26 27 28 29 30 31 32"</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC35" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  ynlb = <span class="gmail-m_7476845321311474281gmail-pl-s">" 38 39 40 41 42 43 44 45 "</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC36" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC37" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  zilb = <span class="gmail-m_7476845321311474281gmail-pl-s">"Z Coordinate Values"</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC38" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  xilb = <span class="gmail-m_7476845321311474281gmail-pl-s">"Latitude Coordinate Values"</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC39" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  yilb = <span class="gmail-m_7476845321311474281gmail-pl-s">"Longitude Coordinate Values"</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC40" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC41" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  zmin = <span class="gmail-m_7476845321311474281gmail-pl-c1">min</span>(zi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC42" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  xmin = <span class="gmail-m_7476845321311474281gmail-pl-c1">min</span>(xi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC43" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  ymin = <span class="gmail-m_7476845321311474281gmail-pl-c1">min</span>(yi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC44" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  zmax = <span class="gmail-m_7476845321311474281gmail-pl-c1">max</span>(zi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC45" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  xmax = <span class="gmail-m_7476845321311474281gmail-pl-c1">max</span>(xi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC46" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  ymax = <span class="gmail-m_7476845321311474281gmail-pl-c1">max</span>(yi)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC47" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC48" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  wks = <span class="gmail-m_7476845321311474281gmail-pl-c1">gsn_open_wks</span>(<span class="gmail-m_7476845321311474281gmail-pl-s">"png"</span>,<span class="gmail-m_7476845321311474281gmail-pl-s">"3d_<wbr>isosurface_qcloud"</span>)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC49" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC50" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">tdlbls</span> (wks,(/zmin,xmin,ymin/),(/<wbr>zmax,xmax,ymax/), \</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC51" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">          (/znlb,xnlb,ynlb/),(/zilb,<wbr>xilb,yilb/),<span class="gmail-m_7476845321311474281gmail-pl-c1">1</span>)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC52" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC53" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">tdez3d</span>(wks,zi,xi,yi,qcloud,ui, rho, theta, phi,<span class="gmail-m_7476845321311474281gmail-pl-c1">4</span>)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC54" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC55" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">  <span class="gmail-m_7476845321311474281gmail-pl-c1">frame</span>(wks)</td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC56" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC57" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC58" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line"><span class="gmail-m_7476845321311474281gmail-pl-k">end</span></td>
      </tr>
      <tr>
        </tr></tbody></table><table class="gmail-m_7476845321311474281gmail-highlight gmail-m_7476845321311474281gmail-tab-size gmail-m_7476845321311474281gmail-js-file-line-container"><tbody><tr><td id="gmail-m_7476845321311474281gmail-LC59" class="gmail-m_7476845321311474281gmail-blob-code gmail-m_7476845321311474281gmail-blob-code-inner gmail-m_7476845321311474281gmail-js-file-line">
<br></td>
      </tr>
      <tr>
        </tr></tbody></table> Thanks for the help & best wishes.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-11 22:37 GMT+03:00 Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Armagan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In general, we recommend that people not use our 3D plotting package, as it is rather old and not anywhere near as developed as other free packages out there. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are trying to plot WRF data in 3D, then I recommend VAPOR, which is tailored for plotting WRF data in 3D:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="https://www.vapor.ucar.edu" target="_blank">https://www.vapor.ucar.edu</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">If you really need to use TDEZ3D for other reasons, then please include the full error message you're getting from NCL.</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Dec 9, 2017 at 8:16 AM, Armağan Gözütok <span dir="ltr"><<a href="mailto:armagango@gmail.com" target="_blank">armagango@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I wanted to create 3d plots recently, bye some modification on the scripts here:<br><a href="https://www.ncl.ucar.edu/Applications/tdpack.shtml" target="_blank">https://www.ncl.ucar.edu/Appli<wbr>cations/tdpack.shtml</a><br><br></div>I did manage to plot the surface plots by tdez2d function (plotted HGT from the WRF outputs), however my 3d variables cannot be plotted, getting always an error somehow although i check all the dimensions properly which they coincide.<br></div><div><br></div><div>I couldn't manage to upload an .nc outputs to the ftp server,<br></div><div><br></div><div><br></div>Here is my NCL script to create isosurface plot of graupel mixing ratio (called isosurf.ncl) different than 3d_hgt.ncl:<br><br><br>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/gsn_code.ncl"<br><br>begin<br><br>  a = addfile("wrfout_d01_2017-07-27<wbr>_12:00:<a href="http://00.nc" target="_blank">00.nc</a>","r")<br><br>  qgraup = a->QGRAUP(49,:,:,:)           <wbr>      ; Graupel mixing ratio at iteration #49<br>  lat = a->XLAT(0,:,0)                ; latitude<br>  lon = a->XLONG(0,0,:)               ; longitude <br><br>  xi = lat<br>  yi = lon<br>  zi = ispan(1,49,1)*1. ;vertical pressure level # 50 different pressure levels<br>  ui = 0.0001 ; graupel mixing ratio defined for isosurface plot<br><br><br>  ;dimlat = dimsizes(lat)<br>  ;dimlon = dimsizes(lon)<br>  dimz = dimsizes(zi)<br>  ;dimgraup = dimsizes(qgraup)<br> <br>  ;print(dimlat)<br>  ;print(dimlon)<br>  print(dimz)<br>  ;print(dimgraup)<br><br><br>  wks = gsn_open_wks("png","3d_isosurf<wbr>ace_qgraup")<br><br>  tdez3d(wks,xi,yi,zi,qgraup,ui,<wbr>1.8,-45.,58.,-4)<br><br>  frame(wks)<br><br>end<br><br><br></div>Armagan<br><div><div><div><br><br></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>