Hi,
I try to use an NCL script :
#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# dump data from a pop netcdf data set readable in gradsnc
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
;***************************************************************
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
;get ncl ccsm remap functions
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl"
begin
fili = "fluxin.ares.dat"
filo = "fluxout.dat"
i=0
do while (i.lt.2000)
x = fbinrecread(fili, i, (/180,360/), "float")
xout = PopLatLon(x,"1x1d","gx1v3","aave","da","010821")
fbinrecwrite(filo,-1,xout)
i=i+1
end do
end
I get the error :
fatal:fbinrecread: a read error occurred while reading (fluxin.ares.dat) , can't continue
fatal:Execute: Error occurred at or near line 19
I don t know where it comes from because the dimensions are correct and if I take i =0 works so I think is a problem with the while loop but I don t know what problem. Could someone give me an advice about how should I fix it or from where it comes ?
Thank you,
Ioana
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 28 18:48:42 2010
This archive was generated by hypermail 2.1.8 : Fri Jul 02 2010 - 07:45:13 MDT