edoddridge / aronnax

An idealised isopycnal model that can be run either with n+1/2 layers, or with n layers and variable bathymetry.
http://aronnax.readthedocs.io/en/latest/
MIT License
24 stars 6 forks source link

Can I involve the bathymetry in the two-layer model #231

Closed shifei90 closed 3 years ago

shifei90 commented 3 years ago

Hi,

I have seen many interesting examples. I'm wandering whether the two-layer model can involve the bathymetry?

edoddridge commented 3 years ago

It certainly can. The example here: https://aronnax.readthedocs.io/en/latest/examples.html#yang-et-al-2016 uses a very simple bathymetry with a flat bottom surrounded by a slope near the edge.

To specify a non-trivial bathymetry, you need to provide an appropriate field using the depthFile parameter.

shifei90 commented 3 years ago

Got it. Thank you, Edward.