Swm
Shallow water equations solver with finite differences written in Python. Arakawa C-grid, Arakawa and Lamb advection scheme, Shchepetkin and O'Brian-like biharmonic diffusion operator. 4th order Runge-Kutta for time integration.
Install / Use
/learn @milankl/SwmREADME
swm - Shallow water model
Shallow water equations solver with finite differences. Arakawa C-grid, Arakawa and Lamb advection scheme, Shchepetkin and O'Brian-like biharmonic diffusion operator. 4th order Runge-Kutta for time integration.
A documentation is available at http://www.github.com/milankl/swm/tree/master/docu
This model is written in python, relies on numpy, scipy and netCDF4.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
RUN
You may want to change settings in swm_param.py before you run the model. Then simply do
python swm_run.py
Energy budget-based backscatter
An implementation of the energy budget-based backscatter as described in Kloewer et al 2018, Ocean Modelling can be found in the separate branch "backscatter".
Copyright (C) 2018, Milan Kloewer (milan.kloewer@physics.ox.ac.uk, milank.de)
Citation
If you use this package in your research, please cite us
Klöwer M, MF Jansen, M Claus, RJ Greatbatch and S Thomsen, 2018. Energy budget-based backscatter in a shallow water model of a double gyre basin, Ocean Modelling, 132, 10.1016/j.ocemod.2018.09.006
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.0kCommit, push, and open a PR
