segmentation fault

From: Ahmad Farsyud <a.farsyud_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 31 2014 - 12:55:38 MDT

Hallo NCL folks, would you please to help me, why did I get this error:

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/diagnostics_cam.ncl"

ncl 6>
ncl 7> ;begin
ncl 8>
ncl 9> f = addfile ("ERA_daily.nc" , "r")
ncl 10>
ncl 11> TIME = f->time
ncl 12> YMDH = cd_calendar(TIME, 0)
ncl 13> itime = ind(YMDH(:,1).gt.1 .and. YMDH(:,1).le.3)
ncl 14>
ncl 15> data1 = dble2flt(f->var129(itime,:,{10:90},:))

*Segmentation fault*

*My input data:*

dimensions:
lon = 144 ;
lat = 73 ;
lev = 23 ;
time = UNLIMITED ; // (20270 currently)
variables:
double lon(lon) ;
lon:long_name = "longitude" ;
lon:units = "degrees_east" ;
lon:standard_name = "longitude" ;
lon:axis = "X" ;
double lat(lat) ;
lat:long_name = "latitude" ;
lat:units = "degrees_north" ;
lat:standard_name = "latitude" ;
lat:axis = "Y" ;
double lev(lev) ;
lev:long_name = "pressure" ;
lev:units = "Pa" ;
lev:axis = "Z" ;
double time(time) ;
time:units = "hours since 1958-01-01 00:00:00" ;
*time:calendar = "proleptic_gregorian" ;*
double var129(time, lev, lat, lon) ;
var129:table = 128 ;

Thank you

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 31 12:55:49 2014

This archive was generated by hypermail 2.1.8 : Thu Apr 03 2014 - 13:36:27 MDT