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

Small fixes #313

Merged
merged 7 commits into from
Jul 15, 2024
Merged

Small fixes #313

merged 7 commits into from
Jul 15, 2024

Conversation

justin-richling
Copy link
Collaborator

@justin-richling justin-richling commented Jun 24, 2024

Update the config yaml files for updated example CAM cases and history files.

    There are now 4 example coupled cases in: /glade/campaign/cgd/amp/amwg/ADF_test_cases:
    - 3 recent cases with h0a history files
    - 1 semi-recent case with old h0 history files

    Each with 10 years of data

    Additionally, update paths for Derecho scratch locations and update hist_str argument to default to cam.h0a.

In tape_recorder.py, add check for scenario where no test case data is available and exit script if so.

Closes #289

@justin-richling justin-richling added code clean-up Made code simpler and/or easier to read. config files Concerns the ADF config (YAML) files labels Jun 25, 2024
@justin-richling justin-richling requested a review from nusbaume July 9, 2024 21:50
Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just two (optional) change requests. Thanks @justin-richling!

@@ -291,7 +291,7 @@ diag_cvdp_info:
cvdp_codebase_loc: /glade/u/home/asphilli/CESM-diagnostics/CVDP/Release/v5.2.0/

# Location where cvdp codebase will be copied to and diagnostic plots will be stored
cvdp_loc: /glade/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
cvdp_loc: /glade/derecho/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change this path to automatically output to the user's scratch? For example:

Suggested change
cvdp_loc: /glade/derecho/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
cvdp_loc: /glade/derecho/scratch/${user}/ADF/cvdp/

@@ -376,7 +376,7 @@ diag_cvdp_info:
cvdp_codebase_loc: /glade/u/home/asphilli/CESM-diagnostics/CVDP/Release/v5.2.0/

# Location where cvdp codebase will be copied to and diagnostic plots will be stored
cvdp_loc: /glade/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
cvdp_loc: /glade/derecho/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change this path to automatically output to the user's scratch? For example:

Suggested change
cvdp_loc: /glade/derecho/scratch/asphilli/ADF-Sandbox/cvdp/ #MUST EDIT!
cvdp_loc: /glade/derecho/scratch/${user}/ADF/cvdp/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thinking, thanks!

@justin-richling justin-richling merged commit 1393004 into NCAR:main Jul 15, 2024
7 checks passed
@justin-richling justin-richling deleted the adf-fixes branch July 15, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code clean-up Made code simpler and/or easier to read. config files Concerns the ADF config (YAML) files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

model data paths in example config files are out of date.
2 participants