Skip to content

add cmip7-prep to externals#400

Draft
mnlevy1981 wants to merge 2 commits into
NCAR:mainfrom
mnlevy1981:add_cmip7_prep
Draft

add cmip7-prep to externals#400
mnlevy1981 wants to merge 2 commits into
NCAR:mainfrom
mnlevy1981:add_cmip7_prep

Conversation

@mnlevy1981
Copy link
Copy Markdown
Collaborator

The cmip7-prep tool provides scripts for CMORizing the data and other tasks necessary for preparing data for CMIP7. This PR adds it as an external, and also modifies the (cupid-analysis) environment to add the cmor python package, which also required updating the pinned versions of few other packages.

Description of changes:

  • Please add an explanation of what your changes do and why you'd like us to include them.

All PRs Checklist:

  • Have you followed the guidelines in our Contributor's Guide?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you made sure that the pre-commit checks passed (#8 in Adding Notebooks Guide)?
  • Have you successfully tested your changes locally when running standalone CUPiD?
  • Have you tested your changes as part of the CESM workflow?
  • Once you are ready to have your PR reviewed, have you changed it from a Draft PR to an Open PR?

Requires adding cmor python package to (cupid-analysis), which also required
updating a few other packages
@mnlevy1981
Copy link
Copy Markdown
Collaborator Author

@jedwards4b if you drop this branch of CUPiD into $SRCROOT/tools/CUPiD and install (cupid-analysis) from it, you should be able to run all your cmip7-prep scripts out of $SRCROOT/tools/CUPiD/externals/cmip7-prep (you'll need to run git submodule update --init to populate externals/ before creating the environment)

@jedwards4b
Copy link
Copy Markdown
Contributor

I have checked out the branch and updated the submodules, I don't understand "install (cupid-analysis) from it"

@mnlevy1981
Copy link
Copy Markdown
Collaborator Author

I have checked out the branch and updated the submodules, I don't understand "install (cupid-analysis) from it"

mamba env create -f environments/cupid-analysis.yml

This gets installed via pip, it's not available on conda-forge
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