Re: SPI

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 29 2013 - 16:16:50 MDT

Dear Setareh,

Please read our posting guidelines:

http://www.ncl.ucar.edu/Support/posting_guidelines.shtml

Just sending us an error message is not always enough to tell what the problem is.

Usually when you get an NclMalloc error this means you are running out of memory.

I don't know what your script looks like, so I can only guess as to why you are running out of memory.

If you are reading in or creating really large variables, you may need to use "delete" to free up some memory after
you no longer need a variable.

For example:

  x = some large variable
  y = some other large variable
  z = x + y
  delete([/x,y/])

--Mary

On Jul 29, 2013, at 4:03 PM, Setareh Rahimi <setareh.rahimi@gmail.com> wrote:

> Dear all,
>
> I run the SPI codes with another data set,but still get errors!!!, below are the detailes of the data set and the error I got. Please help me to sort it out.
>
> Kind regards,
> ______________________________________________________________________________________________________________________________________
> [rahimi@localhost seti]$ ncdump -h precip.mon.total.nc
> netcdf precip.mon.total {
> dimensions:
> lat = 360 ;
> lon = 720 ;
> nbnds = 2 ;
> time = UNLIMITED ; // (1320 currently)
> variables:
> float lat(lat) ;
> lat:long_name = "Latitude" ;
> lat:units = "degrees_north" ;
> lat:standard_name = "latitude" ;
> lat:axis = "Y" ;
> lat:coordinate_defines = "center" ;
> lat:actual_range = 89.75f, -89.75f ;
> float lon(lon) ;
> lon:long_name = "Longitude" ;
> lon:units = "degrees_east" ;
> lon:standard_name = "longitude" ;
> lon:actual_range = 0.25f, 359.75f ;
> lon:axis = "X" ;
> lon:coordinate_defines = "center" ;
> double time(time) ;
> time:long_name = "Time" ;
> time:units = "days since 1800-1-1 00:00:00" ;
> time:actual_range = 36889., 77035. ;
> time:delta_t = "0000-01-00 00:00:00" ;
> time:standard_name = "time" ;
> time:axis = "T" ;
> time:coordinate_defines = "start" ;
> time:totalling_period = "0000-01-00 00:00:00" ;
> float precip(time, lat, lon) ;
> precip:add_offset = 0.f ;
> precip:scale_factor = 1.f ;
> precip:missing_value = -9.96921e+36f ;
> precip:units = "mm" ;
> precip:actual_range = 0.f, 4412.31f ;
> precip:dataset = "GPCC Precipitation Full V6 (0.5x0.5)" ;
> precip:var_desc = "Precipitation" ;
> precip:level_desc = "Surface" ;
> precip:statistic = "Total" ;
> precip:parent_stat = "Observations" ;
> precip:long_name = "GPCC Monthly total of precipitation" ;
> precip:valid_range = 0.f, 8000.f ;
>
> // global attributes:
> :history = "Created 07/2012 based on V5 data obtained via ftp" ;
> :title = "GPCC Full Data Reanalysis Version 6 0.5x0.5 Monthly Means" ;
> :convention = "CF 1.0" ;
> :Documentation = "http://www.esrl.noaa.gov/psd/data/gridded/data.gpcc.html" ;
> :Original_Source = "http://www.dwd.de/en/FundE/Klima/KLIS/int/GPCC/GPCC.htm\n",
> " is the webpage and the data is at ftp://ftp.dwd.de/pub/data/gpcc/download.html" ;
> :Reference = "Users of the data sets are kindly requested to give feed back and to refer to GPCC publications on this webpage: http://www.dwd.de/bvbw/appmanager/bvbw/dwdwwwDesktop/?_nfpb=true&_pageLabel=_dwdwww_klima_umwelt_datenzentren_wzn&T12404518261141645246564gsbDocumentPath=Content%2FOeffentlichkeit%2FKU%2FKU4%2FKU42%2Fteaser__product__access.html&_state=maximized&_windowLabel=T12404518261141645246564&lastPageLabel=_dwdwww_klima_umwelt_datenzentren_wzn" ;
> :original_source = "ftp://ftp-anon.dwd.de/pub/data/gpcc/html/fulldata_download.html" ;
> ______________________________________________________________________________________________________________________________________
> fatal:NclMalloc Failed:[errno=12]
> fatal:New: could not create new array:[errno=12]
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 16 in file spi2.ncl
>
> [rahimi@localhost seti]$
>
> --
> S.Rahimi
>
> _______________________________________________
> 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 Mon Jul 29 16:17:01 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:03 MDT