[MITgcm-devel] data.diagnostics: new option for per-file output precisions

Ed Hill ed at eh3.com
Mon May 2 17:38:11 EDT 2005


Hi Gael, Dimitris, Andrea, & Jean-Michel,

I've added a "fileflags()" option to the data.diagnostics namelist input
that allows you to set the output file precisions (on a per-file basis)
to either Real*4 (using 'R       ') or Real*8 (using 'D       ').  The
seven blank spaces are there for future inputs (should we want them).
And I've slightly modified the dic_example test to exercise this new
option.

The default output behavior is exactly the same as before, so no changes
there.

And I've attached a quick MatLAB script that I used to compare the
diagnostics output for the dic_example case when using both R4 and R8
settings for the fields.  Everything seems to be in order but please let
me know if you spot any problems.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Compare_R4_R8.m
Type: text/x-objcsrc
Size: 1710 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20050502/c604e554/attachment.bin>


More information about the MITgcm-devel mailing list