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

Stat Analysis Implementation #7

Open
wants to merge 116 commits into
base: feature/anlstat
Choose a base branch
from

Conversation

kevindougherty-noaa
Copy link
Collaborator

This is my second pass at adding the appropriate files needed to run a stat analysis job in the global-workflow.

jobs/JGLOBAL_ANALYSIS_STATS Fixed Show fixed Hide fixed
jobs/JGLOBAL_ANALYSIS_STATS Fixed Show fixed Hide fixed
jobs/JGLOBAL_ANALYSIS_STATS Fixed Show fixed Hide fixed
@kevindougherty-noaa
Copy link
Collaborator Author

kevindougherty-noaa commented Oct 17, 2024

Most updated commits add capability to untar, gunzip, grab obs space info, and read yamls that point to obs space yamls. The paths in the yaml will need to be updated correctly I am sure, but the code executes successfully in the g-w.

kevindougherty-noaa and others added 14 commits October 23, 2024 15:41
# Description

This is a quick hotfix for small discrepancy in the Jenkins health check
launch script that runs in cron:

`gh -> "${GH}"`

# Type of change
- [x] Bug fix (fixes something broken)
- [ ] New feature (adds functionality)
- [ ] Maintenance (code refactor, clean-up, new CI test, etc.)

# Change characteristics
<!-- Choose YES or NO from each of the following and delete the other
-->
- Is this a breaking change (a change in existing functionality)? NO
- Does this change require a documentation update? NO
- Does this change require an update to any of the following submodules?
NO

# How is this tested

Ran in cron on Hercules and Orion

Co-authored-by: tmcguinness <[email protected]>
…hat need the path (NOAA-EMC#3013)

# Description

This PR is setting a shell environment variable **HOME_GFS** to point to
the path **HOMEgfs** for systems that need to setup the runtime
environment in their respective `.bashrc` files.

For example:

```
# Added for Global Workflow
if [ -n "${HOME_GFS}"]; then
    export MODULE_GWSETUP_PATH="${HOME_GFS}/modulefiles"
    module use "${MODULE_GWSETUP_PATH}"
    module load "module_gwsetup.gaea"
fi
```

# Type of change
- [x] Bug fix (fixes something broken)
- [ ] New feature (adds functionality)
- [x] Maintenance (code refactor, clean-up, new CI test, etc.)

# Change characteristics
<!-- Choose YES or NO from each of the following and delete the other
-->
- Is this a breaking change (a change in existing functionality)? NO
- Does this change require a documentation update? NO
- Does this change require an update to any of the following submodules?
NO

# How has this been tested?
This PR itself will be ran on Gaea directly when
`$HOMEgfs/workflow/gw_setup.sh` script for loading the runtime modules
is operable on that system.

# Checklist
- [ ] Any dependent changes have been merged and published
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have documented my code, including function, input, and output
descriptions
- [x] My changes generate no new warnings
- [ ] New and existing tests pass with my changes
- [ ] This change is covered by an existing CI test or a new one has
been added
- [ ] I have made corresponding changes to the system documentation if
necessary
mingshichen-noaa and others added 8 commits November 8, 2024 21:36
NCO has requested that each COM variable specify whether it is an input
or an output. This completes that process for the global jgdas enkf ecen
job.

Refs NOAA-EMC#2451
)

# Description<!-- This description will become the commit message for
the PR. -->

Simple bug fix to GitHub CI pipeline script for Parallel Works.
Introduced a bug on its last update for setting the repo name in advance
of running the GitHub CLI command for getting the repo owner and branch
name of PRs.

# Type of change
- [x] Bug fix (fixes something broken)
- [ ] New feature (adds functionality)
- [ ] Maintenance (code refactor, clean-up, new CI test, etc.)

# Change characteristics
<!-- Choose YES or NO from each of the following and delete the other
-->
- Is this a breaking change (a change in existing functionality)? NO
- Does this change require a documentation update? NO
- Does this change require an update to any of the following submodules?

# How has this been tested?
Gets tested when update to default repo gets checked in.

---------

Co-authored-by: Terry McGuinness <[email protected]>
…MC#3076)

This Pr removes **pslot** dir (with hash) from local archive folder on
CI case completion and also adds `cleanup_experiment` function in the
BASH utilities to clean up after a CI case runs. This change
consolidates cleanup actions and adds functionality to clean the local
archive folders.

Key changes:

- Fixes bug for cleaning up the `RUNDIRS` directory before new
experiments are run in the case the pipeline is being ran for a second
time
- Updated `$HOMEgfs/ci/scripts/check_ci.sh` to use the new
`cleanup_experiment` function under the BASH CI system.
- Added `cleanup_experiment `function in
`$HOMEgfs/ci/scripts/utils/ci_utils.sh` to handle various cleanups
including:
  - COMROOT/EXPDIR per case
  - ARCDIR and ATADIR directories for archive
  - STMP/RUNDIRS/${PSLOT}
- Added get config var from EXPDIR utility
[get_config_var.py](https://github.com/NOAA-EMC/global-workflow/pull/2961/files#diff-b780733ae1d45917730364e09a6c510e79d4cc8cffad6d9020c7961c53b987bc)
for getting config values in BASH

Resolves NOAA-EMC#2954
Resolves NOAA-EMC#3066
)

This moves all machine-specific options to the workflow/hosts files from
the config.* files.

This also turns HPSS archiving on for WCOSS2 by default.
This turns OFF UFS DA tests on WCOSS2.

Resolves NOAA-EMC#2942
Resolves NOAA-EMC#3087

---------

Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
@kevindougherty-noaa kevindougherty-noaa marked this pull request as ready for review November 13, 2024 18:49
@kevindougherty-noaa
Copy link
Collaborator Author

kevindougherty-noaa commented Nov 13, 2024

Scripts are updated to successfully run as expected. JCB algorithms templates will need to be added in a separate PR. Need to test over a significant time.

Example of output yaml created from running gdasanlstat job:

time window:
  begin: '2021-12-20T15:00:00Z'
obs spaces:
- obs space:
    name: aod
    obsdatain:
      engine:
        type: H5File
        obsfile: /scratch1/NCEPDEV/stmp2/Kevin.Dougherty/RUNDIRS/anlstat/gdas.2021122018/anlstat.817022/diag_viirs_npp_2021122015.nc4'
    simulated variables:
    - aerosolOpticalDepth
    observed variables:
    - aerosolOpticalDepth
    variables:
    - aerosolOpticalDepth
    groups to process:
    - bkgmob
    - bkgmob1
    qc groups:
    - EffectiveQC0
    - EffectiveQC1
    statistics to compute:
    - mean
    - count
    - RMS
    output file: viirs_npp_2021122015_output_aod.nc
    domains to process:
    - domain:
        name: nowhere
        first mask variable: latitude
        first mask range:
        - -180
        - -100
    - domain:
        name: SH
        first mask variable: latitude
        first mask range:
        - -90
        - 0
    - domain:
        name: NH
        first mask variable: latitude
        first mask range:
        - 0
        - 90

NeilBarton-NOAA and others added 5 commits November 13, 2024 18:57
Adds the ability to run C96mx100 with SFS options. Included in this PR
is the ability to use the interpolated/coarse grained 1 degree MOM6 ICs.
Staging the ATM and OCN perturbation files without using the +03 replay
ICs.

---------

Co-authored-by: Eric.Sinsky <[email protected]>
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
Co-authored-by: Rahul Mahajan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.