[ncl-talk] Urgent gsn_csm_contour_map and shapefile issue

Adam Phillips asphilli at ucar.edu
Mon Aug 3 13:12:25 MDT 2020


Hi Oluwaseun,
Thank you for sending a clean script. That always makes debugging easier. I
believe I see the issue. Change this:
gsn_panel(wks,plot,(/2,3/),res)
to this:
gsn_panel(wks,plot,(/2,3/),pres)

There has always been a weird issue with the resource list that is passed
into gsn_panel: If there is a syntax error in the resource list, you
reference a resource that isn't valid in gsn_panel, or even if you pass in
a list that is not your panel resource list, gsn_panel does not return any
error. In this case, you specified your individual resource list instead of
your panel resource list, and strangely you get no error messages nor a
plot. (In my opinion this should trigger an error message of some kind.)

If you have any further issues please direct your query to the ncl-talk
email list.
Adam




On Mon, Aug 3, 2020 at 11:34 AM Oluwaseun Ilori via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Good day ncl users
> please kindly assist and help me on the above mentioned issue. Am trying
> to plot a 2D data generated from CDO operation as attached to this email
> together with my script. The data contained a long term mean over West
> Africa but only interested to fill the data over Nger River Basin using a
> shapefile. I prepared my script as I have been doing, my script run without
> any error message but I can not find any image file (result) in my working
> directory. I also attached the screenshot of the ncl_filedump of one of my
> input data.
>
> thanks in advance for your assistance
>
> --
> *OLUWASEUN ILORI*
> *M.Tech in Meteorology and climate science*
>
> *Federal University of Technology Akure. Nigeria.Phone: +2347031000687
> +2348069154213*
>
> *Facebook: http://facebook.com/hilorywilson
> <https://www.facebook.com/hilorywilson>*
> *linkedln: https://www.linkedin.com/in/wilson-ilori-447952108
> <https://www.linkedin.com/in/wilson-ilori-447952108>*
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk



-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200803/0940397a/attachment.html>


More information about the ncl-talk mailing list