<html><head></head><body><div class="ydp851e84c5yahoo-style-wrap" style="font-size: 16px;"><div style="font-family: bookman old style, new york, times, serif;"></div>
        <div dir="ltr" data-setdir="false" style="font-family: bookman old style, new york, times, serif;"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"> td2  = </span><a shape="rect" href="https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml" style="color: rgb(25, 106, 212); text-decoration-line: underline; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;" rel="nofollow" target="_blank" class="">wrf_user_getvar</a><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">(fw,"td2",-1) "***works***"</span></span></div><div dir="ltr" data-setdir="false" style=""><font face="Helvetica Neue, Helvetica, Arial, sans-serif">and</font></div><div dir="ltr" data-setdir="false" style=""><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"> td2=fw->td2(0,:,:) "***didn't work***"</span></span></font></div><div dir="ltr" data-setdir="false" style=""><font face="Helvetica Neue, Helvetica, Arial, sans-serif">likely, "td2" is diagnostic and is not in the file. It should be computed via "wrf_user_getvar".</font></div><div dir="ltr" data-setdir="false" style=""><font face="Helvetica Neue, Helvetica, Arial, sans-serif">My problem is why stations out of WRF domain, got interpolated values?!!</font></div><div dir="ltr" data-setdir="false" style=""><div style="font-family: bookman old style, new york, times, serif;" dir="ltr" data-setdir="false"><br></div><div style="" dir="ltr" data-setdir="false"><i style=""><font face="times new roman, new york, times, serif">Sincerely</font></i></div><div style="" dir="ltr" data-setdir="false"><i style=""><font face="times new roman, new york, times, serif">Ehsan</font></i></div></div>
        
        </div><div id="yahoo_quoted_8844821814" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, September 11, 2019, 07:24:50 PM GMT+4:30, Dennis Shea <shea@ucar.edu> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv7195775190"><div><div dir="ltr"><div> ---<br clear="none"></div><div><div>  td2  = <a rel="nofollow" shape="rect" target="_blank" href="https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml"><b>wrf_user_getvar</b></a>(fw,"td2",-1) ; td2=fw->td2(0,:,:) ******didn't work****</div>  printVarSummary(td2)<br clear="none">  printMinMax(td2,0)</div><div>---</div><div>Likely: <br clear="none"></div><div><br clear="none"></div><div>    [1] td2' is not  on the file <br clear="none"></div><div>    [2] one of the variables needed to derive 'td2' is not present on the file.</div><div>    [3] you have an old version of 'wrf_user_getvar'</div><div><br clear="none"></div><div><b>%> </b>less WRFUserARW.ncl       <=== 6.5.0<br clear="none"></div><div><br clear="none"></div><div>  if( variable .eq. "td2" ) then<br clear="none">       ;; function wrf_td needs qv and pressure (Pa) on input and returns dewpoint temperature on return<br clear="none">       PSFC = _get_wrf_var(file_handle,"PSFC",time)<br clear="none">       Q2   = _get_wrf_var(file_handle,"Q2",time)<br clear="none">       td   = wrf_td( PSFC , Q2 )<br clear="none">       copy_VarAtts_except(Q2,td,(/"description","units"/))<br clear="none">       td@description = "2m Dewpoint Temperature"   ; Overwrite return description<br clear="none">       return(td)<br clear="none">  end if</div><br clear="none"></div><br clear="none"><div class="yiv7195775190gmail_quote"><div class="yiv7195775190yqt4376619820" id="yiv7195775190yqt60782"><div class="yiv7195775190gmail_attr" dir="ltr">On Wed, Sep 11, 2019 at 6:22 AM Ehsan Taghizadeh via ncl-talk <<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br clear="none"></div><blockquote class="yiv7195775190gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div class="yiv7195775190gmail-m_9065354707909077185yahoo-style-wrap" style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div dir="ltr">Dears,</div><div dir="ltr">I forgot to attach output file from interpolation.</div><div dir="ltr">At the attachment, stations like "40899" or "40890" got "<span>9969209968386869046778552952102584320.0</span>" value. These stations don't locate in wrf domain 2. However, stations like "40745" has values, in spite of locating out of domain 2.</div><div dir="ltr"><i><font size="2"><br clear="none"></font></i></div><div dir="ltr"><i><font size="2">Sincerely</font></i></div><div dir="ltr"><i><font size="2">Ehsan</font></i></div></div></div>_______________________________________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div></div></div></div>
            </div>
        </div></body></html>