Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable EP4a experiments (DO NOT MERGE) #1865

Closed
wants to merge 15 commits into from

Conversation

rmontuoro
Copy link

Please do not merge.

This draft PR is only intended to illustrate the changes required to run Ensemble Prototype 4 with aerosols (EP4a) experiments in order to inform future GEFSv13-related development.

Instructions on how to set up and run an EP4a experiment using the updates included in this PR are provided below:

Workflow instructions for EP4a

  1. Clone the forked repository, branch gefs/ep4a
$ git clone -b gefs/ep4a https://github.com/rmontuoro/global-workflow
  1. Checkout EP4a and other workflow components
$ cd sorc/
$ ./checkout.sh -p EP4A
  1. Build and link components
$ ./build_all.sh
$ ./link_workflow.sh
$ cd ../workflow/
  1. Load shell environment
$ source gw_setup.sh
$ set +u
  1. Set the PSLOT (case name), EXPDIR, and COMROT variables

  2. Create experiment directories

$ ./setup_expt.py gefs forecast-only --proto EP4A --idate 2018010300 --edate 2018010300 --gfs_cyc 1 --pslot $PSLOT --comrot $COMROT --expdir $EXPDIR --nens 10
  1. Stage ICs (see below)

  2. Create workflow

$ ./setup_xml.py $EXPDIR/$PSLOT --maxtries 1
  1. Run workflow
$ cd $EXPDIR/$PSLOT
$ rocotorun -w $PSLOT.xml -d $PSLOT.db -v 10

Staging initial condition files

Initial conditions must be manually staged to the $COMROT/$PSLOT directory according to the directory structure below.
Ensemble members are labeled mem###, with mem000 being the control member.

Previous cycle:

gefs.20180102/
|-- 18/
    |-- mem001/
        |-- model_data/
            |-- ice/
                |-- restart/
                    |-- 20180103.000000.cice_model.res.nc

Current cycle:

gefs.20180103/
|-- 00/
    |-- mem001/
        |-- model_data/
            |-- atmos/
            |   |-- input/
            |        |-- gfs_ctrl.nc
            |        |-- gfs_data.tile1.nc
            |        |-- gfs_data.tile2.nc
            |        |-- gfs_data.tile3.nc
            |        |-- gfs_data.tile4.nc
            |        |-- gfs_data.tile5.nc
            |        |-- gfs_data.tile6.nc
            |        |-- sfc_data.tile1.nc
            |        |-- sfc_data.tile2.nc
            |        |-- sfc_data.tile3.nc
            |        |-- sfc_data.tile4.nc
            |        |-- sfc_data.tile5.nc
            |        |-- sfc_data.tile6.nc
            |-- ocean/
            |   |-- input/
            |       |-- mem001_pert.nc
            |       |-- ORAS5.mx025.ic.nc
            |-- wave/
                |-- prep/
                    |-- gefswave.mod_def.glo_025

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shellcheck found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@aerorahul aerorahul mentioned this pull request Sep 28, 2023
7 tasks
@aerorahul
Copy link
Contributor

@rmontuoro
How long is this to be kept open?
Users can always refer to this PR from the closed pull requests tab if necessary.

@aerorahul
Copy link
Contributor

This branch is stale and with conflicts.
Please reopen when ready for review.

@aerorahul aerorahul closed this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants