The attached script should work as you wish.
Do not use tfDoNDCOverlay.
Good Luck
On 7/7/11 5:57 AM, deetz81b@zedat.fu-berlin.de wrote:
> Hello,
> I have a question concerning contour-plots.
> My input is a NetCDF file with data from the regional climate model CCLM.
> Creating plots with data on a global grid is no problem, but the special
> grid types of the regional climate models are difficult to handle.
>
> If I plot it as usual, the data of the African continent is plotted over
> the whole world map.
> I tried to improvise it with
>
> res@tfDoNDCOverlay = True
> res@mpLimitMode = "Corners"
> res@mpLeftCornerLatF = min(lat)
> res@mpLeftCornerLonF = min(lon)
> res@mpRightCornerLatF = max(lat)
> res@mpRightCornerLonF = max(lon)
>
> but it does not work.
>
> I want to plot the data correctly over the map of Africa and it would be
> nice if I could zoom in, so that I have only a part of Africa.
>
> Even the 'NCL-expert' here at the meteorological institute has no idea.
>
> Thanks a lot for your help.
>
> best regards,
> Konrad Deetz
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 15:03:53 MDT