Skip to content

deploy a realtime run in Jet

Guoqing Ge edited this page Sep 1, 2024 · 1 revision

An example on deploying a new version of rrfs for Jet Realtime run

1. Clone and build

replace 2.0.1 with an appropriate version number

cd /lfs5/BMC/nrtrr/RRFS
git clone -b rrfs-mpas-jedi --recursive git@github.com:NOAA-EMC/rrfs-workflow 2.0.1
cd 2.0.1/sorc
./build.all

2. Generate the experiment and the rocoto XML file

crontab -e # comment out the old version of the rrfs realtime run
cd 2.0.1/rocoto
cp ../parm/config/exp/exp.jet_conus3km exp.setup 
# Modify exp.setup, set variables, such as VERSION, etc as eeded.
./setup_exp.py
crontab -e # make sure the new version of the rrfs realtime run is active in the crontab

3. Go to the expdir to make sure everything works correctly

cd /home/role.rtrr/RRFS/2.0.1/conus3km
./run_rocoto.sh
rstat

Sometimes, manually rocoto_boot a cycle may be beneficial. For example, a new version is deployed at 03z. 03z will need lbc from 00z. So one can run the following command to reboot the lbc task at 00z so that 03z cycle can start soon.

rboot 202407190000 lbc

where rboot is a quick command provided by the qrocoto tool.
Check this instuction on how to quickly set up and use the qrocoto tool.