Skip to content

proshonti/ACE2

Repository files navigation

Author: Proshonni Aziz

Making the Initial condition

Execute the file by ./make_all_ic.sh 1962 if you want to make an initial condition for 1962. This file uses make_ic.sh and ace2_mkinitial. The initial condition will be created. For some reason, they run in only csh environment.

Making the Perturbed Initial condition

Execute the file by ./make_perturbed_ic.py 1962 if doesn't work then python make_perturbed_ic.py 1962 If you want to create a perturbed initial condition for 1962. It uses the initial condition for 1962 from the step above and ADDS the anomaly of air temperature, u and v wind mask from 60 degree to 90 degrees North on the three steps of the stratosphere.

Check initial and perturbed initial conditions

To go ahead with the model run, we need to check beforehand if the perturbations worked properly. To do that, we use this Jupyter Notebook: Actual_ACE2_Simulation_initial.ipynb The code there is pretty self explanatory and visualise the difference between the perturbed and controlled initial conditions.

Set up forcings

To make the ACE2 model run, we need to set up the forcing folder. When I run the ACE2 model for 1962, then in the forcing folder there needs to be only 1962 and 1963 forcing files, otherwise the MODEL DOES NOT RUN. To do that I set up a routine and we can execute it by: ./set_forcing.sh 1962

Running ACE2 model

Now that the forcing folder is set, controlled and perturbed initial conditions are made, we run the ACE2 model by editing the my_inference_config.yaml.

  1. We change the initial condition there
  2. We also change the year

Then we type in terminal:

bash

conda activate fme

cd datasets/ACE2

sbatch ace2_script.txt

Check the progress by:

squeue -u g260239

The model will only run if you have the environment set up. In here I just provided how to run it after you have the environment set up. To set up the environment, you need to follow the ACE and ACE2 original script. https://github.com/ai2cm/ace

About

This is the instruction of how I used ACE2 model in my paper. The main repository for this model is: https://github.com/ai2cm/ace

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages