[MITgcm-support] MNC and variable types

Jean-Michel Campin jmc at ocean.mit.edu
Tue Aug 16 09:54:58 EDT 2011


Hi Michael,

I think that the selection of output file precision is 
the same for NetCDF output (MNC) or plain binary output.
So, if you set 
 writeBinaryPrec=64,
in the main parameter file "data", 1rst namelist,
you should get double-precision NetCDF output files.
(in fact, it works for both plain binary
If you are using pkg/diagnostics + MNC,
you can also specify the precision on a per output-file basis,
e.g., in verification/ideal_2D_oce/input/data.diagnostics
  fileName(1) = 'surfDiag',
 fileFlags(1) = 'D       ',
switch this output file to be written in double prec (MNC or plain
binary, depending on what was selected).

Cheers,
Jean-Michel

On Tue, Aug 16, 2011 at 05:13:19PM +1000, Michael Bates wrote:
> Hi list,
> 
> I'm using MNC for diagnostics and would like my variables to be output as doubles instead of floats.  At the moment only variables with a single dimension are output as double precision.  But, I'd like the rest of them to also be written as double precision too.
> 
> I haven't been able to find any switches to get doubles instead of floats in MNC, and was wondering if someone knew how to get the model to output its diagnostic variables as double precision in netcdf format?
> 
> Thanks,
> Michael
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list