Hi Ferret users,
It seems that
saves var in single precision, if var is from a stream, double-precision binary file. In contrast,
LIST/form=STREAM/file=some.bin var
saves it in double precision.
I'm using Ferret 6.93 on Linux.
I guess the OUTTYPE attribute isn't set for a variable from a binary file, or there is some such inconsistency. I hope it's fixed in the future.
Cheers,
Ryo
---------------------------
I have been able to reproduce this problem with
set data levitus_climatology
cancel data/all
define axis/x=0:359:1 xax
define axis/y=-89.5:89.5:1 yax
define grid/x=xax/y=yax mygrid
file/form=STREAM/var=temp/type=r8/grid=mygrid tmp.bin