[ncl-talk] segmentation fault while using gsm_csn_xy
Rick Brownrigg
brownrig at ucar.edu
Mon Apr 30 10:08:31 MDT 2018
I was able to run your script, which produced the attached plot. It also
produced the printed output below. The syntax error related to debugging
print statements you perhaps added to gsn_code.ncl (a print statement would
not be valid within a create-block), and the error at the end is because I
don't have all the file. But otherwise, its working fine with the
development version of NCL. Are you able to upgrade to 6.4.0?
Rick
$ ncl arm_sgp_trend_line_diurnal.ncl
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.5.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
fatal:syntax error: line 12347 in file ./gsn_code.ncl before or near print
print
----^
(0) AAA01
(0) NOW WORKING ON : 20171220
(0) AAA02
(0) AAA03
(0) BBB03
(0) BBB01
(0) CC01
(0) CC02
(0) CC04
(0) CC08
(0) CC11
(0) CC12
(0) CC13
(0) DD05
(0) DD09
(0) DD10
(0) GG01
(0) GG05
(0) GG07
(0) GG06
(0) GG02
(0) GG03
(0) DD08
(0) DD07
(0) DD06
(0) DD02
(0) CC03
(0) BBB02
(0) NOW WORKING ON : 20171221
(0) AAA02
warning:_NclOpenFile: cannot open file <./
sgpco2flx4mC1.b1.20171221.001500.nc>; No such file or directory
fatal:file (f) isn't defined
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 70 in file
arm_sgp_trend_line_diurnal.ncl
On Fri, Apr 27, 2018 at 3:01 PM, Zhifeng Yang <yangzf01 at gmail.com> wrote:
> Hi all,
>
> I got a segmentation fault error while executing the following statement
> calling from gsn_code.ncl
>
> plot_object = create wksname + "_xy" xyPlotClass wks
> "xyCoordData" : data_object
>
> Here is the exact error.
>
> Segmentation fault (core dumped)
>
> The NCL version is 6.3.0. I also attached the ncl code and data. The main
> code is "arm_sgp_trend_line_diurnal.ncl", and subroutine is
> "plot_arm_sgp_trend_line_diurnal.ncl".
>
> and also the log file using "ncl -x code.ncl" (file name is ncl_x_code.txt)
>
> Best,
> Zhifeng
>
>
>
>
> _______________________________________________
> 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/20180430/7ac02bb0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snap.png
Type: image/png
Size: 57025 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180430/7ac02bb0/attachment.png>
More information about the ncl-talk
mailing list