[ncl-talk] About SplineWarning

Dennis Shea shea at ucar.edu
Wed Nov 9 22:21:21 MST 2016


For historical reasons,the default for gsn_csm_contour_map function assumes
the input array is global.  This means the longitudes are cyclic. Your data
are regional. Try

  res at gsnAddCyclic = False     ; default is True

  res at mpMinLatF    =  22.5     ; min(lat)
  res at mpMaxLatF    =  47.6     ; max(lat)
  res at mpMinLonF    = 120.0     ; min(lat)
  res at mpMaxLonF    = 149.875   ; max(lat)

===
Please look at examples: http://www.ncl.ucar.edu/Applications/
See Cylindrical equidistant

On Wed, Nov 9, 2016 at 9:53 PM, Tao Lu <hakufu.asano at gmail.com> wrote:

> Hello ncl-talk
>
> I am referring to the SplineWarning in ncl homepage: http://www.ncl.ucar.
> edu/Document/Language/error_messages.shtml#SplineWarning
> I copy the contents and run as an example and found this did not solve the
> problem.
>
> Is there any new advice about this error?
>
> --------------------- first plot ------------------------------
> -------------------------------------------------
>
> [image: Inline image 1]
> --------------------second plot--------------------------
> ---------------------------------------------------
> [image: Inline image 2]
>
> --
> ******************************************************
> Tao Lu    (M. Eng)
> Laboratory of River Engineering and Hydrology,
> Dept. of Civil and Environmental Engineering,
> Graduate School of Science and Engineering,
> Chuo University
>
> 1-13-27,Kasuga,Bunkyo-ku,Tokyo
> 112-8551, Japan
> TEL: 03-3817-1805;   Phone: 070-2188-7509
> Email1: hakufu.asano at gmail.com <mail%3Amet.yamos at gmail.com>
> Email2: lutao at civil.chuo-u.ac.jp <mail%3Ayamoto at civil.chuo-u.ac.jp>
> ***************************************************
>
> _______________________________________________
> 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/20161109/9759fb18/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 222977 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161109/9759fb18/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 230398 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161109/9759fb18/attachment-0003.png 


More information about the ncl-talk mailing list