Re: how to convert CESM lat/lon grid to WRF curvilinear grid?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 18 2013 - 22:09:39 MDT

Sending a script with no other information makes debugging difficult.

What about

printVarSummary(xlat)
printMinMax(xlat, 0)
printVarSummary(xlong)
printMinMax(xlong, 0)
printVarSummary(T)
printVarSummary(T2)

---
CESM data span 0->360
WRF is normally -180 to 180
---
When you have something like the following in your code
res@mpRightCornerLonF = xlon(0,nlon-1
      ; not sure when I set xlon(nlat-1,nlon-1) would come u
      ; negative value ...What does this indicate?
print(xlat(0,0)+" "+xlon(0,0)+" "+xlat(nlat-1,nlon-1)+" "+xlon(0,nlon-1))
On 3/18/13 8:36 PM, 王啟芸 wrote:
> Hi, NCL users,
>
>
>
> I am trying to convert CESM global model grid which is lat/lon grid to WRF curvilinear grid. I used rgrid2rcm, but the output graphic was shift and did not fill the whole domain when I used WRF native grid method to plot. The attachment is the output that I converted CESM grid to WRF grid via rgrid2rcm first and then used WRF native grid method to plot. Can anyone know the better (correct) way to convert CESM grid to WRF grid? Thanks!
>
> p.s. lat/lon and lat2d/lon2d have the same domain
>
>
>
> Agilen
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 18 22:09:42 2013

This archive was generated by hypermail 2.1.8 : Tue Mar 19 2013 - 16:31:18 MDT