[ncl-talk] Lats&Longs on map
Mary Haley
haley at ucar.edu
Thu Oct 4 12:40:51 MDT 2018
Hi Berny,
The first problem is that you are calling wrf_overlays and not
wrf_map_overlays. wrf_overlays just overlays one plot on another, and
since you are creating simple contour/vector plots with no maps involved,
you will not get any lat/lon information.
The second problem is that you are calling wrf_map_resources, which should
not be used when you are using wrf_xxxx functions to plot your data.
The solution is to use wrf_map_overlays instead of wrf_overlays, and
additionally to *not* call wrf_map_resources (wrf_map_overlays does this
for you).
To see some examples of wrf_map_overlays, go to:
http://www.ncl.ucar.edu/Applications/wrfgsn.shtml
You can look at the first example, which uses wrf_contour/wrf_map_overlays
in the wrf_nosgn_1.ncl example, and wrf_map_resources/gsn_csm_contour_map
in the wrf_gsn_1.ncl example. Both of these produce similar plots.
There are other examples on this page that show how to do multiple overlays
like what you have with contours and vectors. See wrf_gsn_5.ncl and
wrf_nogsn_5.ncl.
Good luck,
--Mary
On Thu, Oct 4, 2018 at 3:33 AM, Berny Chaimite <bchaimite at gmail.com> wrote:
> Good Morning!
>
> I ran the script (attached) and generated maps, of which I have attached
> one as an example. Just do not understand why it does not show the
> latitude and longitude of the grid on the map. In the position of the
> LATs shows values of 0-60, and in the LONGs shows values of 0-100, I do not
> understand? could you please suggest me how to have the map with the real
> LATs and LONGs of the grid?
>
>
>
> Regards,
> Berny Chaimite
> *-----*
>
> ----------------------------------------
> Berny A. Chaimite
> ----------------------------------------
>
> Atmospheric and Climate Sciences Student
> Department of Physics
> Eduardo Mondlane University
>
>
> *Contact*:
>
> Cell: +258 828 957 675(Whatsapp)/846041931/870434233
> Tell: +258 2145 6389
> Institutional: *berny.chaimite at uem.ac.mz <berny.chaimite at uem.ac.mz>*
>
>
> Maputo, Mozambique
>
>
> _______________________________________________
> 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/20181004/efb2b03f/attachment.html>
More information about the ncl-talk
mailing list