You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is wrong because if you don't specify a datefmt it will crash because call get_sim_time(dict) is never called.
The possible solution is to move the call above the if-block:
if(this%fmt_uses_simTime) thencall get_sim_time(dict)
if (allocated(this%datefmt)) then
simtime = FormatString(this%datefmt, dict)
else
simtime = FormatString(DEFAULT_DATE_FMT, dict)
end ifcall extra%insert('simtime', String(simtime))
end if
The text was updated successfully, but these errors were encountered:
As discovered by @tclune and myself when trying to use the "sim_time" functionality of pflogger, this code:
pFlogger/src/Formatter.F90
Lines 271 to 280 in 6011e59
is wrong because if you don't specify a
datefmt
it will crash becausecall get_sim_time(dict)
is never called.The possible solution is to move the call above the if-block:
The text was updated successfully, but these errors were encountered: