This repo is for setting up wrf on AWS.
RUNNING WRF
-
Create new cloud9 instance:
- select Ubuntu under "Platform"
- select vpc-00177ee82dc8fe654 under "Network Settings"
-
Add default security group to your cloud9 instance
- Go to AWS console
- Click on running instances
- Click on your instance in the list
- Click on actions, networking, change security groups
- Select default group and assign group
-
Clone wrf_aws repo to your cloud9 instance
-
Run the following commands to install packages and mount storage
$ cd wrf_aws
$ ./go
-
To run wrf first edit namelist files for your own application
$ cd forecast/templates
$ vim namelist.wps
$ vim namelist.input
-
Then edit the runwrf script to select length of simulation
$ cd forecast
$ vim runwrf
-
Edit
N_DAYS
andUSERNAME
variables inrunwrf
-
Finally run wrf
$ ./runwrf
-
wrf output will be in
'/data/<username>/wrfout'
POST-PROCESSING
-
For post-processing login to your workspace
-
Open a terminal and clone wrf_aws
-
again run the following commands
$ cd wrf_aws
$ ./go
-
This will setup a python conda environment
- to run conda open another terminal
- run the following command
$ conda activate ecrl