[ncl-talk] Uasage of NCL-version 6.6

Geeta Geeta geetag54 at yahoo.com
Mon Aug 30 10:11:00 MDT 2021


sir, while using addfile, it gives core dump. I am attaching the code for your reference. 
I deleted all lines and was trying to read the data. at present it contains one line with addfile. 

thanks

Sent from Yahoo Mail for iPhone


On Saturday, August 28, 2021, 10:44 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

HI,
I was able to open that file just fine, on a Mac, using 6.6.2.  Do you know if you're getting the core dump when you try to open the file (addfile())?  Or trying to access a particular variable?
The core file can be used with gdb to look at what was happening at the time of the SEGV:
     gdb ncl core     gdb>  bt       # should print the stack at the time of crash
That said, I don't know that it will help you much without access to the source code. I'd be curious however where the failure is occurring.
Rick

On Sat, Aug 28, 2021 at 8:00 AM Geeta Geeta via ncl-talk <ncl-talk at mailman.ucar.edu> wrote:

Dear sir. 
I am using ncl version 6.6.2 in the CONDA enviornment. 
I am unable to use the command of ncl like ncl_filedump, addfile etc in this enviornment as I am getting core dump. esp when I run it on my h5 data files. 
I have already uploaded the h5 file (data file) on the ftp server. 

Copyright (C) 1995-2019 - All Rights Reserved University Corporation for Atmospheric Research
 NCAR Command Language Version 6.6.2

ncl_filedump 3DIMG_01AUG2020_0300_L1B_STD.h5 Copyright (C) 1995-2019 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.6.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
Segmentation fault (core dumped)

I donot know how to debug the generated "core file" to know what is wrong. 

Request you to help me. 


Geeta._______________________________________________
ncl-talk mailing list
ncl-talk at mailman.ucar.edu
List instructions, subscriber options, unsubscribe:
https://mailman.ucar.edu/mailman/listinfo/ncl-talk



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210830/590fe029/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hem_rgrid.ncl
Type: application/octet-stream
Size: 378 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210830/590fe029/attachment.obj>


More information about the ncl-talk mailing list