[MITgcm-support] Reading a binary vector

Jody Klymak jklymak at uvic.ca
Wed Jul 18 16:31:10 EDT 2007


Hi Dimitris,

Sorry, should have been more careful - it is set to 'ieee-be'.  I can  
get other files from Matlab to MITgcm (i.e. the various init files).

Again, a generic question is what is the "best practice" for  
initializing user-defined variables like this?

Thanks a lot,  Jody

On Jul 18, 2007, at 11:55 AM, Dimitris Menemenlis wrote:

> Jody,
>
> fid=fopen('HorStruct.bin','w',ieee);
>
> what is "ieee" set to?  The default for the MITgcm is ieee='ieee-be';
>
> Dimitris
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

--
Jody Klymak
http://web.uvic.ca/~jklymak/





More information about the MITgcm-support mailing list