Subscript out of range, error in subscript #2

From: Vanúcia Schumacher <vanucia-schumacher_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 06 2014 - 17:28:59 MDT

Hi users,
I do not understand this error:
Subscript out of range, error in subscript #2fatal:Memory allocation fail=
ure:[errno=12]
fils=systemfunc("ls pgbhnl.gdas.*.grb2")f = addfiles(fils, "r") =
                          ListSetType(f,"join") t1=f[:]->TMP_P0=
_L100_GLL0(:,{85000},{-35:-25},{-60:-45})t2=f[:]->TMP_P0_L100_GLL0(=
:,{50000},{-35:-25},{-60:-45})ur1=f[:]->RH_P0_L100_GLL0(:,{85000}=
,{-35:-25},{-60:-45})ur2=f[:]->RH_P0_L100_GLL0(:,{70000},{-35:-25=
},{-60:-45})
t1c=t1-273.15t2c=t2-273.15
 td = dewtemp_trh(t1c,ur1) copy_VarCoords( t1c, td)fils1 = syste=
mfunc("ls pgbhnl.gdas.*.grb2")f1 = addfiles(fils1, "r") =
                ListSetType(f1,"join") t3=f[:]->TMP_P0_L100_GLL=
0(:,{85000},{-35:-25},{-60:-45})t4=f[:]->TMP_P0_L100_GLL0(:,{5000=
0},{-35:-25},{-60:-45})ur3=f[:]->RH_P0_L100_GLL0(:,{85000},{-35:-=
25},{-60:-45})ur4=f[:]->RH_P0_L100_GLL0(:,{70000},{-35:-25},{-60:=
-45})
t3c=t3-273.15t4c=t4-273.15 td1= dewtemp_trh(t3c,ur3) copy=
_VarCoords( t3c, td1 ) tt=(t1c+td)-2*t2c
tt1=(t3c+td1)-2*t4c media= dim_avg_n_Wrap(tt, 0) media1= dim_a=
vg_n_Wrap(tt1, 0) anomalia= media - media1copy_VarCoords(media, anoma=
lia)
 wks = gsn_open_wks("png","tt-anomalia-inv-dia-0")
  opcao = True opcao@gsnAddCyclic = Fals=
e opcao@mpMinLatF = -35 opcao@mpMaxLatF = -25 op=
cao@mpMinLonF = -60 opcao@mpMaxLonF = -45
  plot = gsn_csm_contour_map(wks,anomalia({9000},{-35:-25},{-60:-45=
}),opcao)end




                                               =


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


Received on Fri Jun 06 11:28:59 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT