diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 2d189fb..6259f86 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -39,7 +39,7 @@ jobs: uses: actions/checkout@v4 with: repository: ESCOMP/CESM - ref: cesm3_0_alpha09d + ref: cesm3_0_alpha09g path: CESM #submodules: recursive diff --git a/docs/installation.rst b/docs/installation.rst index 3c6809e..c586cd6 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,7 +1,7 @@ Installation ====================================== -visualCaseGen presently works with the cesm3_0_alpha09d version of CESM. The following +visualCaseGen presently works with the cesm3_0_alpha09g version of CESM. The following instructions guide you through obtaining this CESM version and installing visualCaseGen within it. Prerequisite @@ -31,8 +31,8 @@ CESM may take some time. .. code-block:: bash - git clone https://github.com/ESCOMP/CESM.git -b cesm3_0_alpha09d cesm3_0_alpha09d - cd cesm3_0_alpha09d + git clone https://github.com/ESCOMP/CESM.git -b cesm3_0_alpha09g cesm3_0_alpha09g + cd cesm3_0_alpha09g ./bin/git-fleximod update Then, clone visualCaseGen (with its submodules) inside the CESM directory: diff --git a/docs/open.rst b/docs/open.rst index 3545239..905bd0d 100644 --- a/docs/open.rst +++ b/docs/open.rst @@ -64,7 +64,7 @@ To access the GUI on a remote machine, set up SSH tunneling with port forwarding .. code-block:: bash conda activate visualCaseGen - cd [PATH_TO_visualCaseGen] # e.g., ~/cesm3_0_alpha09d/visualCaseGen + cd [PATH_TO_visualCaseGen] # e.g., ~/cesm3_0_alpha09g/visualCaseGen jupyter-lab GUI.ipynb --no-browser If the above steps are successful, the command line will display a URL that you can copy and paste into your web browser diff --git a/visualCaseGen/cime_interface.py b/visualCaseGen/cime_interface.py index 81e9290..9d93dd0 100644 --- a/visualCaseGen/cime_interface.py +++ b/visualCaseGen/cime_interface.py @@ -124,10 +124,10 @@ def _check_cime_compatibility(self): cime_major, cime_minor, cime_patch = map(int, match.groups()) - # check cime version compatibility (cesm3_0_alpha09d ships cime6.2.2) + # check cime version compatibility (cesm3_0_alpha09g ships cime6.4.1) assert cime_major == 6, f"Unsupported major version: {cime_major} in cime git tag: {cime_git_tag}" - assert cime_minor == 2, f"Unsupported minor version: {cime_minor} in cime git tag: {cime_git_tag}" - assert cime_patch >= 2, f"Unsupported patch version: {cime_patch} in cime git tag: {cime_git_tag}" + assert cime_minor == 4, f"Unsupported minor version: {cime_minor} in cime git tag: {cime_git_tag}" + assert cime_patch >= 1, f"Unsupported patch version: {cime_patch} in cime git tag: {cime_git_tag}" @property