Re: Segmentation Fault

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 31 2012 - 13:09:40 MST

Hi Mike,

The output you show is from ncl5.2.1, and it certainly makes sense (e.g., the Total size field reporting "-421147456 bytes"
Can you post the results of the same commands entered into V6.0.0 ?'
What do you mean by "read the data in as a whole"?

Thanks,
Rick

On Jan 31, 2012, at 12:27 PM, Ventrice, Michael J wrote:

> Hello,
>
> I am working the 1.5 deg ECMWF interim data where I have came across a problem I am unable to fix. I have built large-files consisting of Jan 1989 - September 2011 data, and am able to read the data in as a whole, but when I try to read the first latitude point in, I recieve a segmentation fault. I recieve segmantation faults for both v5.2.1 and v.6.0 of NCL. Would you be able to attempt to help me understand what is going wrong?
>
> Thank you,
> Mike Ventrice
>
>
>
>
> ncl
> Copyright (C) 1995-2010 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.2.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0> f=addfile("vp.850.nc","r")
> ncl 1> x=f->vp
> ncl 2> printVarSummary(x)
>
>
> Variable: x
> Type: float
> Total Size: -421147456 bytes
> 968454960 values
> Number of Dimensions: 3
> Dimensions and sizes: [time | 33349] x [lat | 121] x [lon | 240]
> Coordinates:
> time: [1656744..1856832]
> lat: [-90..90]
> lon: [-180..178.5]
> Number Of Attributes: 6
> _FillValue : -999.9
> mapping : cylindrical_equidistant_projection_grid
> grid_resolution : 1.5_degrees
> pressure_level : 850
> units : m^2s^-1
> long_name : velocity_potential
> ncl 3> delete(x)
> ncl 4> y=f->vp(:,0,:)
> Segmentation fault
>
>
>
> --
> Michael J. Ventrice
> Department of Atmospheric and Environmental Sciences
> University at Albany, New York, ES 218
> MVentrice@albany.edu
> Mike.Ventrice@gmail.com
> http://mikeventrice.weebly.com/index.html
> _______________________________________________
> 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 Wed Feb 1 01:09:49 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 02 2012 - 03:10:31 MST