[ncl-talk] int2p
Laura Fowler
laura at ucar.edu
Fri Apr 26 14:31:34 MDT 2019
Hello:
I have a memory issue using int2p. Here is my call to int2p:
mpas2 = int2p(pres,mpas,pres2,linlog)
The input fields pres, mpas, and pres2 are:
Variable: pres
Type: float
Total Size: 144179640 bytes
36044910 values
Number of Dimensions: 2
Dimensions and sizes: [nCells | 655362] x [nVertLevels | 55]
Coordinates:
Number Of Attributes: 2
units : hPa
long_name : Pressure
Variable: mpas
Type: float
Total Size: 144179640 bytes
36044910 values
Number of Dimensions: 2
Dimensions and sizes: [nCells | 655362] x [nVertLevels | 55]
Coordinates:
Number Of Attributes: 2
units : kg m^{-3}
long_name : Dry air density
Variable: pres2
Type: float
Total Size: 2621448 bytes
655362 values
Number of Dimensions: 1
Dimensions and sizes: [nCells | 655362]
Coordinates:
Number Of Attributes: 1
units : hPa
where pres2 is one-dimensional and set to 200 hPa. I am getting the
following error:
fatal:int2p: Unable to allocate memory for output array
So, is it possible to interpolate the data to one specific pressure level.
May be I am using the wrong function to do this?
Thanks,
Laura
--
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler
Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000
e-mail: laura at ucar.edu
phone: 303-497-1628
!-------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/e0071c90/attachment.html>
More information about the ncl-talk
mailing list