<div dir="ltr"><div dir="ltr"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Hi Dennis,</font><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">I tried this, but it gives me missing values:</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">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/csm/contributed.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl" <br><br>ana=addfile("wrfout_d01_2015-08-13","r")<br><br>lat1=ana->XLAT(0,:,0)<br>lon1=ana->XLONG(0,0,:)<br>P=ana->P<br>pm10=ana->PM10<br>delete(ana)<br><br>printVarSummary(pm10)<br> printMinMax(pm10,0)<br> print("====")<br> printVarSummary(P)<br> printMinMax(P,0)<br> print("====")<br><br><br>po=(/1000,925,850,700,600,500,400,300,250,200,150,100/)*100.0<br>po!0 = "po"<br>po@long_name = "Pressure Level"<br>po@units = "Pa"<br><br>To = int2p_n_Wrap (P,pm10,po,1,1)<br> printVarSummary(To)<br> printMinMax(To,0)<br>print("====")<br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Variable: pm10</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Type: float</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Total Size: 13255920 bytes</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>3313980 values</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number of Dimensions: 4</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[Time | 9] x [bottom_top | 34] x [south_north | 95] x [west_east | 114]</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Coordinates:<span class="gmail-Apple-converted-space"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number Of Attributes: 6</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>FieldType :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>104</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>MemoryOrder :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XYZ</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>description :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>pm10 dry mass</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>units :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ug m^-3</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>stagger :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>coordinates :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XLONG XLAT XTIME</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>pm10 dry mass (ug m^-3) : min=0 <span class="gmail-Apple-converted-space"> </span>max=183.558</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>====</font></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;min-height:24px"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></font></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Variable: P</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Type: float</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Total Size: 13255920 bytes</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>3313980 values</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number of Dimensions: 4</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[Time | 9] x [bottom_top | 34] x [south_north | 95] x [west_east | 114]</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Coordinates:<span class="gmail-Apple-converted-space"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number Of Attributes: 6</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>FieldType :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>104</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>MemoryOrder :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XYZ</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>description :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>perturbation pressure</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>units :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Pa</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>stagger :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>coordinates :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XLONG XLAT XTIME</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>perturbation pressure (Pa) : min=0.702637 <span class="gmail-Apple-converted-space"> </span>max=2079.95</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>====</font></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;min-height:24px"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></font></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Variable: To</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Type: float</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Total Size: 4678560 bytes</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>1169640 values</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number of Dimensions: 4</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[Time | 9] x [po | 12] x [south_north | 95] x [west_east | 114]</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Coordinates:<span class="gmail-Apple-converted-space"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>po: [100000..10000]</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Number Of Attributes: 7</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>_FillValue :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>9.96921e+36</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>FieldType :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>104</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>MemoryOrder :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XYZ</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>description :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>pm10 dry mass</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>units :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ug m^-3</font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>stagger :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span></font></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><span class="gmail-Apple-converted-space"> </span>coordinates :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>XLONG XLAT XTIME</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>pm10 dry mass (ug m^-3) : min=9.96921e+36 <span class="gmail-Apple-converted-space"> </span>max=9.96921e+36</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">
</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>====</font></span></p></div></div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">P is the perturbation pressure, should I use pressure instead?</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Thanks,</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Ana</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><br></font><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">On Tue, Jan 7, 2020 at 11:14 PM Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">***If*** the WRF file has a variable <br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> P(Time,bottom_top,south_north,west_east)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">then those are the pressure levels at each 'eta' coordinate at each grid point and time.</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">If say you want to interpolate the variable T(Time,bottom_top,south_north,west_east)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> then something like:<br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> T = f->T<br> P = f->P</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printVarSummary(T)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printMinMax(T,0)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> print("====")<br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printVarSummary(P)</font></div><div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printMinMax(P,0)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> print("====")</font></div></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> po = (/1000,900,850,700,600,500,400,300,200,100,50,10,5/)*100.0<br> po!0 = "po"<br> po@long_name = "Pressure Level"<br> po@units = "Pa"<br><br> To =<a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/int2p_n_Wrap.shtml" target="_blank"><b> int2p_n_Wrap</b></a> (P,T,po,1,1)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printVarSummary(To)</font></div><div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> printMinMax(To,0)</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"> print("====")</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">====</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">If P is not on the WRF file, then you will have to get help from WRF support.<br></font></div></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div></div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">On Tue, Jan 7, 2020 at 9:12 AM Anahita Amiri Farahani via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Hi all,<br></font><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Is there any function/command in NCL to convert WRF eta levels to pressure levels?</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Thanks,</font></div><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">Ana</font></div></div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">
_______________________________________________<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/mailman/listinfo/ncl-talk</a></font></blockquote></div>
</blockquote></div></div>