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
In the output, we have two variables that describe time:
double time ;
time:unit = "s" ;
time:description = "time elapsed since simulation start" ;
double elapsed_time ;
elapsed_time:unit = "s" ;
elapsed_time:description = "elapsed time since simulation start" ;
And while these are the same in an initial simulation, they are actually different in a restart simulation where elapsed_time would be the correct time and time is reset to 0 as it appears to be used for a counter for when to do output. Therefore time isn't actually time elapsed since simulation start (and probably shouldn't be used for anything or necessarily output).
Example from urban_plume_0001_00000001.nc when restarted from out_init/urban_plume_0001_00000022.nc
In the output, we have two variables that describe time:
And while these are the same in an initial simulation, they are actually different in a restart simulation where
elapsed_time
would be the correct time andtime
is reset to 0 as it appears to be used for a counter for when to do output. Thereforetime
isn't actually time elapsed since simulation start (and probably shouldn't be used for anything or necessarily output).Example from
urban_plume_0001_00000001.nc
when restarted fromout_init/urban_plume_0001_00000022.nc
where in
out_init/urban_plume_0001_00000022.nc
:Relevant code:
partmc/src/run_part.F90
Line 172 in b0cde23
partmc/src/run_part.F90
Line 210 in b0cde23
partmc/src/run_part.F90
Line 794 in b0cde23
The text was updated successfully, but these errors were encountered: