faulty ocean_time in diagnostics file

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
moritz

faulty ocean_time in diagnostics file

#1 Unread post by moritz »

I noticed that the time record (ocean_time) in the output diagnostics files is incorrect when

#undef DIAGNOSTICS_TS
and
# define DIAGNOSTICS_BIO

In the case where the diagnostics file has several output time slices, all elements of ocean_time are identical (and equal to the time of the first output slice) and in units of days.

I undefined DIAGNOSTICS_TS to save disk space and because I am fiddling with the biological model only. When DIAGNOSTICS_TS is defined the output is as expected.

Best, Moritz

User avatar
arango
Site Admin
Posts: 1367
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: faulty ocean_time in diagnostics file

#2 Unread post by arango »

Yes, the problem here is that main3d was not calling set_diags. Please update your code. Thank you for reporting this problem.

Post Reply