malloc error with area_hi2lores_Wrap

From: Erik Noble <enoble_at_nyahnyahspammersnyahnyah>
Date: Thu, 11 Jun 2009 13:25:54 -0400

Could I please have help understanding this error and how to get around it?
(My variable is not over 2 GB.)
Sincerely,
Erik Noble

noble:CMORPH enoble$ ncl
 Copyright (C) 1995-2009 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.1.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
ncl 2> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
ncl 4> load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
ncl 5> a = addfile("CMORPH_September_.25x.25.nc","r")
ncl 6> rain_new = a->CMOPRH_RAIN_RATE
ncl 7> printVarSummary(rain_new)

Variable: rain_new
Type: float
Total Size: 663552000 bytes
            165888000 values
Number of Dimensions: 3
Dimensions and sizes: [time | 240] x [lat | 480] x [lon | 1440]
Coordinates:
            time: [2.00609e+09..2.006093e+09]
            lat: [59.875..-59.875]
            lon: [0.125..359.875]
Number Of Attributes: 3
  units : mm/hr
  long_name : CMORPH
  _FillValue : -9999
ncl 8> printMinMax(rain_new,True)
(0)
(0) CMORPH: min=0 max=40.3708
ncl 9> lat = rain_new(0,:,0)
ncl 10> lon = rain_new(0,0,:)
ncl 11> Lat = fspan(59.875,-59.875,240) ;declaring new lat for regridding to
0.5 degree
ncl 12> Lon = fspan(0.125,359.875,720)
ncl 13> po = area_hi2lores_Wrap(lon,lat, rain_new, True, 1, Lat,Lon,False)
ncl(74199) malloc: *** mmap(size=1327104000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
warning:area_hi2lores: xi, xo must be monotonically increasing

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 11 2009 - 11:25:54 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 11 2009 - 14:54:54 MDT