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

import specific ufsda stage functions in ufsda atm prep script #1262

Closed
RussTreadon-NOAA opened this issue Jan 20, 2023 · 5 comments · Fixed by #1265
Closed

import specific ufsda stage functions in ufsda atm prep script #1262

RussTreadon-NOAA opened this issue Jan 20, 2023 · 5 comments · Fixed by #1265
Assignees

Comments

@RussTreadon-NOAA
Copy link
Contributor

Description
Specify the functions to import from ufsda.stage in UFS-DA atmospheric prep script.

Requirements
GDASApp PR #278 removes stage from ufsda/__init__.py. As a result, global-workflow scripts/exgdas_global_atmos_analysis_prep.py must specify the specific stage functions it uses. GDASApp includes the option to run ctests with g-w. Test test_gdasapp_atm_jjob_var_prep fails without updating exgdas_global_atmos_analysis_prep.py.

Acceptance Criteria (Definition of Done)
GDASApp g-w ctest test_gdasapp_atm_jjob_var_prep should pass.

Dependencies
Closure of this issue requires GDASApp PR #278 to be merged into GDASApp develop. Once this is done, the GDASApp has in g-w sorc/checkout.sh and Externals.cfg should be updated along with the change to scripts/exgdas_global_atmos_analysis_prep.py.

@RussTreadon-NOAA
Copy link
Contributor Author

Work for this development will be done in RussTreadon-NOAA/global-workflow branch feature/ufsda_stage.

RussTreadon-NOAA added a commit to RussTreadon-NOAA/global-workflow that referenced this issue Jan 20, 2023
@RussTreadon-NOAA
Copy link
Contributor Author

@WalterKolczynski-NOAA and @KateFriedman-NOAA , not sure why automated test Install pygw and run tests with pytests (3.7) failed with a9c3d0e.

The log file shows the following test failing with two tests skipped.

src/tests/test_configuration.py::test_configuration_config_files FAILED
src/tests/test_configuration.py::test_parse_config1 SKIPPED (fails i...) [ 37%]
src/tests/test_configuration.py::test_parse_config2 SKIPPED (fails i...) [ 41%]

The log file contains

src/tests/test_configuration.py:149: AssertionError
=========================== short test summary info ============================
FAILED src/tests/test_configuration.py::test_configuration_config_files - AssertionError: assert ['/tmp/pytest...config.file1'] == ['/tmp/pytest...config.file0']

@RussTreadon-NOAA
Copy link
Contributor Author

@CoryMartin-NOAA 's PR #1106 has a similar failure in the automated pytests (see here).

@WalterKolczynski-NOAA
Copy link
Contributor

The pytests are just failing in general for everyone. Started a couple weeks ago. We're not sure why and may have to turn them off until we figure it out.

@RussTreadon-NOAA
Copy link
Contributor Author

Thank you, @WalterKolczynski-NOAA . I'll hit pause on digging into what's going on.

@RussTreadon-NOAA RussTreadon-NOAA self-assigned this Jan 21, 2023
RussTreadon-NOAA added a commit to RussTreadon-NOAA/global-workflow that referenced this issue Jan 24, 2023
WalterKolczynski-NOAA pushed a commit that referenced this issue Jan 25, 2023
…pdate (#1265)

Updates the GDAS App version to incorporate the changes of NOAA-EMC/GDASApp#278, which restores the ability of `run_jedi_exe.py` to execute UFS-DA applications, specifically `fv3jedi_var.x`. Included in NOAA-EMC/GDASApp#278 is the removal of entry `ufsda.stage` from `ush/ufsda/__init__.py`.  Scripts which simply `import ufsda` must now specify the functions to from `ufsda.stage`. 

g-w issue #1262 documents the addition of the `ufsda.stage` line to `scripts/exgdas_global_atmos_analysis_prep.py`.  This change is required for g-w to successfully stage files used by the var and ensemble UFS-DA applications.

Fixes #1262
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants