Convert to Mercator projection?

236 views
Skip to first unread message

Eliton lima de figueiredo

unread,
Jun 30, 2017, 1:52:54 PM6/30/17
to wrfpython-talk
My wrfout data is Lambert projection and I need convert for Mercator some variables. How could I to extrac the latitude, longitude, temperature and wind in Mercator projection?

Thanks

Bill Ladwig

unread,
Jul 7, 2017, 1:40:18 PM7/7/17
to Eliton lima de figueiredo, wrfpython-talk
Hi Eliton,

Sorry for the delay, I was on vacation for the past week.  Regridding data is beyond the scope of what wrf-python can do.  If you are just looking at plotting in Mercator, then you can define the Mercator map projection, and simply use the same latitude and longitude arrays as arguments to either basemap or cartopy.  Unfortunately, the winds are going to be a problem.  You can use the 'uvmet' product to rotate the winds to earth's lat/lon space, and basemap can rotate the winds to Mercator, but it requires the data to be already regridded on to a rectilinear grid (needs one-dimensional latitude and longitude arrays).  Maybe someone else has a good solution to this and can chime in.

In any case, I'm not a regridding expert, but both NCL and ESMPy can do regridding for you (both use the ESMF regridding package).  See the following:  


Best of luck,

Bill


On Fri, Jun 30, 2017 at 11:52 AM, Eliton lima de figueiredo <elit...@gmail.com> wrote:
My wrfout data is Lambert projection and I need convert for Mercator some variables. How could I to extrac the latitude, longitude, temperature and wind in Mercator projection?

Thanks

--
You received this message because you are subscribed to the Google Groups "wrfpython-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-talk+unsubscribe@ucar.edu.
To post to this group, send email to wrfpyth...@ucar.edu.
Visit this group at https://groups.google.com/a/ucar.edu/group/wrfpython-talk/.

Reply all
Reply to author
Forward
0 new messages