<div dir="ltr"><div>***If*** the WRF file has a variable <br></div><div> P(Time,bottom_top,south_north,west_east)</div><div>then those are the pressure levels at each 'eta' coordinate at each grid point and time.</div><div><br></div><div>If say you want to interpolate the variable T(Time,bottom_top,south_north,west_east)</div><div> then something like:<br></div><div> T = f->T<br> P = f->P</div><div> printVarSummary(T)</div><div> printMinMax(T,0)</div><div> print("====")<br></div><div> printVarSummary(P)</div><div><div> printMinMax(P,0)</div><div> print("====")</div></div><div><br></div><div> 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"><b> int2p_n_Wrap</b></a> (P,T,po,1,1)</div><div> printVarSummary(To)</div><div><div> printMinMax(To,0)</div><div> print("====")</div><div>====</div><div>If P is not on the WRF file, then you will have to get help from WRF support.<br></div></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 7, 2020 at 9:12 AM Anahita Amiri Farahani via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></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">Hi all,<br><div><br></div><div>Is there any function/command in NCL to convert WRF eta levels to pressure levels?</div><div><br></div><div>Thanks,</div><div>Ana</div></div>
_______________________________________________<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></blockquote></div>