lisflood-code icon indicating copy to clipboard operation
lisflood-code copied to clipboard

after initialization run lzavin and avgdis maps have time variable

Open valeriolorini opened this issue 4 years ago • 0 comments

after initialization run lzavin and avgdis maps have a 'time' variable. The variable contains only 1 timestep which is not related to the timesteps of next run in which they'll be used. The cutmap function in loadmap in add1 fails because of the wrong timestep. We'd need a workaround for such cases. It can happen that static maps are created with 1 timestep only. I suggest we add an if len(timesteps)>1 then do_as_now else: do as the file has no time var

valeriolorini avatar Jun 22 '20 12:06 valeriolorini