[ncl-talk] segmentation default when reading variables

Noelia otero noeli1680 at gmail.com
Sat Dec 9 12:56:29 MST 2017


Hi

I am getting a Segmentation fault (core dumped) when trying to read a
variable from one file opened as:

wrfout = addfile(file_in,"w")
lat2d = (/wrfout->lat/)
Segmentation fault (core dumped)

I thought that it could due to a problem in the file, but I looked at the
file and it seems fine. If I use:
wrfout = addfile(file_in,"r")
lat2d = (/wrfout->lat/)
it works.
The file I'm using is 52M..no too large...so I'm quite lost about what the
problem can be... and the version of ncl Version 6.3.0.

Any idea?

Thanks!

Best
Noelia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171209/5d568c7f/attachment.html>


More information about the ncl-talk mailing list