Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bnb32/spring_onset
Post-doctoral spring onset research
https://github.com/bnb32/spring_onset
climate-model simulation
Last synced: 24 days ago
JSON representation
Post-doctoral spring onset research
- Host: GitHub
- URL: https://github.com/bnb32/spring_onset
- Owner: bnb32
- License: mit
- Created: 2021-08-26T18:57:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-30T18:38:46.000Z (over 2 years ago)
- Last Synced: 2024-06-11T17:51:42.111Z (5 months ago)
- Topics: climate-model, simulation
- Language: Python
- Homepage:
- Size: 12.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
*********************
Idealplanets Overview
*********************This repo is for running aquaplanet and drycore simulations with CESM on Cheyenne.
Documentation
=============
``_Initialization
==============After following the installation instructions `here `_:
Edit environment configuration:
.. code-block:: bash
cd spring_onset
cp idealplanets/environment/config.py my_config.py
vim my_config.jsonConfiguration can be in either .py or .json format. Follow the required
variables from config.py. Easiest is just to edit the my_config.py file and
not convert to json... code-block:: bash
cd spring_onset
bash ./go.shThis go script kicks off scripts from the scripts directory and requires
the my_config.py file. Pip has trouble installing PyNIO so this package may
need to be installed manually with conda.Preprocessing
=============`idealplanets/preprocessing/inject_anomaly.py` is used to inject a heat anomaly or change in phi into an sst file or topo file. This script can inject disk and band type heat anomalies. Parameters are specified through the command line using the `argparse` module.
Postprocessing
==============`idealplanets/postprocessing/plot_field.py` is used to visualize output from the aquaplanet simulations.
Simulation
==========`.F90` files from `cesm_mods` need to be copied into `$CASEDIR/SourceMods/src.cam` and `namelist_definition.xml` needs to be in `$CESM/components/cam/bld/namelist_files/`
`run_cesm.py` runs the aquaplanet/drycore simulation using parameters specified through the `argparse` module.
`run_pipeline.py` injects a heat anomaly, runs the aquaplanet simulation, and can run both visualization scripts. Parameters are again specified through the `argparse` module.
`run_batch.py` can be used to run multiple CESM instances at the same time.