From 244d3b17ec2e09276e1c1f368c041de5e2f760da Mon Sep 17 00:00:00 2001 From: Chris Golaz Date: Wed, 10 May 2023 16:33:57 -0700 Subject: [PATCH 1/6] Native EAMxx support Initial set of changes for ts and climo tasks to accept native monthly EAMxx files as input. Supported by new version of ncclimo. --- zppy/climo.py | 4 ++-- zppy/templates/climo.bash | 15 ++++++++------- zppy/templates/default.ini | 6 ++++++ zppy/templates/ts.bash | 6 +----- zppy/ts.py | 4 ++-- zppy/utils.py | 22 ++++++++++++++++------ 6 files changed, 35 insertions(+), 22 deletions(-) diff --git a/zppy/climo.py b/zppy/climo.py index 371664d3..748907f4 100644 --- a/zppy/climo.py +++ b/zppy/climo.py @@ -55,8 +55,8 @@ def climo(config, scriptDir, existing_bundles, job_ids_file): % (c["mapping_file"]) ) - # Component - c["component"] = getComponent(c["input_files"]) + # Output component (for directory structure) and procedure type for ncclimo + c["component"], c["prc_typ"] = getComponent(c["input_component"], c["input_files"]) # Loop over year sets year_sets = getYears(c["years"]) diff --git a/zppy/templates/climo.bash b/zppy/templates/climo.bash index 3cfe7b46..bfb4a689 100644 --- a/zppy/templates/climo.bash +++ b/zppy/templates/climo.bash @@ -24,8 +24,13 @@ cd ${workdir} {% if frequency == 'monthly' %} # --- Monthly climatologies --- -ncclimo \ +/global/homes/z/zender/bin_perlmutter/ncclimo --npo \ +{% if prc_typ == 'eamxx' -%} +--case={{ case }}.{{ input_files }}.0001-01-01-00000.nc \ +--fml_nm={{ case }} \ +{%- else -%} --case={{ case }} \ +{%- endif %} --jobs=${SLURM_NNODES} \ --thr=1 \ {%- if exclude %} @@ -47,11 +52,7 @@ ncclimo \ --output=trash \ --regrid=output \ {%- endif %} -{%- if input_files.split(".")[0] == 'cam' or input_files.split(".")[0] == 'eam' or input_files.split(".")[0] == 'elm' or input_files.split(".")[0] == 'clm2' %} ---prc_typ={{ input_files.split(".")[0] }} -{%- else -%} ---prc_typ=sgs -{%- endif %} +--prc_typ={{ prc_typ }} {% elif frequency.startswith('diurnal') %} @@ -97,7 +98,7 @@ if grep -q "*" input.txt; then exit 1 fi # Now, call ncclimo -cat input.txt | ncclimo \ +cat input.txt | /global/homes/z/zender/bin_perlmutter/ncclimo --npo \ --case={{ case }}.{{ input_files }} \ --jobs=${SLURM_NNODES} \ --thr=1 \ diff --git a/zppy/templates/default.ini b/zppy/templates/default.ini index da4daacf..28bd4d11 100644 --- a/zppy/templates/default.ini +++ b/zppy/templates/default.ini @@ -78,11 +78,14 @@ parallel = string(default="mpi") nodes = integer(default=4) # NOTE: always overrides value in [default] vars = string(default="") +# Model component having generated input files (eam, eamxx, elm, mosart, ...) +input_component = string(default="") [[__many__]] exclude = boolean(default=None) nodes = integer(default=None) vars = string(default=None) + input_component = string(default=None) [ts] area_nm = string(default="area") @@ -93,6 +96,8 @@ extra_vars = string(default="") # Time-steps per day tpd = integer(default=1) ts_fmt = string(default="ts_only") +# Model component having generated input files (eam, eamxx, elm, mosart, ...) +input_component = string(default="") [[__many__]] area_nm = string(default=None) @@ -101,6 +106,7 @@ ts_fmt = string(default="ts_only") extra_vars = string(default=None) tpd = integer(default=None) ts_fmt = string(default=None) + input_component = string(default=None) [tc_analysis] # NOTE: always overrides value in [default] diff --git a/zppy/templates/ts.bash b/zppy/templates/ts.bash index ee9f82dc..996dcd3b 100644 --- a/zppy/templates/ts.bash +++ b/zppy/templates/ts.bash @@ -110,11 +110,7 @@ cat input.txt | ncclimo \ --dpf={{ dpf }} \ --tpd={{ tpd }} \ {%- endif %} -{%- if input_files.split(".")[0] == 'cam' or input_files.split(".")[0] == 'eam' or input_files.split(".")[0] == 'elm' or input_files.split(".")[0] == 'clm2' %} ---prc_typ={{ input_files.split(".")[0][:3] }} -{%- else %} ---prc_typ=sgs -{%- endif %} +--prc_typ={{ prc_typ }} diff --git a/zppy/ts.py b/zppy/ts.py index d9961158..1473569c 100644 --- a/zppy/ts.py +++ b/zppy/ts.py @@ -57,8 +57,8 @@ def ts(config, scriptDir, existing_bundles, job_ids_file): % (c["mapping_file"]) ) - # Component - c["component"] = getComponent(c["input_files"]) + # Output component (for directory structure) and procedure type for ncclimo + c["component"], c["prc_typ"] = getComponent(c["input_component"], c["input_files"]) c["cmor_tables_prefix"] = c["diagnostics_base_path"] diff --git a/zppy/utils.py b/zppy/utils.py index bb2ddb20..b129624c 100644 --- a/zppy/utils.py +++ b/zppy/utils.py @@ -136,26 +136,36 @@ def getYears(years_list): # ----------------------------------------------------------------------------- -# Return component name from input files (e.g. 'cam.h0', 'clm2.h0', ...) +# Return output component name and procedure type based on either +# input_component or input_files +def getComponent(input_component, input_files): -def getComponent(input_files): + if input_component != '': + tmp = input_component + else: + tmp = input_files.split(".")[0] + + # Default ncclim procedure type is "sgs" + prc_typ = "sgs" - tmp = input_files.split(".")[0] - if tmp in ("cam", "eam"): + # Output component (for directory structure) and ncclimo procedure type + if tmp in ("cam", "eam", "eamxx"): component = "atm" + prc_typ = tmp elif tmp in ("cpl",): component = "cpl" elif tmp in ("clm2", "elm"): component = "lnd" + prc_typ = tmp elif tmp in ("mosart",): component = "rof" else: raise ValueError( - "Cannot extract component name from input_files %s" % (input_files) + "Cannot extract output component name from input_component or input_files %s" % (input_component,input_files) ) - return component + return component, prc_typ # ----------------------------------------------------------------------------- From ae2c2c5083bc64142ac4129a6aa643ddbc32406b Mon Sep 17 00:00:00 2001 From: Chris Golaz Date: Mon, 9 Oct 2023 17:49:34 -0500 Subject: [PATCH 2/6] Revert use of custom ncclimo executable. --- zppy/templates/climo.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zppy/templates/climo.bash b/zppy/templates/climo.bash index bfb4a689..64e3d00c 100644 --- a/zppy/templates/climo.bash +++ b/zppy/templates/climo.bash @@ -24,7 +24,7 @@ cd ${workdir} {% if frequency == 'monthly' %} # --- Monthly climatologies --- -/global/homes/z/zender/bin_perlmutter/ncclimo --npo \ +ncclimo \ {% if prc_typ == 'eamxx' -%} --case={{ case }}.{{ input_files }}.0001-01-01-00000.nc \ --fml_nm={{ case }} \ @@ -98,7 +98,7 @@ if grep -q "*" input.txt; then exit 1 fi # Now, call ncclimo -cat input.txt | /global/homes/z/zender/bin_perlmutter/ncclimo --npo \ +cat input.txt | ncclimo \ --case={{ case }}.{{ input_files }} \ --jobs=${SLURM_NNODES} \ --thr=1 \ From f726ec8fe8bc77d136b0153835e30d8c7c9dd793 Mon Sep 17 00:00:00 2001 From: chengzhuzhang Date: Wed, 7 Feb 2024 18:01:29 -0600 Subject: [PATCH 3/6] fix pre-committing error --- zppy/climo.py | 4 +++- zppy/ts.py | 4 +++- zppy/utils.py | 7 ++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/zppy/climo.py b/zppy/climo.py index 748907f4..900c7e9d 100644 --- a/zppy/climo.py +++ b/zppy/climo.py @@ -56,7 +56,9 @@ def climo(config, scriptDir, existing_bundles, job_ids_file): ) # Output component (for directory structure) and procedure type for ncclimo - c["component"], c["prc_typ"] = getComponent(c["input_component"], c["input_files"]) + c["component"], c["prc_typ"] = getComponent( + c["input_component"], c["input_files"] + ) # Loop over year sets year_sets = getYears(c["years"]) diff --git a/zppy/ts.py b/zppy/ts.py index 1473569c..1c489025 100644 --- a/zppy/ts.py +++ b/zppy/ts.py @@ -58,7 +58,9 @@ def ts(config, scriptDir, existing_bundles, job_ids_file): ) # Output component (for directory structure) and procedure type for ncclimo - c["component"], c["prc_typ"] = getComponent(c["input_component"], c["input_files"]) + c["component"], c["prc_typ"] = getComponent( + c["input_component"], c["input_files"] + ) c["cmor_tables_prefix"] = c["diagnostics_base_path"] diff --git a/zppy/utils.py b/zppy/utils.py index b129624c..5a34ce98 100644 --- a/zppy/utils.py +++ b/zppy/utils.py @@ -136,12 +136,13 @@ def getYears(years_list): # ----------------------------------------------------------------------------- -# Return output component name and procedure type based on either +# Return output component name and procedure type based on either # input_component or input_files + def getComponent(input_component, input_files): - if input_component != '': + if input_component != "": tmp = input_component else: tmp = input_files.split(".")[0] @@ -162,7 +163,7 @@ def getComponent(input_component, input_files): component = "rof" else: raise ValueError( - "Cannot extract output component name from input_component or input_files %s" % (input_component,input_files) + f"Cannot extract output component name from {input_component} or {input_files}." ) return component, prc_typ From f3316547082790fff47c41746ad7b558b5ac7226 Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Wed, 14 Feb 2024 11:35:07 -0600 Subject: [PATCH 4/6] Testing fixes --- .../generated/test_bundles_chrysalis.cfg | 4 ++-- .../generated/test_complete_run_chrysalis.cfg | 6 +++--- tests/integration/utils.py | 4 ++-- tests/test_sections.py | 14 ++++++++++++++ 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/tests/integration/generated/test_bundles_chrysalis.cfg b/tests/integration/generated/test_bundles_chrysalis.cfg index a8bf3ccb..2519f969 100644 --- a/tests/integration/generated/test_bundles_chrysalis.cfg +++ b/tests/integration/generated/test_bundles_chrysalis.cfg @@ -7,11 +7,11 @@ input = "/lcrc/group/e3sm/ac.forsyth2/E3SMv2/v2.LR.historical_0201" input_subdir = archive/atm/hist mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc" # To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_bundles.py -output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/unique_id/v2.LR.historical_0201" +output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/test-424/v2.LR.historical_0201" partition = "compute" qos = "regular" walltime = "07:00:00" -www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_bundles_www/unique_id" +www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_bundles_www/test-424" [bundle] diff --git a/tests/integration/generated/test_complete_run_chrysalis.cfg b/tests/integration/generated/test_complete_run_chrysalis.cfg index b96d5f3c..29618257 100644 --- a/tests/integration/generated/test_complete_run_chrysalis.cfg +++ b/tests/integration/generated/test_complete_run_chrysalis.cfg @@ -7,10 +7,10 @@ input = "/lcrc/group/e3sm/ac.forsyth2//E3SMv2/v2.LR.historical_0201" input_subdir = archive/atm/hist mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc" # To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_complete_run.py -output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/unique_id/v2.LR.historical_0201" +output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/test-424/v2.LR.historical_0201" partition = "debug" qos = "regular" -www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_complete_run_www/unique_id" +www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_complete_run_www/test-424" [climo] active = True @@ -93,7 +93,7 @@ years = "1850:1854:2", "1850:1854:4", walltime = "5:00:00" [[ atm_monthly_180x360_aave_environment_commands ]] - environment_commands = "source /home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20231027v2" + environment_commands = "source /home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20240214" sets = "qbo", ts_subsection = "atm_monthly_180x360_aave" diff --git a/tests/integration/utils.py b/tests/integration/utils.py index 45f63d8e..ec3300ef 100644 --- a/tests/integration/utils.py +++ b/tests/integration/utils.py @@ -7,7 +7,7 @@ from mache import MachineInfo from PIL import Image, ImageChops, ImageDraw -UNIQUE_ID = "unique_id" +UNIQUE_ID = "test-424" # Image checking ########################################################## @@ -136,7 +136,7 @@ def get_chyrsalis_expansions(config): "bundles_walltime": "07:00:00", "constraint": "", # To run this test, replace conda environment with your e3sm_diags dev environment - "diags_environment_commands": "source /home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20231027v2", + "diags_environment_commands": "source /home/ac.forsyth2/miniconda3/etc/profile.d/conda.sh; conda activate e3sm_diags_20240214", "diags_walltime": "5:00:00", "environment_commands_test": "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.9.0rc16_chrysalis.sh", "expected_dir": "/lcrc/group/e3sm/public_html/zppy_test_resources/", diff --git a/tests/test_sections.py b/tests/test_sections.py index b4959838..9b6d3851 100644 --- a/tests/test_sections.py +++ b/tests/test_sections.py @@ -101,6 +101,7 @@ def test_sections(self): "cmip_metadata": "e3sm_to_cmip/default_metadata.json", "dpf": 30, "extra_vars": "", + "input_component": "", "mapping_file": "MAPPING_FILE_TS", "tpd": 1, "ts_fmt": "ts_only", @@ -128,6 +129,7 @@ def test_sections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_TS", @@ -154,6 +156,7 @@ def test_sections(self): expected_section = { "active": "True", "exclude": False, + "input_component": "", "mapping_file": "MAPPING_FILE_CLIMO", "nodes": 4, "parallel": "mpi", @@ -178,6 +181,7 @@ def test_sections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_CLIMO", @@ -254,6 +258,7 @@ def test_subsections(self): "cmip_metadata": "e3sm_to_cmip/default_metadata.json", "dpf": 30, "extra_vars": "", + "input_component": "", "tpd": 1, "ts_fmt": "ts_only", "ts_grid1": { @@ -261,6 +266,7 @@ def test_subsections(self): "cmip_metadata": None, "dpf": None, "extra_vars": None, + "input_component": None, "mapping_file": "MAPPING_FILE_TS_GRID1", "tpd": None, "ts_fmt": None, @@ -271,6 +277,7 @@ def test_subsections(self): "cmip_metadata": None, "dpf": None, "extra_vars": None, + "input_component": None, "mapping_file": "MAPPING_FILE_TS_GRID2", "tpd": None, "ts_fmt": None, @@ -299,6 +306,7 @@ def test_subsections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_TS_GRID1", @@ -336,6 +344,7 @@ def test_subsections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_TS_GRID2", @@ -362,12 +371,14 @@ def test_subsections(self): expected_section = { "active": "True", "climo_grid1": { + "input_component": None, "mapping_file": "MAPPING_FILE_CLIMO_GRID1", "nodes": None, "exclude": None, "vars": None, }, "climo_grid2": { + "input_component": None, "mapping_file": "MAPPING_FILE_CLIMO_GRID2", "years": ["0001:0100:50"], "partition": "LONG", @@ -376,6 +387,7 @@ def test_subsections(self): "vars": None, }, "exclude": False, + "input_component": "", "mapping_file": "MAPPING_FILE_CLIMO", "nodes": 4, "parallel": "mpi", @@ -400,6 +412,7 @@ def test_subsections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_CLIMO_GRID1", @@ -432,6 +445,7 @@ def test_subsections(self): "frequency": "monthly", "grid": "", "input": "INPUT", + "input_component": "", "input_files": "eam.h0", "input_subdir": "INPUT_SUBDIR", "mapping_file": "MAPPING_FILE_CLIMO_GRID2", From 1662b2ddd7e3aff7bc58d1e1bbf8a4b71e50e4d1 Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Thu, 15 Feb 2024 13:55:13 -0600 Subject: [PATCH 5/6] Integration test fixes --- tests/integration/generated/test_bundles_chrysalis.cfg | 2 +- tests/integration/generated/test_complete_run_chrysalis.cfg | 3 ++- tests/integration/template_bundles.cfg | 2 +- tests/integration/template_complete_run.cfg | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/integration/generated/test_bundles_chrysalis.cfg b/tests/integration/generated/test_bundles_chrysalis.cfg index 2519f969..ad6e388e 100644 --- a/tests/integration/generated/test_bundles_chrysalis.cfg +++ b/tests/integration/generated/test_bundles_chrysalis.cfg @@ -63,7 +63,7 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - vars = "FSH,LAISHA,LAISUN,RH2M" + vars = "FSH,RH2M" ts_fmt = "cmip" [[ rof_monthly ]] diff --git a/tests/integration/generated/test_complete_run_chrysalis.cfg b/tests/integration/generated/test_complete_run_chrysalis.cfg index 29618257..8418e264 100644 --- a/tests/integration/generated/test_complete_run_chrysalis.cfg +++ b/tests/integration/generated/test_complete_run_chrysalis.cfg @@ -55,7 +55,8 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - vars = "FSH,LAISHA,LAISUN,RH2M" + #vars = "FSH,LAISHA,LAISUN,RH2M" + vars = "FSH,RH2M" ts_fmt = "cmip" [[ rof_monthly ]] diff --git a/tests/integration/template_bundles.cfg b/tests/integration/template_bundles.cfg index 7d325db1..d6516597 100644 --- a/tests/integration/template_bundles.cfg +++ b/tests/integration/template_bundles.cfg @@ -63,7 +63,7 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - vars = "FSH,LAISHA,LAISUN,RH2M" + vars = "FSH,RH2M" ts_fmt = "cmip" [[ rof_monthly ]] diff --git a/tests/integration/template_complete_run.cfg b/tests/integration/template_complete_run.cfg index e4b1cd06..a8f6b87d 100644 --- a/tests/integration/template_complete_run.cfg +++ b/tests/integration/template_complete_run.cfg @@ -55,7 +55,8 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - vars = "FSH,LAISHA,LAISUN,RH2M" + #vars = "FSH,LAISHA,LAISUN,RH2M" + vars = "FSH,RH2M" ts_fmt = "cmip" [[ rof_monthly ]] From 2b01d21c613587edcdb6b80941c8af933275ef92 Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Thu, 15 Feb 2024 13:58:01 -0600 Subject: [PATCH 6/6] Rerun utils --- tests/integration/generated/test_bundles_chrysalis.cfg | 4 ++-- tests/integration/generated/test_complete_run_chrysalis.cfg | 5 ++--- tests/integration/template_complete_run.cfg | 1 - tests/integration/utils.py | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/integration/generated/test_bundles_chrysalis.cfg b/tests/integration/generated/test_bundles_chrysalis.cfg index ad6e388e..95068a36 100644 --- a/tests/integration/generated/test_bundles_chrysalis.cfg +++ b/tests/integration/generated/test_bundles_chrysalis.cfg @@ -7,11 +7,11 @@ input = "/lcrc/group/e3sm/ac.forsyth2/E3SMv2/v2.LR.historical_0201" input_subdir = archive/atm/hist mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc" # To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_bundles.py -output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/test-424/v2.LR.historical_0201" +output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/unique_id/v2.LR.historical_0201" partition = "compute" qos = "regular" walltime = "07:00:00" -www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_bundles_www/test-424" +www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_bundles_www/unique_id" [bundle] diff --git a/tests/integration/generated/test_complete_run_chrysalis.cfg b/tests/integration/generated/test_complete_run_chrysalis.cfg index 8418e264..bb222b8d 100644 --- a/tests/integration/generated/test_complete_run_chrysalis.cfg +++ b/tests/integration/generated/test_complete_run_chrysalis.cfg @@ -7,10 +7,10 @@ input = "/lcrc/group/e3sm/ac.forsyth2//E3SMv2/v2.LR.historical_0201" input_subdir = archive/atm/hist mapping_file = "map_ne30pg2_to_cmip6_180x360_aave.20200201.nc" # To run this test, edit `output` and `www` in this file, along with `actual_images_dir` in test_complete_run.py -output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/test-424/v2.LR.historical_0201" +output = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/unique_id/v2.LR.historical_0201" partition = "debug" qos = "regular" -www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_complete_run_www/test-424" +www = "/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_complete_run_www/unique_id" [climo] active = True @@ -55,7 +55,6 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - #vars = "FSH,LAISHA,LAISUN,RH2M" vars = "FSH,RH2M" ts_fmt = "cmip" diff --git a/tests/integration/template_complete_run.cfg b/tests/integration/template_complete_run.cfg index a8f6b87d..427f8655 100644 --- a/tests/integration/template_complete_run.cfg +++ b/tests/integration/template_complete_run.cfg @@ -55,7 +55,6 @@ years = "1850:1854:2", frequency = "monthly" input_files = "elm.h0" input_subdir = "archive/lnd/hist" - #vars = "FSH,LAISHA,LAISUN,RH2M" vars = "FSH,RH2M" ts_fmt = "cmip" diff --git a/tests/integration/utils.py b/tests/integration/utils.py index ec3300ef..b52c5790 100644 --- a/tests/integration/utils.py +++ b/tests/integration/utils.py @@ -7,7 +7,7 @@ from mache import MachineInfo from PIL import Image, ImageChops, ImageDraw -UNIQUE_ID = "test-424" +UNIQUE_ID = "unique_id" # Image checking ##########################################################