Data and Figures used in "Fast Quasi‐Geostrophic Magneto‐Coriolis Modes in the Earth's Core"
收藏资源简介:
Data, plotting routines and analysis routines to reproduce all results from the article Fast Quasi‐Geostrophic Magneto‐Coriolis Modes in the Earth's Core. The package uses the freely available code Mire.jl. <strong>Prerequisites</strong> Installed python3 with matplotlib ≥v2.1 and cartopy. A working Julia ≥v1.6. <strong>Run</strong> In the project folder run <pre><code>julia --project=.</code></pre> <br> Then, from within the Julia REPL run <pre><code>]instantiate</code></pre> at first time, to install all dependencies. After that, to compute all plots run <pre><code>using FastMCM allfigs() #or allfigs(true) to use LaTeX fonts</code></pre> If loading FastMCM fails, due to a missing cartopy in the python version. Run (within Julia)<br> <pre><code>ENV["PYTHON"] = "python" #this should point to the python version that has cartopy installed ]build PyCall</code></pre> <br> To calculate data, run <pre><code>using FastMCM N=9 calc1dtm() calcLHSRHS(N) calcesol(N) postprocess(N) </code></pre> <br> for a given N. Note, for large N (e.g. 35) this may take a lot of memory and a long time (~13h). If there are any issues, please don't hesitate to get in touch.



