Hi Nicolas,
I think you've got the answer you need, but you can always also
just check what's in the file. Change the repeat-loop range to
write out just the first few values. Then cancel all the
definitions and open the file in Ferret, listing the data. Or get
out of Ferret and use ncdump to write out everything in the file.
> ncdump Output.nc
will write all the header, the coordinates, and the data values,
showing the data types, attributes, and so forth. (This is why I
suggested writing just a few values.) This way you'd have
confidence in your definitions and in what is being written.
-Ansley
On 3/17/2017 3:26 AM, Nicolas Freychet
wrote:
Hi all,
I computed the daily minimum of temperature based on 3h datasets
(8 values/day), using the methodology (by steps of 8, I pick up
the minimum temperature, and associate it to the first step to
record it)
define
axis/calendar=julian/t=01-jan-1979:31-dec-1995:3/units=hours
tmodel
repeat/range=1:49672:8/name=it ( let
tmin=temp[l=`it`]*0+tmin[l=`it`:`it+7`@min] ;
save/append/file=Output.nc Tmin[l=`it`,gt=tmodel@asn] )
The problem is my output file is much bigger than it
should. I got the impression that Ferret is recording the
whole "formula" and not just the value of Tmin. Is there a
way to solve that?
(my way to define Tmin may not be optimal though, that
may cause the problem...)
Thanks,
Nicolas
----------------------------------------------------
Nicolas Freychet
PDRA, School of Geosciences
University of Edinburgh
----------------------------------------------------
|