willaguiar / DSW-collaborative-project

0 stars 0 forks source link

[H2] Alter ACCESS-OM2-01 minimum ocean cell depth to 21m, 4 vertical levels #4

Closed willaguiar closed 1 year ago

willaguiar commented 1 year ago

Alter the minimum ocean depth cell in ACCESS-OM2-01 from 10m to 25m depth.

Read H2 for more information

willaguiar commented 1 year ago

Important: I changed the minimum bathymetry depth to 25 m 21m, instead of~10m. This value can still contemplate 4 vertical levels ( as in OM2-025) in the new KDZ75_5mdz grid. For reference check here and here

willaguiar commented 1 year ago

Details below on the changes in bathymetry (new-old bathymetry). A 5-level cutoff 4-level cutoff for the bathymetry was used, so depths below 29m 21m were turned into z=29m z=21m. Almost no change happens around Antarctica (except in the Antarctica peninsula). Most of the changes seem to happen in the Arctic.

Because we just deepened the shallow seas, we do not need to update the ocean/land/masks. I will then start rerunning RYF simulation, with the new bathymetry.

Dbath_global-3 Dbath_Antarctica-3

PS: updated to 21m min depth (4 levels) on April 5th 2023

dkhutch commented 1 year ago

That is reassuring to see that Antarctic bathymetry is hardly affected!

willaguiar commented 1 year ago

I started running the model with the new topography, created as above. Model crashes with the new topography with the following error Error from ocean_thickness_mod: Free surface penetrating rock! Model unstable. Unexpected, since the only change in the topography was a deepening of the shallow seas. Anyways, I found out this issue happened before in a previous fix done in the topography . I will try fix the issue with the tool described in the link ( and perhaps update the lance/ocean masks too). PS: this information might be useful for panan005 and panan0025 too.

adele-morrison commented 1 year ago

That seems odd. You have the same land / sea mask right? If you just deepened the ocean there shouldn’t be any new non-advective cells. Are you using the same time step as the original RYF used for the spin up?

Can you see what grid cell the crash is happening in?

On Wed, Apr 5, 2023 at 8:55 AM, Wilton Aguiar @.***> wrote:

I started running the model with the new topography, created as above. Model crashes with the new topography with the following error Error from ocean_thickness_mod: Free surface penetrating rock! Model unstable. Unexpected, since the only think change in the topography was a deepening of the shallow seas. Anyways, I found out this issue happened before in a previous fix done in the topography https://github.com/COSIMA/access-om2/issues/99#issuecomment-401532257. I will try fix the issue with the tool described in the link ( and perhaps update the lance/ocean masks too). PS: this information might be useful for panan005 and panan0025 too.

— Reply to this email directly, view it on GitHub https://github.com/willaguiar/DSW-collaborative-project/issues/4#issuecomment-1496699261, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA44U5V6GL54LZUJR4CQHTW7SRF7ANCNFSM6AAAAAAVI3LLLM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dkhutch commented 1 year ago

I just realised you are now going for 5-level minimum (29 m) instead of 4-level. That sounds fine to have a bit more margin for stability, but just wondering, did you have problems with the 4-level version?

willaguiar commented 1 year ago

That seems odd. You have the same land / sea mask right? If you just deepened the ocean there shouldn’t be any new non-advective cells. Are you using the same time step as the original RYF used for the spin up? Can you see what grid cell the crash is happening in?

Yes. I used the same land/sea mask (from here:/g/data/ik11/inputs/access-om2/input_08022019/mom_01deg). Timestep is 300 ( it was working before using the original topography in the dir above). access-om2.err do not say which grid cells the error come from tho. The only thing that comes to my mind is that perhaps I edited the wrong bathymetry file ( before the changes done by @aekiss). The source file I used for editing was /g/data/ik11/inputs/access-om2/input_08022019/mom_01deg/topog.nc which was pointed in the config.yaml.

rundir is in /home/156/wf4500/access-om2-01/ryf

PS: now I also tried running with a new mask, but the error persists.

willaguiar commented 1 year ago

I just realised you are now going for 5-level minimum (29 m) instead of 4-level. That sounds fine to have a bit more margin for stability, but just wondering, did you have problems with the 4-level version?

Not really. I wanted to deepen anything with Z<25m, and the depths of the new grid close to 25m were 21m (4 levels) and 29m (5 levels). So I just chose 29 m arbitrarily. I can probably set to 21m, but maybe the free surface problem would be worse.

I just changed it back to 21m cutoff (4 levels)

willaguiar commented 1 year ago

I found the problem. The flag for land (-1e30f) was not saved in the final netcdf. changing that and running again

willaguiar commented 1 year ago

I found the problem. The flag for land (-1e30f) was not saved in the final netcdf. changing that and running again

Problem fixed by changing the land flag. RYF simulation is running now (day 5) with the new topography [zmax=21m, 4 levels]