[ncl-talk] Stability profile
Soma Roy
somaroy892 at gmail.com
Sat Jun 23 08:54:32 MDT 2018
Hello,
I am trying to calculate static stability and potential temperature in
vertical profile using ERA-Interim pressure level data.
Summary of the input data used in this process is like below;
Variable: pnew
Type: double
Total Size: 176 bytes
22 values
Number of Dimensions: 1
Dimensions and sizes: [level | 22]
Coordinates:
level: [ 100..1000]
Number Of Attributes: 5
standard_name : air_pressure
long_name : pressure_level
units : Pa
positive : down
axis : Z
Variable: t
Type: float
Total Size: 209943360 bytes
52485840 values
Number of Dimensions: 4
Dimensions and sizes: [time | 120] x [level | 22] x [latitude | 141] x
[longitude | 141]
Coordinates:
time: [994176..994890]
level: [ 100..1000]
latitude: [ 5..40]
longitude: [65..100]
Number Of Attributes: 7
standard_name : air_temperature
long_name : Temperature
units : K
_FillValue_original : -32767
_FillValue : -32767
missing_value_original : -32767
missing_value : -32767
Variable: u
Type: float
Total Size: 209943360 bytes
52485840 values
Number of Dimensions: 4
Dimensions and sizes: [time | 120] x [level | 22] x [latitude | 141] x
[longitude | 141]
Coordinates:
time: [994176..994890]
level: [ 100..1000]
latitude: [ 5..40]
longitude: [65..100]
Number Of Attributes: 7
standard_name : eastward_wind
long_name : U component of wind
units : m s**-1
_FillValue_original : -32767
_FillValue : -32767
missing_value_original : -32767
missing_value : -32767
Variable: v
Type: float
Total Size: 209943360 bytes
52485840 values
Number of Dimensions: 4
Dimensions and sizes: [time | 120] x [level | 22] x [latitude | 141] x
[longitude | 141]
Coordinates:
time: [994176..994890]
level: [ 100..1000]
latitude: [ 5..40]
longitude: [65..100]
Number Of Attributes: 7
standard_name : northward_wind
long_name : V component of wind
units : m s**-1
_FillValue_original : -32767
_FillValue : -32767
missing_value_original : -32767
missing_value : -32767
My code for this is attached below.
At run time it shows the following;
fatal:NclMalloc Failed:[errno=12]
Segmentation fault (core dumped)
Please inform me how to resolve the issue.
Thanks,
Soma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180623/8e836277/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static.ncl
Type: application/octet-stream
Size: 2615 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180623/8e836277/attachment.obj>
More information about the ncl-talk
mailing list