gmao-cda / cycle-oletkf

controlling scripts for doing cycling DA with GEOS
0 stars 0 forks source link

run_fcst.py #15

Closed gmao-cda closed 1 year ago

gmao-cda commented 1 year ago
gmao-cda commented 1 year ago

use gcm_setup run using gcm_run_lib.py at 5 deg

location: /discover/nobackup/cda/projects/test_flow_base

Steps

  1. ./gcm_setup clone the exp "/discover/nobackup/cda/projects/5deg_test2_python"
  2. prepare initial conditions
    cd /discover/nobackup/cda/projects/test_flow_base
    cd /discover/nobackup/cda/develop_space/cycle-oletkf
    ./prep_restart_files_GEOSgcm.py /discover/nobackup/cda/projects/test_flow_base /discover/nobackup/cda/projects/5deg/restarts/restarts.e20160101_12z.tar
    ./revise_time.py /discover/nobackup/cda/projects/test_flow_base 2017010100 2017010106
  3. modify the gcm_run codes L774-446: expid, expdir, homdir L778: cpu based on node
  4. modify /discover/nobackup/cda/develop_space/cycle-oletkf/cylc/fcst_5/flow.cylc
  5. cylc stuff vip
gmao-cda commented 1 year ago

use clone_exp.csh to clone the expdir and run

location: /discover/nobackup/cda/projects/test_flow_base_clone

steps

  1. /discover/nobackup/cda/develop_space/cycle-oletkf/clone_exp.sh: modify CLONEDIR, EXPID, EXPDSC
  2. prepare IC
    ./prep_restart_files_GEOSgcm.py /discover/nobackup/cda/projects/test_flow_base_clone /discover/nobackup/cda/projects/5deg/restarts/restarts.e20160101_12z.tar
    ./revise_time.py /discover/nobackup/cda/projects/test_flow_base_clone 2017010100 2017010106
  3. modify the gcm_run codes L774-446: expid, expdir, homdir L778: cpu based on node modify /discover/nobackup/cda/develop_space/cycle-oletkf/cylc/fcst_5/flow.cylc
  4. cylc stuff vip
gmao-cda commented 1 year ago

clone_exp.sh

NEWEXPDIR=$EXPDIRroot/$NEWEXPID NEWHOMDIR=$HOMDIRroot/$NEWEXPID NEWEXPID=$EXPID GROUProot EXPDSC

gmao-cda commented 1 year ago

test_can_5deg

  1. cp -r exp_template_5deg test_can_5deg & cd test_can_5deg
  2. revise HISTORY.rc.template
  3. revise init.py.template
  4. prepare IC
    ./prep_restart_files_GEOSgcm.py /discover/nobackup/cda/projects/test_can_5deg /discover/nobackup/cda/projects/5deg/restarts/restarts.e20160101_12z.tar
    ./revise_time.py /discover/nobackup/cda/projects/test_can_5deg 2017010100 2017010106
  5. modify the gcm_run codes L774-446: expid, expdir, homdir L778: cpu based on node modify /discover/nobackup/cda/develop_space/cycle-oletkf/cylc/fcst_5/flow.cylc
  6. cylc stuff vip
gmao-cda commented 1 year ago

test_fcst0001_5deg

  1. mkdir -p /discover/nobackup/cda/projects/letkf_exp
  2. cd /discover/nobackup/cda/projects/letkf_exp
  3. cp -r ../exp_template_5deg fcst0001 & cd fcst0001
  4. revise HISTORY.rc.template
  5. revise init.py.template
  6. prepare IC
    ./prep_restart_files_GEOSgcm.py /discover/nobackup/cda/projects/letkf_exp/fcst0001 /discover/nobackup/cda/projects/5deg/restarts/restarts.e20160101_12z.tar
    ./revise_time.py /discover/nobackup/cda/projects/letkf_exp/fcst0001 2017010100 2017010106
  7. modify the gcm_run codes L774-446: expid, expdir, homdir L778: cpu based on node modify /discover/nobackup/cda/develop_space/cycle-oletkf/cylc/fcst_5_anywhere/flow.cylc
  8. cylc stuff vip
gmao-cda commented 1 year ago
./prep_geos_fcst.py /discover/nobackup/cda/projects/letkf_exp/fcst0002 \
--exp_template exp_template/exp_template_5deg  \
--cycleBkgdDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/bkgd/0002/20220101T00 \
--cycleAnalDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/anal/0002/20220101T00
./revise_time.py /discover/nobackup/cda/projects/letkf_exp/fcst0002 2017010100 2017010106
gmao-cda commented 1 year ago
./prep_geos_fcst.py /discover/nobackup/cda/projects2/tmp/fcst0002 \
--expTplDir exp_template/exp_template_5deg  \
--cycleBkgdDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/bkgd/0002/20220101T00 \
--cycleAnalDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/anal/0002/20220101T00 \
--fwdExec /discover/nobackup/projects/gmao/scda_iesa/cda/GEOSgcm_08Nov2022/install/bin/GEOSgcm.x \
--fcstStartDate 20220101T00 \
--fcstHrs 6
gmao-cda commented 1 year ago
./prep_geos_fcst.py /discover/nobackup/cda/projects2/tmp/fcst0002 \
--expTplDir exp_template/exp_template_5deg \
--cycleBkgdDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/bkgd/0002/20220101T00 \
--cycleAnalDir /discover/nobackup/cda/projects/test_cylc/test_prep_bkgd/anal/0002/20220101T00 \
--fwdExec /discover/nobackup/projects/gmao/scda_iesa/cda/GEOSgcm_08Nov2022/install/bin/GEOSgcm.x \
--fcstStartDate 20220101T00 \
--fcstHrs 6 

./revise_time.py  /discover/nobackup/cda/projects2/tmp/fcst0002 2017010100 2017010106