Problem with output file

From: jayasankar C B <cbjayasankar_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 01 2013 - 05:19:48 MST

Dear sir/madam,

I am trying to convert NetCDF file to binary data file by using fbindirwrite.
my script is given below.

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
;===================================================================
begin
f = addfile("uwind.nc","r")
print(f)
lat = f->lat
lon = f->lon
plev= f->plev
;print(lat)
;print(lon)
;print(plev)
u = f->u
;print(u)
fbindirwrite("uwind.grd",u)
end

here my input fil "uwind.nc" have 3.6GB size. but when i am getting the
output it is 2.0GB only. i tried this program with another input file
having size 2.2GB, 2.6GB, 3.0GB but output am getting is only upto 2.0GB.
I have checked this output whether it is wright or wrong with ".ctl" file.
it is showing that some of the data is missing(unable to read).
but this program is working exactly with input upto 2.0GB.
please give me a solution for convert it correctly. tell me whats wrong in
my script?

Thanking you.
Jayasankar C B

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 1 05:20:02 2013

This archive was generated by hypermail 2.1.8 : Fri Jan 04 2013 - 15:34:10 MST