[MITgcm-support] S/R exf_check_range error

Dmitri Leonov dleonov at u.washington.edu
Fri Sep 29 13:46:20 EDT 2006


Hello all,

I ran into an error at 'S/R exf_check_range' which I cannot explain. Am 
I missing something? (see below) The ieee='b' is correct for other mdsio 
files are read in correctly.  The error appeared only after tau0 was 
changed from -0.03 to 0.015.

Any ideas would be appreciated,
Dmitri

My data.exf file looks like

&EXF_NML
#
ustressstartdate1   = 20061001,
ustressstartdate2   = 000000,
ustressperiod       = 129600.0,
ustressfile         = 'taux.dat',
#
exf_iprec         = 32,
exf_yftype        = 'RL',
&

and the file is generated in Matlab as follows:
%
prec='real*8';
ieee='b';
%...
tau0=0.015;
tau=zeros(nx,ny,21);
tau(:,:,3:21)=tau0;
fid=fopen('taux.dat','w',ieee); fwrite(fid,tau,prec); fclose(fid);
%






More information about the MITgcm-support mailing list