Problem reading variables from multiple files

From: Pon, Karen <pon.5_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 15 2013 - 14:04:23 MDT

Hello

I am using NCL 6.1.2 on Linux RH gcc 4.4.5.

I am getting error message "Segmentation fault (core dumped)" when trying to extract variables from multiple files added using the addfiles function. I downloaded and tested on 6.1.0, which worked fine, but which gave other errors. I noticed that the problem has been reported previously (see link below), but I didn't see a resolution. I'm only using 4 files for the test script.

http://www.ncl.ucar.edu/Support/talk_archives/2012/2156.html

My test script as follows:
______________________________________________________________________________________

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRF_contributed.ncl"

begin

files=systemfunc("ls /export/data1/kpon/jan23/amps_raw/wrfout_d03_2013012300_f00*")
a=addfiles(files,"r")

ftimes=a[:]->Times

end

________________________________________________________________________________________

I've also tried other variables, including using the wrf_user_getvar function, all with the same error.

Thanks,
Karen

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 15 14:04:41 2013

This archive was generated by hypermail 2.1.8 : Tue Jul 16 2013 - 13:21:17 MDT