[MITgcm-devel] scaling of output fields
Ed Hill
ed at eh3.com
Thu Apr 28 15:01:06 EDT 2005
On Thu, 2005-04-28 at 11:33 -0700, Dimitris Menemenlis wrote:
> > 2) Add a mechanism to scale: (scaled_diag = alpha * diag + beta)
>
> Ed, three quick comments.
>
> 1) For real*4 we don't need the "alpha" part.
> Only "beta" matters, right?
True. Chris also pointed this out to me. But its useful if we want to
extend the scaling notion to work with non-reals (eg. 8-bit or 16-bit
integers) as they do in netCDF. So why not leave it in?
> 2) beta could possibly also depend on depth
Yes. But that'll get complicated and annoying with many different
variables each having different depth profiles, right?
> 3) maybe ask Gael if this will be good enough?
If the scaling isn't easy to do (say, there is no mean thats easy to
remove) then we can always fall-back to the per-field use of Real*8's.
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
More information about the MITgcm-devel
mailing list