write binary

From: Prince K. XAVIER <xavier_at_nyahnyahspammersnyahnyah>
Date: Wed, 06 Sep 2006 11:35:54 +0200

Hello all,

I am wondering if the following fortran and NCL commands are equivalant.

Fortran:
open(nfic,file=ficodem,form='unformatted')
write(nfic)float(year),float(month),float(day),1.,0.
write(nfic)((v(jlo,ila),jlo=nlod,nlof),ila=nlad,nlaf)

NCL:
dateF = (/year,month,day,1.,0./)
fbindirwrite(outpath, dateF )
fbindirwrite(outpath, v({nlod:nlof},{nlad:nlaf}))

But, both the outputs show different file sizes!
Any help is greatly appreciated.
Thanks
prince

-- 
Prince K. XAVIER		
Laboratoire de Meteorologie Dynamique
Ecole Normale Superieure
24 Rue Lhomond 75231 Paris 
cedex 05 FRANCE
Tel: +33 (0)1 44 32 22 32
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 06 2006 - 03:35:54 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 06 2006 - 10:52:20 MDT