Skip to content

Commit

Permalink
Refactor 654 zonal mean xy (#752)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Vo <[email protected]>
  • Loading branch information
chengzhuzhang and tomvothecoder committed Aug 21, 2024
1 parent e0e3bab commit 4efe291
Show file tree
Hide file tree
Showing 7 changed files with 378 additions and 208 deletions.
2 changes: 1 addition & 1 deletion auxiliary_tools/cdat_regression_testing/base_run_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MachinePaths(TypedDict):


def run_set(
set_name: str | List[str],
set_name: str,
set_dir: str,
cfg_path: str | None = None,
multiprocessing: bool = True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
to run the script as a Python module
- Command: python -m auxiliary_tools.cdat_regression_testing.<ISSUE>-<SET_NAME>.<SCRIPT-NAME>
- Example: python -m auxiliary_tools.cdat_regression_testing.660_cosp_histogram.run_script
7. Run `chmod -R o=rx <SET_DIR>` to allow public access to viewer outputs on the NERSC webserver
- Example: `chmod -R o=rx /global/cfs/cdirs/e3sm/www/cdat-migration-fy24/654-zonal_mean_xy`
- https://portal.nersc.gov/project/e3sm/cdat-migration-fy24/
8. Make a copy of the CDAT regression testing notebook in the same directory
7. Make a copy of the CDAT regression testing notebook in the same directory
as this script and follow the instructions there to start testing.
9. <OPTIONAL> Update `CFG_PATH` to a custom cfg file to debug specific variables.
8. <OPTIONAL> Update `CFG_PATH` to a custom cfg file to debug specific variables.
- It is useful to create a custom cfg based on the default diags to debug
specific variables that are running into problems.
- For example, copy `zonal_mean_xy_model_vs_model.cfg` into the same directory
Expand Down
Loading

0 comments on commit 4efe291

Please sign in to comment.