-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add extra_vars option for ts #120
Conversation
It's failing on a unit test. You can run the tests at https://e3sm-project.github.io/zppy/_build/html/main/dev_guide/testing.html to see what's going wrong. |
@forsyth2 , I ran the unit test and got the output below. Because I added an option for the ts section, shall we change the unit test for it?
|
Ah, yes. If you search for You're also going to want to add |
@forsyth2 , I tried to change the tests on chrysalis: /home/ac.qtang/E3SM/code/zppy/tests, but it still fails and doesn't allow me to commit the change. Can you take a look? Also, I am not familiar with the development environment (https://e3sm-project.github.io/zppy/_build/html/main/getting_started.html#b-development-environment). For E3SM code, I normally create a branch off the master and then push it to the remote and issue a PR. The zppy development procedure is different. Do I have to create a new develop environment and pre-commit install every time? Or is it a one-time thing? |
This looks to me because it fails a pre-commit check. Some pre-commit checks will change files so you need
No, the only time you would want to create a new development environment (e.g., |
Ah, I see that your branch is actually in the main repo, not from a fork. This does work but it is not recommended, as it clutters the main repo with feature branches. |
I will create a new PR from my fork to replace this one. |
Replaced by #124. |
This option is needed when regular expressions are used to specify variables for ncclimo. This makes the variable list more flexible.
For example, if the variables are specified with a mix of wildcards and variable names like
ncclimo -v area,'^DF_'
, it will fail.But
ncclimo -v '^DF_' --var_xtr=area
will work.This PR adds the
--var_xtr
option.I tested it successfully on compy.