[ncl-talk] WRF interpolation (amendment-output)

Dennis Shea shea at ucar.edu
Wed Sep 11 08:54:38 MDT 2019


 ---
  td2  = *wrf_user_getvar*
<https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml>(fw,"td2",-1)
; td2=fw->td2(0,:,:) ******didn't work****
  printVarSummary(td2)
  printMinMax(td2,0)
---
Likely:

    [1] td2' is not  on the file
    [2] one of the variables needed to derive 'td2' is not present on the
file.
    [3] you have an old version of 'wrf_user_getvar'

*%> *less WRFUserARW.ncl       <=== 6.5.0

  if( variable .eq. "td2" ) then
       ;; function wrf_td needs qv and pressure (Pa) on input and returns
dewpoint temperature on return
       PSFC = _get_wrf_var(file_handle,"PSFC",time)
       Q2   = _get_wrf_var(file_handle,"Q2",time)
       td   = wrf_td( PSFC , Q2 )
       copy_VarAtts_except(Q2,td,(/"description","units"/))
       td at description = "2m Dewpoint Temperature"   ; Overwrite return
description
       return(td)
  end if


On Wed, Sep 11, 2019 at 6:22 AM Ehsan Taghizadeh via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Dears,
> I forgot to attach output file from interpolation.
> At the attachment, stations like "40899" or "40890" got "
> 9969209968386869046778552952102584320.0" value. These stations don't
> locate in wrf domain 2. However, stations like "40745" has values, in spite
> of locating out of domain 2.
>
> *Sincerely*
> *Ehsan*
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190911/2a08edcf/attachment.html>


More information about the ncl-talk mailing list