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

Dom #6

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Dom #6

wants to merge 12 commits into from

Conversation

ka7eh
Copy link
Member

@ka7eh ka7eh commented Oct 18, 2022

See the old conversation on this changeset here: #4

How to test with ctsm_dev_env_template:

  1. Clone this repo: https://github.com/MetOs-UiO/ctsm_dev_env_template
  2. Create a .env file in the repo root with the following content:
CTSM_REPO=https://github.com/MetOs-UiO/CTSM.git
CTSM_TAG=kaveh/dom
INPUTDATA=/mnt/fram/noresm/inputdata
  1. Download the prepared ALP1 data from here: https://ns2806k.webs.sigma2.no/EMERALD/EMERALD_platform/ALP1.tar
  2. Extract the data in data folder in the cloned repo
  3. Run ./run_docker.sh in the repo root, then run the following commands in the opened shell within docker container (keep the shell open after running the commands for later steps):
  • /ctsm-api/scripts/setup_case.sh -n ALP1 -c 2000_DATM%GSWP3v1_CLM51%BGC_SICE_SOCN_SGLC_SWAV
  • cd /ctsm-api/resources/cases/ALP1
  • ./xmlchange STOP_OPTION=nyears
  • export CESMDATAROOT=/ctsm-api/resources/data/ALP1
  1. Add the following to /ctsm-api/resources/cases/ALP1/user_nl_clm from within the docker container, or ./cases/ALP1/user_nl_clm from the repo root (if it's not already there):
paramfile = '$CLM_USRDAT_DIR/clm50_params.c211112.nc'

do_harvest = .false.
check_dynpft_consistency = .false.
  1. In the shell you started in step 5, run ./case.build and then case.submit. If these are successful, you should see output in ctsm-api/resources/cases/ALP1/archive/lnd/hist from within the container or in cases/ALP1/archive/lnd/hist from the repo folder.

@ka7eh ka7eh marked this pull request as draft October 18, 2022 07:36
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.

1 participant