Re: memory issue?

From: Debasish <debasish_at_nyahnyahspammersnyahnyah>
Date: Tue May 31 2011 - 12:59:54 MDT

Could you please check the type of the data in your input file. I believe that CRU data is either "short" or "float" format.
If it is in short format, you need to use short2flt function while reading.

Thanks

Debasish
 
On 2011-05-31, at 14:20, Prajjwal K Panday wrote:

> Hello
>
> I am trying to compute monthly average for 30-yr period from CRU data. My
> program runs fine when I test it out to compute for a short period of
> time. However, when I subscript it to specify the 30 year period, the
> program never finishes and gets automatically killed. I am wondering if
> this is a memory issue since the CRU data are finer resolution (0.5 deg).
> I have been using Ubuntu within the VirutalBox.
>
> ------------------------------------------------------------------------
> snippet of code:(whenever I extend the time subscript to incorporate the
> 30-yr period (828:1187), the program is killed automatically)
>
> b1 = int2flt(a1->tmp(828:839,:,:))
> printVarSummary (b1)
> b1 = b1 * 0.1
> printVarSummary (b1)
>
> ------------------------------------------------------------------------
>
> Thanks,
> Prajjwal
> _______________________________________________
> 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 Tue May 31 12:56:40 2011

This archive was generated by hypermail 2.1.8 : Wed Jun 01 2011 - 12:41:15 MDT