## The cells in this file can only be run after running those in drycbl_run_plot.jl


## Transfer the state from the high to the low resolution and plot it.
MicroHH.transfer_state!(f1, f2, g1, g2)
node1[] = s_bot1 .- mean(s_bot1)
node2[] = s_bot2 .- mean(s_bot2)


## Run the model for another 900 sec.
m.timeloop[1].end_time += 1800.
m.timeloop[1].iend_time += 1800 * MicroHH.ifactor
in_progress = true
while in_progress
    global in_progress = step_model!(m)
    node11[] = s_bot1 .- mean(s_bot1)
    node21[] = s_bot2 .- mean(s_bot2)
    node12[] = s1[:, 1, :] .- mean(s1, dims=(1, 2))[:, 1, :]
    node22[] = s2[:, 1, :] .- mean(s2, dims=(1, 2))[:, 1, :]
end
