-
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
Make ref_name optional in e3sm diags output figure names #524
Conversation
|
53868d9
to
f8e6174
Compare
With the current changes: Equivalent plots can be found at:
That looks to me like we do still need the link names changed. |
This section of code should be after creating symlinks. |
@chengzhuzhang Thanks, I changed the code accordingly.
These still match up. Neither has the case |
@forsyth2 Looks better. But based on the request, the goal is to make case_name disappear as the default option for model-vs-model, i think we should have logic to handle this. In e3sm_diags.sh For the e3sm_diags configuration file, add logic:
Let me know if it makes sense... |
With latest changes (Run 3):
The links still have the case name. I'm not sure any of the logic needeed to chang in the |
I think something like below lines should be in the e3sm_diags run script, not before. Otherwise, the case name will be missing again in the links.
|
Results of:
File paths:
Ok, I now understand the request. I was looking at the viewer links, which never actually have the case in them. But the problem is with the direct links, specifically in the mvm case. So, it looks like the changes I've made so far do not fix that. @chengzhuzhang To clarify, the below is the expected behavior, correct?
|
Thanks for working on this @forsyth2. And the table is a great idea to clarify things.
So In this case, the change should happen somewhere below:
|
Run 7: no
So, to get from current functionality to expected functionality:
|
@forsyth2 |
@chengzhuzhang Oh, that's good then, thanks. My model-vs-obs paths don't include the case-name currently (not sure if that's just my particular configuration). |
in the path, the ref_name (i.g. GPCP_v3.2) is included. In the model vs model case shown here, the ref_name should be the reference model v2.LR.historical_0201. |
Oh ok, that makes sense! Sorry, conflicting terminology case-name vs ref-name. (I mistakenly thought we wanted the case |
Ok, I think I have a successful fix. Just need to check with
|
Ok, that looks good too. |
Thank you @forsyth2 and @chengzhuzhang for creating this option. The current IICE comparison viewer will work well with e3sm_diags generated with |
Ah ok, good idea. I will make that change and re-run the tests. Then I can make the patch release-candidate. |
Make case optional for diags. Resolves #522.