<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p></p>
<div><span style="white-space:pre"><span>When I extract the pressure (p) from a wrf_out file and print out the values along the x-axis for all heights, I get reasonable values at the bottom of the column.</span></span></div>
<div><span style="white-space:pre"><span>
<div><span style="white-space:pre"></span>Code: -------</div>
<div><br>
</div>
<div>press = wrf_user_getvar(a, "p", it)<span style="white-space:pre"> </span>; pressure</div>
<div>opt=True</div>
<div>opt@fout="pt_array.txt"</div>
<div>write_matrix(press(:,0,:), "2000f12.3",opt)</div>
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">
<div><span style="white-space:pre"><span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;"><br>
</span></span></span></div>
Code: -------</span>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">Output: --------- </span></div>
</span></span></div>
<div><span style="white-space:pre"><span>100172.508 100170.219 100169.672 100169.789 100171.039 100171.391 100170.969 100170.711 100170.172 100170.289 100170.516 100170.922 100171.945 100173.680 100176.086 100179.180 100181.867 100185.047
100190.961 100197.172 100202.883 100209.180 100216.094 100223.086 100230.359 100238.453 100245.367 100252.328 100258.961 100264.789 100268.188 100270.227 100272.344 100272.016 100271.617 100271.117 100271.031 100269.219 100266.398 100263.109
100258.648 100254.227 100250.789 100246.883 100243.375 100239.750 100236.336 100233.117 100229.617 100227.500 100226.031 100223.445 100220.094 100217.211 100213.883 100211.539 100208.453 100205.266 100201.211 100197.305 100192.141 100188.383
100184.867 100181.508 100179.055 100177.297 100177.180 100177.172 100178.836 100181.391 100185.430 </span><br>
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">Output: ---------</span>
</span></div>
<div><span style="white-space:pre"><span> </span></span></div>
<div><span style="white-space:pre"><span>When I take that pressure field and apply wrf_user_vert_interp, I get output values that are divided by 100 for the first values of the lowest level.</span></span></div>
<div><br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">Code: -------</span><br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;"><br>
</span></div>
<div><span style="white-space:pre"></span>opts@field_type = "p"</div>
<div><span style="white-space:pre"></span>press_interp = wrf_user_vert_interp( a,press,vert_coord,height_levels,opts)</div>
<div><span style="white-space:pre"></span>opt=True</div>
<div><span style="white-space:pre"></span>opt@fout="qewr_p_interp_array.txt"</div>
<div><span style="white-space:pre"></span>write_matrix(press_interp(:,0,:), "2000f12.3",opt)</div>
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;"><br>
</span></div>
Code: -------</span>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<br>
</div>
<span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">Output: ---------</span><br>
<p></p>
<p><span>1004.600 1004.593 1004.586 1004.579 1004.571 1004.563 1004.555 1004.716 1004.539 1004.531 1004.523 1004.516 1004.508 1004.501 1004.494 1004.487 1004.482 1004.476 1004.470 1004.465 1004.460
1004.455 1004.451 1004.447 1004.442 1004.438 1004.435 1004.431 1004.430 1004.419 1004.412 1004.407 1004.448 1004.460 1004.477 1004.498 1004.524 1004.538 1004.552 1004.460 1004.446 1004.434 1004.421
1004.406 1004.393 1004.377 1004.380 1004.378 1004.518 1004.547 1004.636 1004.691 1004.531 1004.779 100475.281 100446.828 100466.047 100466.289 100464.000 100467.219 100465.859 100446.922 100457.930 100459.453 100461.820
100464.930 100463.008 100460.797 100468.297 100450.555 100451.336 100449.453 100457.414 100457.813 100448.898 100453.891 100459.102 100460.977 100462.531 100452.063 100451.789 </span><br>
</p>
<p><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">Output: ---------</span><br>
</p>
<p><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;"><br>
</span></p>
<p><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;">This doesn't happen for other data...</span></p>
<p><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px; white-space: pre;"><br>
</span></p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
--
<div>John Trostel<br>
Director - Severe Storms Research Center<br>
Georgia Tech Research Institute<br>
Atlanta, GA 30332-0857</div>
</div>
</div>
</div>
</body>
</html>