Isca icon indicating copy to clipboard operation
Isca copied to clipboard

Min/Max Time Averaging

Open jduffield65 opened this issue 1 year ago • 0 comments

Hello,

I am trying to trying to use the min/max/diurnal averaging indicated in the diag_manager module.

So basically, to get the minimum daily surface temperature, I am using the following diag_table file:

"FMS Model results"
0001 1 1 0 0 0
# = output files =
# file_name, output_freq, output_units, format, time_units, long_name

"atmos_daily", 1, "days", 1, "days", "time",

# = diagnostic field entries =
# module_name, field_name, output_name, file_name, time_sampling, time_avg, other_opts, precision

"mixed_layer", "t_surf", "t_surf", "atmos_daily", "all", "min", "none", 2,

But this just gives the same results as if time_avg = .true.. The diag_table file that is saved in the same folder as atmos_daily.nc has the last line above replaced by:

"mixed_layer", "t_surf", "t_surf", "atmos_daily", "all", .true., "none", 2,

If I instead use the following:

"mixed_layer", "t_surf", "t_surf", "atmos_daily", "all", "ghhurijdokdwkf", "none", 2,

It does the same thing, so I guess it is just converting any string into .true..

Any help on how to do min/max/diurnal time averaging would be much appreciated

jduffield65 avatar Nov 14 '22 12:11 jduffield65