Re: buss error using test_addfiles.ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 22 2010 - 12:19:15 MDT

Hi Yingli,

We need more information than what you're providing. The bus error might be coming from a memory issue if you are reading in lots of files and/or are dealing with potentially large variables.

You didn't provide any of the output from running your code, so we have no idea where it failed.

As a start to help us debug this, please edit test_addfiles.ncl, and comment out the "begin" and "end" statements.

Add some "printVarSummary" statements so we can see how large your variables are:

  var1 = wrf_user_getvar(a,"T",3) ; time 3 from a file with 5 times
  printVarSummary(var1)
                                                      
  var2 = wrf_user_getvar_from_files(FILES,"T",-1,True) ; all times from split files (total 5 times)
  printVarSummary(var2)

etc.
                                  
Run the script with the "-x" option, so every line is echoed as it is executed:

   ncl -x test_addfiles.ncl

Please send us all the output, including any output from print statements.

Thanks,

--Mary

On Oct 22, 2010, at 11:28 AM, yingli zhu wrote:

> Hi, I try to read multiple wrfout files using the example, test_addfiles.ncl, but when I encounter an error that is buss error when I plot. I don't know the reason, can you give a favor? Thank you.
>
> I use ncl5.2.1 on the snow leopard OSX.
>
> Yingli
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 22 12:19:21 2010

This archive was generated by hypermail 2.1.8 : Fri Oct 22 2010 - 12:21:46 MDT