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

Updated the Introduction, build for MacOS #281

Merged
merged 3 commits into from
Jun 2, 2022

Conversation

natalie-perlin
Copy link
Collaborator

DESCRIPTION OF CHANGES:

  • Updated the Introduction, systems and storage requirements, software packages
  • Updated instructions for the SRW build on MacOS systems

TESTS CONDUCTED:

Document changes only

DOCUMENTATION:

If this PR is contributing new capabilities that need to be documented, please also include updates to the RST files (docs/UsersGuide/source) as supporting material.

ISSUE (optional):

Issue mentioned in #222, #238, #240, #263

CONTRIBUTORS (optional):

@gspetro-NOAA

@danielabdi-noaa
Copy link
Collaborator

Looks good to me


For MacOS systems, some additional software is needed. It is recommended that users install this software using the `Homebrew <https://brew.sh/>`__ package manager for MacOS:

* brew install bash

* OR: brew upgrade bash
Copy link
Collaborator

Choose a reason for hiding this comment

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

@natalie-perlin Should we just list the software instead of the commands? The commands already appear in the instructions for installing HPC-Stack and in the MacOS-specific SRW instructions. At a minimum, I don't think we need the brew upgrade bash command because we're just listing what they should have on their system. The upgrade statement appears elsewhere in the docs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The important point here is that bash used to be included with the MacOS system until recently, when Apple stopped supporting and upgrading to a newer bash versions. The latest recent version of bash distributed with the macOS is
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin20)
whereas at least bash v.4 is recommended.
So while it is present in MacOS, it cannot be simply upgraded using homebrew, because there is no previous brew installation of bash .
Thus the comments about
brew install bash and brew upgrade bash

Copy link
Collaborator

Choose a reason for hiding this comment

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

@natalie-perlin Then the prerequisite we list should be bash v4.x. The logistics of installing it are in other places. If you prefer, I can make that change in my PR tho.

Some comments removed
Updated data storage requirements for the SRW
@natalie-perlin natalie-perlin merged commit ae7a11c into ufs-community:develop Jun 2, 2022
mark-a-potts added a commit that referenced this pull request Jun 12, 2022
* Fix artifact creation for branches with / in name (#275)

The slash in branch names such as release/.* and feature/.* is
interpreted as a directory separator. This change replaces the "/"
character with a "_".

* Include documentation for building/running SRW App on Mac (#240)

* updated docs

* added git submodule

* fix formatting

* added new submodule commits

* fixed ref links

* finished Intro

* finish Components & Intro edits

* edited Rocoto workflow section of Quickstart

* added minor hpc submodule commits

* Updates to Rocoto Workflow in Quick Start

* add to HPC-stack intro

* submodule updates

* added submodule docs edits

* hpc-stack updates & formatting fixes

* hpc-stack intro edits

* bibtex attempted fix

* add hpc-stack module edits

* update sphinxcontrib version

* add .readthedocs.yaml file

* update .readthedocs.yaml file

* update .readthedocs.yaml file

* update conf.py

* updates .readthedocs.yaml with submodules

* updates .readthedocs.yaml with submodules

* submodule updates

* submodule updates

* minor Intro edits

* minor Intro edits

* minor Intro edits

* submodule updates

* fixed typos in QS

* QS updates

* QS updates

* QS updates

* updates to InputOutput and QS

* fix I/O doc typos

* pull updates to hpc-stack docs

* pull updates to hpc-stack docs

* fix table wrapping

* updates to QS for cloud

* fix QS export statements

* fix QS export statements

* QS edits on bind, config

* add bullet points to notes

* running without rocoto

* add HPC-Stack submodule w/docs

* split QS into container/non-container approaches

* added filepath changes for running in container on Orion, et al.

* edits to overview and container QS

* moved CodeReposAndDirs.rst info to the Introduction & deleted file

* continued edits to SRWAppOverview

* combine overview w/non-container docs

* finish merging non-container guide & SRWOverview, rename/remove files, update FAQ

* minor edits for Intro & QS

* updates to BuildRun doc through 3.8.1

* edits to Build/Run and Components

* remove .gitignore

* fix Ch 3 title, 4 supported platform levels note

* fix typos, add term links

* other minor fixes/suggestions implemented

* updated Intro based on feedback; changed SRW to SRW App throughout

* update comment to Intro citation

* add user-defined vertical levels to future work

* Add instructions for srw_common module load

* fix typo

* update Intro & BuildRunSRW based on Mark's feedback

* minor intro updates

* 1st round of jwolff's edits

* 2nd round of jwolff updates

* update QS intro

* fix minor physics details

* update citation and physics suite name

* add compute node allocation info to QS

* add authoritative hpc-stack docs to Intro

* create MacOS install/build instructions

* add MacOS Build/Run instructions

* fix MacOS Build/Run details

* add MacOS info directly to Build/Run SRW chapter

* minor details

* minor edits

* update Include-HPCInstall with mac installation docs

* add note re: Terminal.app & bash shell in MacOS section

* remove MacInstall file-contents added to BuildRunSRW

* update hpc-stack submodule to include mac installation info

* add MacOS config details

* add MacOS config & run details

* minor MacOS note

* mention need to verify software library version #'s

* update hpc-stack-mod

* align MacDetails section with PR #238 info

* remove gsed & alter related commands

* update hpc-stack submodule

* typos

* switch from env to module load

Co-authored-by: Will Mayfield <59745143+willmayfield@users.noreply.github.com>

* Update BuildRunSRW.rst

* update hpc-stack module docs & MacOS config.sh

* update machine file instructions

* updates to BuildRun chapter

* fix typo

Co-authored-by: gspetro <gillian.s.petro@gmail.com>
Co-authored-by: Will Mayfield <59745143+willmayfield@users.noreply.github.com>

* Update documentation for CSV file containing WE2E test info (#278)

* Edits to documentation to match latest in code.

* Edits to documentation to match latest in code.

* Minor changes to documentation.

* Port SRW App to WCOSS2 (#270)

* port to wcoss2

* update scripts

* ensure platform name from variance

* update scripts

* remove wcoss2 from lmod-setup

* Fix --ccpp option in devbuild.sh (#280)

* fix ccpp issue

* update script

* Print usage if machine name is not passed to `lmod-setup.sh/csh`. (#262)

* Print usage() message if machine name is not passed.

* Bug fix with macos modulefiles.

* Back to original hashes (#287)

* Updated the Introduction, build for MacOS (#281)

* Updated the Introduction, build for MacOS

* Update Introduction.rst

Some comments removed

* Update Introduction.rst

Updated data storage requirements for the SRW

* Update documentation for python plotting scripts (#289)

## DESCRIPTION OF CHANGES: 
This PR updates the RST documentation files to accompany changes in PR #[783](ufs-community/regional_workflow#783) in `regional_workflow`.

## DEPENDENCIES:
PR #[783](ufs-community/regional_workflow#783) in `regional_workflow`.

## ISSUE (optional): 
Partially resolves issue #[781](ufs-community/regional_workflow#781) (still need to introduce tests in `regional_workflow` that run the plotting scripts).

## CONTRIBUTORS: 
@mark-a-potts

* Updating for testing with updated ufs weather model

* added version to wflow for jet

* switched to epic repo for testing

* Updates to modules for cheyenne

* updated module path

* changed hash to branch for testing

* updated to use ufs-community version of WM

* Pointing to PR-branch of regional_workflow for testing

* Updating module files for cheyenne for testing

* Added png explicitly under gaea.

* Update build_cheyenne_intel

Corrected loading system modules (load intel/2022.1, mpt/2.25), updated package versions if newer modules are built.

* Updated pointer to model for testing

* fixed repos

* updated to point at my regional_workflow branch

* updated regional_workflow to release/public-v2

Co-authored-by: Jesse McFarland <jesse@mcfarland.sh>
Co-authored-by: Gillian Petro <96886803+gspetro-NOAA@users.noreply.github.com>
Co-authored-by: gspetro <gillian.s.petro@gmail.com>
Co-authored-by: Will Mayfield <59745143+willmayfield@users.noreply.github.com>
Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Chan-Hoo.Jeon-NOAA <60152248+chan-hoo@users.noreply.github.com>
Co-authored-by: danielabdi-noaa <52012304+danielabdi-noaa@users.noreply.github.com>
Co-authored-by: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com>
Co-authored-by: Mark Potts <mpotts@redlineperf.com>
gspetro-NOAA added a commit that referenced this pull request Jun 21, 2022
* update hpc-stack module docs & MacOS config.sh

* update machine file instructions

* updates to BuildRun chapter

* fix typo

* merge changes from PR #240 to release-v2

* resolve conflicts w/PR #281

* I/O updates to wget commands

* Update documentation for CSV file containing WE2E test info (#278)

* Edits to documentation to match latest in code.

* Edits to documentation to match latest in code.

* Minor changes to documentation.

* update HPSS file names

* add links, remove comments

* add links, remove comments

* FAQ updates

* ContribGuide updates

* Rocoto ch updates

* update wflow gen image

* update LAM grid chapter

* update docs links

* update NC QS

* glossary updates

* add Stochastic Physics info

* format valid values

* edits for Config Params

* final Config Param updates

* Graphics edits

* remove WCOSS info

* Intro updates pt1

* Docs for Linux SRW build and run

* Remove WCOSS-specifics

* miscellaneous changes

* Intro & QS updates

* minor fixes

* I/O updates

* I/O updates

* update RW hash

* update file paths to NaturalEarth

* change ESFM docs version

* change ESFM docs version

* finish I/O updates

* update paths from develop to v2p0

* Update BuildRunSRW.rst

"wcoss_dell_p3" is a valid value

* Update ConfigWorkflow.rst

placed "WCOSS_DELL_P3" as a valid value

* updates to WE2E

* WE2E updates

* final WE2E updates

* update METplus support info

* update NC-QS Guide

* QS updates

* fix WE2E tables

* add WE2E test files

* WE2E test edits

* WE2E table updates

* QS & updates to config_defaults table in build/run

* QS modulefiles load

* fix typo

* update mac/linux section of build/run

* fix image

* fix image

* typo

* update CCPP link

* adjust Mac/Linux organization

* mark's edits pt1

* mac/linux reorg

* minor edits

Co-authored-by: gspetro <gillian.s.petro@gmail.com>
Co-authored-by: Will Mayfield <59745143+willmayfield@users.noreply.github.com>
Co-authored-by: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com>
Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Natalie Perlin <nperlin@redlineperf.com>
mkavulich added a commit to mkavulich/ufs-srweather-app that referenced this pull request Aug 26, 2022
* Fix to post flat file.

* Create MET and METplus config files under ush/templates/parm

* Added script to pull and reorg ccpa data. Added a script to run gridstat with METplus. Updated MET and METplus config files.

* Added new jjob for running grid-stat vx. Updated setup.sh to include grid-stat vx. Updated run_gridstatvx script.

* Fixed typo on script name from ksh to sh

* Moved some hard coded items out from the script to the XML

* Updates to get METplus to run with fewer hard-coded paths.

* Updates to add grid-stat task to XML generation.

* Bug fixes for adding grid-stat to XML generation

* Updates to remove hard-coded paths in config files

* Change log dir to put master_metplus log file with other logs under log/, rather than default logs/.

* Updates to generate xml without hard-coded paths for MET

* Add hera gridstat module file

* Add METplus point-stat task for both sfc and upper air

* Small tweaks to remove hard coded paths and add some flexibility

* Updates for adding point-stat into auto-generated xml

* Add in function to set point-stat task to FALSE

* Final tweaks to get it to generate the xml correctly

* Minor updates to run ensure 0,6,12,18

* Tweaks to var list for Point-Stat

* Add METplus settings to config_defaults

* Move quote for end of settings and fix extra comment.

* Fix typos to populate templates correctly

* Updated to include SCRIPTSDIR and other MET specific settings along with updates to FHR syntax

* Update module loads on hera

* Fixed comment for BOTH_VARn_THRESH to avoid syntax issues

* Added files to run grid_stat for a variety of accumulation intervals, including 3, 6, and 24h

* Added module load hpss

* Remove module load informatino from these scripts

* Updated the method of turning on/off vx tasks using jinja template if statement

* Remove commented out lines of code. Fixed typo. Removed gen_wflow.out file.

* Updated pull scripts to have file names dependent on date to pull from HPSS. Updated to export a few more local variables that METplus conf needed in scripts. Updated workflow to use service queue (for now) to for 1h grid_stat and point_stat run and default for 3+h accumulation grid_stat runs)

* moved common_hera.conf to common.conf - no platform specific information included that needs to be handled.

* Remove common_hera.conf

* Add scripts to pull and process MRMS data from NOAA HPSS

* Updates for REFC vx tasks

* updates to obs pull scripts

* Update for adding in reflectivity verification using MRMS analyses and updating name of model output to RRFS rather than HRRR

* Updates to account for CCPA issues on HPSS - day off for 00-05 UTC directories

* Verification mods to feature/add metplus (#1)

* Remove unused/outdated code (ufs-community#313)

## DESCRIPTION OF CHANGES:
* In setup.sh and generate_FV3LAM_wflow.sh, remove temporary codes that fix bugs in the FV3_GFS_2017_gfdlmp_regional suite definition file because those bugs have been fixed (in the ufs-weather-model repo).
* In setup.sh, remove block of code that is no longer necessary because chgres_cube can now initialize from external model data with either 4 or 9 soil levels, and run with LSMs of either 4 or 9 soil levels.
* Remove modifications to LD_LIBRARY_PATH in exregional_run_fcst.sh.
* For the make_ics and make_lbcs tasks, move the setting of APRUN and other machine-specific actions from the J-job to the ex-script in order to be consistent with the other workflow tasks.
* Fix indentation and edit comments.
* Remove unused file load_fv3gfs_modules.sh.

## TESTS CONDUCTED: 
Ran two WE2E tests on hera, new_ESGgrid and new_GFDLgrid:
* new_ESGgrid uses the FV3_GFS_2017_gfdlmp_regional suite.  The test was successful.
* new_GFDLgrid uses the FV3_GFS_2017_gfdlmp suite.  The test was successful.

## ISSUE (optional): 
This resolves issue ufs-community#198.

* Add and call a function that checks for use of Thompson microphysics parameterization in the SDF and if so, adjusts certain workflow arrays to contain the names and other associated values of the fixed files needed by this parameterization so that those files are automatically copied and/or linked to. (ufs-community#319)

## DESCRIPTION OF CHANGES: 
Add and call a function that checks for use of Thompson microphysics parameterization in the suite definition file (SDF).  If not, do nothing.  If so, add to the appropriate workflow arrays the names and other associated values of the fixed files needed by this parameterization so that they are automatically copied and/or linked to instead of being regenerated from scratch in the run_fcst task.

## TESTS CONDUCTED: 
On hera, ran two WE2E tests, one in NCO mode (nco_RRFS_CONUS_25km_HRRRX_RAPX) and the other in community mode (suite_FV3_GSD_v0).  These use suites FV3_GSD_SAR and FV3_GSD_v0, respectively, and both of these call Thompson microphysics.  Both succeeded.

## ISSUE (optional):
This PR resolves issue ufs-community#297.

* RRFS_v1beta SDF changes after reverting from GSL to GFS GWD suite (ufs-community#322) (ufs-community#327)

## DESCRIPTION OF CHANGES:
Removed checks on the RRFS_v1beta SDF implemented for use with the GSL GWD suite (now uses the GFS GWD suite).  No longer copies staged orography files necessary for the GSL GWD suite.

## TESTS CONDUCTED:
Runs to completion on Hera. End-to-end runs DOT_OR_USCORE and suite_FV3_RRFS_v1beta succeeded on Cheyenne.

Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Adjust RRFS_CONUS_... grids (ufs-community#294)

## DESCRIPTION OF CHANGES: 
* Adjust RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grid parameters so that:
  * All grids, including their 4-cell-wide halos, lie completely within the HRRRX domain.
  * All grids have dimensions nx and ny that factor "nicely", i.e. they don't have factors greather than 7.
  * The write-component grids corresponding to these three native grids cover as much of the native grids as possible without going outside of the native grid boundaries.  The updated NCL scripts (see below) were used to generate the write-component grid parameters.
* For the RRFS_CONUS_13km grid, reduce the time step (DT_ATMOS) from 180sec to 45sec.  This is necessary to get a successful forecast with the GSD_SAR suite, and thus likely also the RRFS_v1beta suite.
* Modify WE2E testing system as follows:
  * Add new tests with the RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grids that use the GFS_v15p2 and RRFS_v1beta suites (which are now the ones officially supported in the first release of the short-range weather app) instead of the GFS_v16beta and GSD_SAR suites, respectively.
  * For clarity, rename the test configuration files that use the GFS_v16beta and GSD_SAR suites so they include the suite name.
  * Update list of WE2E tests (baselines_list.txt).
* Update the NCL plotting scripts to be able to plot grids with the latest version of the workflow.

## TESTS CONDUCTED: 
On hera, ran tests with all three grids with the GFS_v15p2 and RRFS_v1beta suites (a total of 6 tests).  All were successful.

* Remove redundant model_configure.${CCPP_PHYS_SUITE} template files; use Jinja2 to create model_configure (ufs-community#321)

## DESCRIPTION OF CHANGES:
* Remove model_configure template files whose names depend on the physics suite, i.e. files with names of the form model_configure.${CCPP_PHYS_SUITE}.  Only a single template file is needed because the contents of the model_configure file are not suite dependent.  This leaves just one template file (named model_configure).
* Change the function create_model_configure_file.sh and the template file model_configure so they use jinja2 instead of sed to replace placeholder values.
* Absorb the contents of the write-component template files wrtcmp_lambert_conformal, wrtcmp_regional_latlon, and wrtcmp_rotated_latlon into the new jinja2-compliant model_configure file.  We can do this because Jinja2 allows use of if-statements in the template file.
* In the new model_configure jinja2 template file, include comments to explain the various write-component parameters.

## TESTS CONDUCTED:
On Hera, ran the two WE2E tests new_ESGgrid and new_GFDLgrid.  The first uses a "lambert_conformal" type of write-component grid, and the second uses a "rotated_latlon" type of write-component grid.  (The write-component also allows "regional_latlon" type grids, which is just the usual earth-relative latlon coordinate system, but we do not have any cases that use that.)  Both tests succeeded.

## ISSUE (optional): 
This PR resolves issue ufs-community#281.

* Add Thompson ice- and water-friendly aerosol climo file support (ufs-community#332)

* Add if statement in set_thompson_mp_fix_files.sh to source Thompson climo file when using a combination of a Thompson-based SDF and non-RAP/HRRR external model data

* Modify if statement based on external models for Thompson climo file

* Remove workflow variable EMC_GRID_NAME (ufs-community#333)

## DESCRIPTION OF CHANGES: 
* Remove the workflow variable EMC_GRID_NAME.  Henceforth, PREDEF_GRID_NAME is the only variable that can be used to set the name of the predefined grid to use.
* Make appropriate change of variable name (EMC_GRID_NAME --> PREDEF_GRID_NAME) in the WE2E test configuration files.
* Change anywhere the "conus" and "conus_c96" grids are specified to "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Rename WE2E test configuration files with names containing the strings "conus" and "conus_c96" by replacing these strings with "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Update the list of WE2E test names (tests/baselines_list.txt).
* Bug fixes not directly related to grids:
  * In config.nco.sh, remove settings of QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST since these are now set automatically (due to another PR).
  * In the template file FV3LAM_wflow.xml, add the ensemble member name after RUN_FCST_TN in the dependency of the run_post metatask.

## TESTS CONDUCTED: 
Since this change only affects runs in NCO mode, the following NCO-mode WE2E tests were rerun on hera, all successfully:
```
nco_EMC_CONUS_3km                                       SUCCESS
nco_EMC_CONUS_coarse                                    SUCCESS
nco_EMC_CONUS_coarse__suite_FV3_GFS_2017_gfdlmp         SUCCESS
nco_RRFS_CONUS_25km_HRRRX_RAPX                          SUCCESS
nco_RRFS_CONUS_3km_FV3GFS_FV3GFS                        SUCCESS
nco_RRFS_CONUS_3km_HRRRX_RAPX                           SUCCESS
nco_ensemble                                            SUCCESS
```

* Port workflow to Orion (ufs-community#309)

## DESCRIPTION OF CHANGES:
* Add stanzas for Orion where necessary.
* Add new module files for Orion.
* On Orion, both the slurm partition and the slurm QOS need to be specified in the rocoto XML in order to be able to have wall times longer than 30 mins (the partition needs to be specified because it is by default "debug", which has a limit of 30 mins).  Thus, introduce modifications to more easily specify slurm partitions:
    * Remove the workflow variables QUEUE_DEFAULT_TAG, QUEUE_HPSS_TAG, and QUEUE_FCST_TAG that are currently used to determine whether QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST specify the names of queue/QOS's or slurm partitions.
    * Add the workflow variables PARTITION_DEFAULT_TAG, PARTITION_HPSS_TAG, and PARTITION_FCST_TAG.  These will be used to specify slurm partitions only, and the variables QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST will be used to specify queues/QOS's only.

IMPORTANT NOTE:
On Orion, in order to load the regional_workflow environment needed for generating an experiment, the user must first issue the following commands:
```
module use -a /apps/contrib/miniconda3-noaa-gsl/modulefiles
module load miniconda3
conda activate regional_workflow
```

## TESTS CONDUCTED:
Ran 11 WE2E tests on Orion, Hera, and Cheyenne.

Results on Orion:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In the run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Hera:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             SUCCESS
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Cheyenne:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
All succeed except GSD_HRRR_AK_50km on Orion and Cheyenne.  It is not clear why grid_GSD_HRRR_AK_50km fails on Orion and Cheyenne but not Hera.  Seems to point to a bug in the forecast model.  These two failures are not so important since this grid will soon be deprecated.

Also tested successfully on Jet by @JeffBeck-NOAA and on Odin and Stampede by @ywangwof.

## ISSUE:
This resolves Issue ufs-community#152.

## CONTRIBUTORS:
@JeffBeck-NOAA @ywangwof @christinaholtNOAA

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: Jamie Wolff <jwolff@ucar.edu>

* Change cov_thresh for REFL to be a true max in nbrhood as SPC does.

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Separated Pull Data Scripts from Run Vx Scripts: Feature/add_metplus (ufs-community#2)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Fixed Vx Task Dependencies in Workflow: Feature/add metplus (ufs-community#3)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Manual merge with develop that didn't seem to work before. Trying to get feature branch updated so it will run again!

* Add local module files

* Add environment variable for SCRIPTSDIR

* Remove echo statement

* Remove old module files

* Update to config_default for walltime for ndas pull. Update to metplus parm for obs file template. Update to FV3LAM xml to not include 00 hour for verification

* Update template to remove full path

* Verification channges for obs. (ufs-community#4)

* Verification channges for obs.

* Update config_defaults.sh for vx description

* Update config_defaults.sh to remove extraneous MET info.

Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>

* Initial METplus .confs and MET config files for EnsembleStat APCP

* J-Job script for running ensemble stat

* Exregional script for ensemble-stat

* Added EnsembleStat.conf for A6 and A24. Added PCPCombine to A3, A6, and A24.

* Added EnsembleStatConfig files for 6 and 24h

* Copy of workflow template with precipitation ensemble tasks added. Will become main template when testing is complete

* Added export statement for number of ensemble members

* Added necessary task definitions in ush

* Updated workflow to included ENTITY definitions for ensstat

* Fixed typo

* Added ens vx configs

* Pull in updates from develop that were not merging properly. Small change to config.community to turn off vx tasks by default.

* Added/mod files for point ens vx.

* Updated metplus conf files for ens point vx

* Did manual merge of these files because it was not handled properly automatically

* Adding additional variables to METplus for regional workflow (ufs-community#5)

* Changes made based on meeting with Michelle and Jamie

* Updating fork

* Cleanup after merge

* Added additional ens vx

* Ensemble point vx mods

* Additional updates for ens and det vx

* ensgrid_mean and ensgrid_prob .conf files for APCP

* Updates for ensemble vx.

* Added mean and prob point-stat configs

* Updates to ensgrid_vx

* Updates for mean/prob vx.

* Updates to FV3LAM_wflow.xml

* Deterministic and ensembel vx updates.

* Ensgrid mean

* Update setup.sh

* Changed workflow template title

* Updates to deterministic and ensemble verification

* Created EnsembleStat METplus conf and MET config files for REFC

* Added reflectivity mean and prob METplus and MET config files. Updated APCP mean and prob METplus and MET config files.

* Added all J-job scripts, exregional scripts, and necessary definitons for workflow generation for all ensgrid_mean and ensgrid_prob tasks

* Updates to workflow to add ensgrid_vx

* Changes I made to account for runtime errors.

* Made changes to directory structures

* Made changes to directory structures and variables

* Changed log files and stage dir.

* Changes for grid- and point-vx.

* Updated METplus ensemble precip conf files.

* Mods for ensemble and deterministic vx.

* Change to GridStatConfig_REFC_mean

* Updated EnsembleStat_REFC.conf

* Updated to METv10.0.0

* Updated conf files for paths.

* Updated FV3LAM_wflow.xml template.

* Mods for vx dependencies

* Updated for censor thresh in METplus conf files; changes to FV3LAM_wflow.xml after sync with develop.

* Updated exregional_run_fcst.sh generate_FV3LAM_wflow.sh to address merge with develop.

* Mods for ensemble precip vx, handling padded/non-padded ensemble member names, fixes for python environment for obs pull.

* Changes to RETOP (units) and REFC (naming and level) verification.

* Fix OUTPUT_BASE for deterministic vx.

* Changes to some verification ex-scripts for syntax and path fixes. Included start end dates of incorrect 01-h CCPA data. Removed some extra lines in FV3LAM_wflow.xml template.

* Changed comp. ref. variable name in GridStat_REFC_prob.conf

* Changed comp. ref. level in GridStat_REFC_prob.conf

* Updated logic for number padding in the directory name when running in ensemble mode.

* Added MET ensemble vx WE2E test.

* Modified location of obs to live outside cycle dir, allowing for obs to be shared across cycles.

* Mods to address comments on PR575.

* Updated ensemble METPlus conf files for changes to post output name.

* Addessed comments in PR and mods for 10-m WIND.

* Addressing final comments in PR.

Co-authored-by: Jamie Wolff <jwolff@ucar.edu>
Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: lindsayrblank <lblank@ucar.edu>
Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>
Co-authored-by: PerryShafran-NOAA <62255233+PerryShafran-NOAA@users.noreply.github.com>
mkavulich added a commit that referenced this pull request Sep 8, 2022
* Fix to post flat file.

* Create MET and METplus config files under ush/templates/parm

* Added script to pull and reorg ccpa data. Added a script to run gridstat with METplus. Updated MET and METplus config files.

* Added new jjob for running grid-stat vx. Updated setup.sh to include grid-stat vx. Updated run_gridstatvx script.

* Fixed typo on script name from ksh to sh

* Moved some hard coded items out from the script to the XML

* Updates to get METplus to run with fewer hard-coded paths.

* Updates to add grid-stat task to XML generation.

* Bug fixes for adding grid-stat to XML generation

* Updates to remove hard-coded paths in config files

* Change log dir to put master_metplus log file with other logs under log/, rather than default logs/.

* Updates to generate xml without hard-coded paths for MET

* Add hera gridstat module file

* Add METplus point-stat task for both sfc and upper air

* Small tweaks to remove hard coded paths and add some flexibility

* Updates for adding point-stat into auto-generated xml

* Add in function to set point-stat task to FALSE

* Final tweaks to get it to generate the xml correctly

* Minor updates to run ensure 0,6,12,18

* Tweaks to var list for Point-Stat

* Add METplus settings to config_defaults

* Move quote for end of settings and fix extra comment.

* Fix typos to populate templates correctly

* Updated to include SCRIPTSDIR and other MET specific settings along with updates to FHR syntax

* Update module loads on hera

* Fixed comment for BOTH_VARn_THRESH to avoid syntax issues

* Added files to run grid_stat for a variety of accumulation intervals, including 3, 6, and 24h

* Added module load hpss

* Remove module load informatino from these scripts

* Updated the method of turning on/off vx tasks using jinja template if statement

* Remove commented out lines of code. Fixed typo. Removed gen_wflow.out file.

* Updated pull scripts to have file names dependent on date to pull from HPSS. Updated to export a few more local variables that METplus conf needed in scripts. Updated workflow to use service queue (for now) to for 1h grid_stat and point_stat run and default for 3+h accumulation grid_stat runs)

* moved common_hera.conf to common.conf - no platform specific information included that needs to be handled.

* Remove common_hera.conf

* Add scripts to pull and process MRMS data from NOAA HPSS

* Updates for REFC vx tasks

* updates to obs pull scripts

* Update for adding in reflectivity verification using MRMS analyses and updating name of model output to RRFS rather than HRRR

* Updates to account for CCPA issues on HPSS - day off for 00-05 UTC directories

* Verification mods to feature/add metplus (#1)

* Remove unused/outdated code (#313)

## DESCRIPTION OF CHANGES:
* In setup.sh and generate_FV3LAM_wflow.sh, remove temporary codes that fix bugs in the FV3_GFS_2017_gfdlmp_regional suite definition file because those bugs have been fixed (in the ufs-weather-model repo).
* In setup.sh, remove block of code that is no longer necessary because chgres_cube can now initialize from external model data with either 4 or 9 soil levels, and run with LSMs of either 4 or 9 soil levels.
* Remove modifications to LD_LIBRARY_PATH in exregional_run_fcst.sh.
* For the make_ics and make_lbcs tasks, move the setting of APRUN and other machine-specific actions from the J-job to the ex-script in order to be consistent with the other workflow tasks.
* Fix indentation and edit comments.
* Remove unused file load_fv3gfs_modules.sh.

## TESTS CONDUCTED: 
Ran two WE2E tests on hera, new_ESGgrid and new_GFDLgrid:
* new_ESGgrid uses the FV3_GFS_2017_gfdlmp_regional suite.  The test was successful.
* new_GFDLgrid uses the FV3_GFS_2017_gfdlmp suite.  The test was successful.

## ISSUE (optional): 
This resolves issue #198.

* Add and call a function that checks for use of Thompson microphysics parameterization in the SDF and if so, adjusts certain workflow arrays to contain the names and other associated values of the fixed files needed by this parameterization so that those files are automatically copied and/or linked to. (#319)

## DESCRIPTION OF CHANGES: 
Add and call a function that checks for use of Thompson microphysics parameterization in the suite definition file (SDF).  If not, do nothing.  If so, add to the appropriate workflow arrays the names and other associated values of the fixed files needed by this parameterization so that they are automatically copied and/or linked to instead of being regenerated from scratch in the run_fcst task.

## TESTS CONDUCTED: 
On hera, ran two WE2E tests, one in NCO mode (nco_RRFS_CONUS_25km_HRRRX_RAPX) and the other in community mode (suite_FV3_GSD_v0).  These use suites FV3_GSD_SAR and FV3_GSD_v0, respectively, and both of these call Thompson microphysics.  Both succeeded.

## ISSUE (optional):
This PR resolves issue #297.

* RRFS_v1beta SDF changes after reverting from GSL to GFS GWD suite (#322) (#327)

## DESCRIPTION OF CHANGES:
Removed checks on the RRFS_v1beta SDF implemented for use with the GSL GWD suite (now uses the GFS GWD suite).  No longer copies staged orography files necessary for the GSL GWD suite.

## TESTS CONDUCTED:
Runs to completion on Hera. End-to-end runs DOT_OR_USCORE and suite_FV3_RRFS_v1beta succeeded on Cheyenne.

Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Adjust RRFS_CONUS_... grids (#294)

## DESCRIPTION OF CHANGES: 
* Adjust RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grid parameters so that:
  * All grids, including their 4-cell-wide halos, lie completely within the HRRRX domain.
  * All grids have dimensions nx and ny that factor "nicely", i.e. they don't have factors greather than 7.
  * The write-component grids corresponding to these three native grids cover as much of the native grids as possible without going outside of the native grid boundaries.  The updated NCL scripts (see below) were used to generate the write-component grid parameters.
* For the RRFS_CONUS_13km grid, reduce the time step (DT_ATMOS) from 180sec to 45sec.  This is necessary to get a successful forecast with the GSD_SAR suite, and thus likely also the RRFS_v1beta suite.
* Modify WE2E testing system as follows:
  * Add new tests with the RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grids that use the GFS_v15p2 and RRFS_v1beta suites (which are now the ones officially supported in the first release of the short-range weather app) instead of the GFS_v16beta and GSD_SAR suites, respectively.
  * For clarity, rename the test configuration files that use the GFS_v16beta and GSD_SAR suites so they include the suite name.
  * Update list of WE2E tests (baselines_list.txt).
* Update the NCL plotting scripts to be able to plot grids with the latest version of the workflow.

## TESTS CONDUCTED: 
On hera, ran tests with all three grids with the GFS_v15p2 and RRFS_v1beta suites (a total of 6 tests).  All were successful.

* Remove redundant model_configure.${CCPP_PHYS_SUITE} template files; use Jinja2 to create model_configure (#321)

## DESCRIPTION OF CHANGES:
* Remove model_configure template files whose names depend on the physics suite, i.e. files with names of the form model_configure.${CCPP_PHYS_SUITE}.  Only a single template file is needed because the contents of the model_configure file are not suite dependent.  This leaves just one template file (named model_configure).
* Change the function create_model_configure_file.sh and the template file model_configure so they use jinja2 instead of sed to replace placeholder values.
* Absorb the contents of the write-component template files wrtcmp_lambert_conformal, wrtcmp_regional_latlon, and wrtcmp_rotated_latlon into the new jinja2-compliant model_configure file.  We can do this because Jinja2 allows use of if-statements in the template file.
* In the new model_configure jinja2 template file, include comments to explain the various write-component parameters.

## TESTS CONDUCTED:
On Hera, ran the two WE2E tests new_ESGgrid and new_GFDLgrid.  The first uses a "lambert_conformal" type of write-component grid, and the second uses a "rotated_latlon" type of write-component grid.  (The write-component also allows "regional_latlon" type grids, which is just the usual earth-relative latlon coordinate system, but we do not have any cases that use that.)  Both tests succeeded.

## ISSUE (optional): 
This PR resolves issue #281.

* Add Thompson ice- and water-friendly aerosol climo file support (#332)

* Add if statement in set_thompson_mp_fix_files.sh to source Thompson climo file when using a combination of a Thompson-based SDF and non-RAP/HRRR external model data

* Modify if statement based on external models for Thompson climo file

* Remove workflow variable EMC_GRID_NAME (#333)

## DESCRIPTION OF CHANGES: 
* Remove the workflow variable EMC_GRID_NAME.  Henceforth, PREDEF_GRID_NAME is the only variable that can be used to set the name of the predefined grid to use.
* Make appropriate change of variable name (EMC_GRID_NAME --> PREDEF_GRID_NAME) in the WE2E test configuration files.
* Change anywhere the "conus" and "conus_c96" grids are specified to "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Rename WE2E test configuration files with names containing the strings "conus" and "conus_c96" by replacing these strings with "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Update the list of WE2E test names (tests/baselines_list.txt).
* Bug fixes not directly related to grids:
  * In config.nco.sh, remove settings of QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST since these are now set automatically (due to another PR).
  * In the template file FV3LAM_wflow.xml, add the ensemble member name after RUN_FCST_TN in the dependency of the run_post metatask.

## TESTS CONDUCTED: 
Since this change only affects runs in NCO mode, the following NCO-mode WE2E tests were rerun on hera, all successfully:
```
nco_EMC_CONUS_3km                                       SUCCESS
nco_EMC_CONUS_coarse                                    SUCCESS
nco_EMC_CONUS_coarse__suite_FV3_GFS_2017_gfdlmp         SUCCESS
nco_RRFS_CONUS_25km_HRRRX_RAPX                          SUCCESS
nco_RRFS_CONUS_3km_FV3GFS_FV3GFS                        SUCCESS
nco_RRFS_CONUS_3km_HRRRX_RAPX                           SUCCESS
nco_ensemble                                            SUCCESS
```

* Port workflow to Orion (#309)

## DESCRIPTION OF CHANGES:
* Add stanzas for Orion where necessary.
* Add new module files for Orion.
* On Orion, both the slurm partition and the slurm QOS need to be specified in the rocoto XML in order to be able to have wall times longer than 30 mins (the partition needs to be specified because it is by default "debug", which has a limit of 30 mins).  Thus, introduce modifications to more easily specify slurm partitions:
    * Remove the workflow variables QUEUE_DEFAULT_TAG, QUEUE_HPSS_TAG, and QUEUE_FCST_TAG that are currently used to determine whether QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST specify the names of queue/QOS's or slurm partitions.
    * Add the workflow variables PARTITION_DEFAULT_TAG, PARTITION_HPSS_TAG, and PARTITION_FCST_TAG.  These will be used to specify slurm partitions only, and the variables QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST will be used to specify queues/QOS's only.

IMPORTANT NOTE:
On Orion, in order to load the regional_workflow environment needed for generating an experiment, the user must first issue the following commands:
```
module use -a /apps/contrib/miniconda3-noaa-gsl/modulefiles
module load miniconda3
conda activate regional_workflow
```

## TESTS CONDUCTED:
Ran 11 WE2E tests on Orion, Hera, and Cheyenne.

Results on Orion:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In the run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Hera:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             SUCCESS
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Cheyenne:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
All succeed except GSD_HRRR_AK_50km on Orion and Cheyenne.  It is not clear why grid_GSD_HRRR_AK_50km fails on Orion and Cheyenne but not Hera.  Seems to point to a bug in the forecast model.  These two failures are not so important since this grid will soon be deprecated.

Also tested successfully on Jet by @JeffBeck-NOAA and on Odin and Stampede by @ywangwof.

## ISSUE:
This resolves Issue #152.

## CONTRIBUTORS:
@JeffBeck-NOAA @ywangwof @christinaholtNOAA

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: Jamie Wolff <jwolff@ucar.edu>

* Change cov_thresh for REFL to be a true max in nbrhood as SPC does.

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Separated Pull Data Scripts from Run Vx Scripts: Feature/add_metplus (#2)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Fixed Vx Task Dependencies in Workflow: Feature/add metplus (#3)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Manual merge with develop that didn't seem to work before. Trying to get feature branch updated so it will run again!

* Add local module files

* Add environment variable for SCRIPTSDIR

* Remove echo statement

* Remove old module files

* Update to config_default for walltime for ndas pull. Update to metplus parm for obs file template. Update to FV3LAM xml to not include 00 hour for verification

* Update template to remove full path

* Verification channges for obs. (#4)

* Verification channges for obs.

* Update config_defaults.sh for vx description

* Update config_defaults.sh to remove extraneous MET info.

Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>

* Initial METplus .confs and MET config files for EnsembleStat APCP

* J-Job script for running ensemble stat

* Exregional script for ensemble-stat

* Added EnsembleStat.conf for A6 and A24. Added PCPCombine to A3, A6, and A24.

* Added EnsembleStatConfig files for 6 and 24h

* Copy of workflow template with precipitation ensemble tasks added. Will become main template when testing is complete

* Added export statement for number of ensemble members

* Added necessary task definitions in ush

* Updated workflow to included ENTITY definitions for ensstat

* Fixed typo

* Added ens vx configs

* Pull in updates from develop that were not merging properly. Small change to config.community to turn off vx tasks by default.

* Added/mod files for point ens vx.

* Updated metplus conf files for ens point vx

* Did manual merge of these files because it was not handled properly automatically

* Adding additional variables to METplus for regional workflow (#5)

* Changes made based on meeting with Michelle and Jamie

* Updating fork

* Cleanup after merge

* Added additional ens vx

* Ensemble point vx mods

* Additional updates for ens and det vx

* ensgrid_mean and ensgrid_prob .conf files for APCP

* Updates for ensemble vx.

* Added mean and prob point-stat configs

* Updates to ensgrid_vx

* Updates for mean/prob vx.

* Updates to FV3LAM_wflow.xml

* Deterministic and ensembel vx updates.

* Ensgrid mean

* Update setup.sh

* Changed workflow template title

* Updates to deterministic and ensemble verification

* Created EnsembleStat METplus conf and MET config files for REFC

* Added reflectivity mean and prob METplus and MET config files. Updated APCP mean and prob METplus and MET config files.

* Added all J-job scripts, exregional scripts, and necessary definitons for workflow generation for all ensgrid_mean and ensgrid_prob tasks

* Updates to workflow to add ensgrid_vx

* Changes I made to account for runtime errors.

* Made changes to directory structures

* Made changes to directory structures and variables

* Changed log files and stage dir.

* Changes for grid- and point-vx.

* Updated METplus ensemble precip conf files.

* Mods for ensemble and deterministic vx.

* Change to GridStatConfig_REFC_mean

* Updated EnsembleStat_REFC.conf

* Updated to METv10.0.0

* Updated conf files for paths.

* Updated FV3LAM_wflow.xml template.

* Mods for vx dependencies

* Updated for censor thresh in METplus conf files; changes to FV3LAM_wflow.xml after sync with develop.

* Updated exregional_run_fcst.sh generate_FV3LAM_wflow.sh to address merge with develop.

* Mods for ensemble precip vx, handling padded/non-padded ensemble member names, fixes for python environment for obs pull.

* Changes to RETOP (units) and REFC (naming and level) verification.

* Fix OUTPUT_BASE for deterministic vx.

* Changes to some verification ex-scripts for syntax and path fixes. Included start end dates of incorrect 01-h CCPA data. Removed some extra lines in FV3LAM_wflow.xml template.

* Changed comp. ref. variable name in GridStat_REFC_prob.conf

* Changed comp. ref. level in GridStat_REFC_prob.conf

* Updated logic for number padding in the directory name when running in ensemble mode.

* Added MET ensemble vx WE2E test.

* Modified location of obs to live outside cycle dir, allowing for obs to be shared across cycles.

* Mods to address comments on PR575.

* Updated ensemble METPlus conf files for changes to post output name.

* Addessed comments in PR and mods for 10-m WIND.

* Addressing final comments in PR.

Co-authored-by: Jamie Wolff <jwolff@ucar.edu>
Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: lindsayrblank <lblank@ucar.edu>
Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>
Co-authored-by: PerryShafran-NOAA <62255233+PerryShafran-NOAA@users.noreply.github.com>
danielabdi-noaa pushed a commit to danielabdi-noaa/ufs-srweather-app that referenced this pull request Sep 8, 2022
* Fix to post flat file.

* Create MET and METplus config files under ush/templates/parm

* Added script to pull and reorg ccpa data. Added a script to run gridstat with METplus. Updated MET and METplus config files.

* Added new jjob for running grid-stat vx. Updated setup.sh to include grid-stat vx. Updated run_gridstatvx script.

* Fixed typo on script name from ksh to sh

* Moved some hard coded items out from the script to the XML

* Updates to get METplus to run with fewer hard-coded paths.

* Updates to add grid-stat task to XML generation.

* Bug fixes for adding grid-stat to XML generation

* Updates to remove hard-coded paths in config files

* Change log dir to put master_metplus log file with other logs under log/, rather than default logs/.

* Updates to generate xml without hard-coded paths for MET

* Add hera gridstat module file

* Add METplus point-stat task for both sfc and upper air

* Small tweaks to remove hard coded paths and add some flexibility

* Updates for adding point-stat into auto-generated xml

* Add in function to set point-stat task to FALSE

* Final tweaks to get it to generate the xml correctly

* Minor updates to run ensure 0,6,12,18

* Tweaks to var list for Point-Stat

* Add METplus settings to config_defaults

* Move quote for end of settings and fix extra comment.

* Fix typos to populate templates correctly

* Updated to include SCRIPTSDIR and other MET specific settings along with updates to FHR syntax

* Update module loads on hera

* Fixed comment for BOTH_VARn_THRESH to avoid syntax issues

* Added files to run grid_stat for a variety of accumulation intervals, including 3, 6, and 24h

* Added module load hpss

* Remove module load informatino from these scripts

* Updated the method of turning on/off vx tasks using jinja template if statement

* Remove commented out lines of code. Fixed typo. Removed gen_wflow.out file.

* Updated pull scripts to have file names dependent on date to pull from HPSS. Updated to export a few more local variables that METplus conf needed in scripts. Updated workflow to use service queue (for now) to for 1h grid_stat and point_stat run and default for 3+h accumulation grid_stat runs)

* moved common_hera.conf to common.conf - no platform specific information included that needs to be handled.

* Remove common_hera.conf

* Add scripts to pull and process MRMS data from NOAA HPSS

* Updates for REFC vx tasks

* updates to obs pull scripts

* Update for adding in reflectivity verification using MRMS analyses and updating name of model output to RRFS rather than HRRR

* Updates to account for CCPA issues on HPSS - day off for 00-05 UTC directories

* Verification mods to feature/add metplus (#1)

* Remove unused/outdated code (ufs-community#313)

## DESCRIPTION OF CHANGES:
* In setup.sh and generate_FV3LAM_wflow.sh, remove temporary codes that fix bugs in the FV3_GFS_2017_gfdlmp_regional suite definition file because those bugs have been fixed (in the ufs-weather-model repo).
* In setup.sh, remove block of code that is no longer necessary because chgres_cube can now initialize from external model data with either 4 or 9 soil levels, and run with LSMs of either 4 or 9 soil levels.
* Remove modifications to LD_LIBRARY_PATH in exregional_run_fcst.sh.
* For the make_ics and make_lbcs tasks, move the setting of APRUN and other machine-specific actions from the J-job to the ex-script in order to be consistent with the other workflow tasks.
* Fix indentation and edit comments.
* Remove unused file load_fv3gfs_modules.sh.

## TESTS CONDUCTED: 
Ran two WE2E tests on hera, new_ESGgrid and new_GFDLgrid:
* new_ESGgrid uses the FV3_GFS_2017_gfdlmp_regional suite.  The test was successful.
* new_GFDLgrid uses the FV3_GFS_2017_gfdlmp suite.  The test was successful.

## ISSUE (optional): 
This resolves issue NOAA-GSL#198.

* Add and call a function that checks for use of Thompson microphysics parameterization in the SDF and if so, adjusts certain workflow arrays to contain the names and other associated values of the fixed files needed by this parameterization so that those files are automatically copied and/or linked to. (ufs-community#319)

## DESCRIPTION OF CHANGES: 
Add and call a function that checks for use of Thompson microphysics parameterization in the suite definition file (SDF).  If not, do nothing.  If so, add to the appropriate workflow arrays the names and other associated values of the fixed files needed by this parameterization so that they are automatically copied and/or linked to instead of being regenerated from scratch in the run_fcst task.

## TESTS CONDUCTED: 
On hera, ran two WE2E tests, one in NCO mode (nco_RRFS_CONUS_25km_HRRRX_RAPX) and the other in community mode (suite_FV3_GSD_v0).  These use suites FV3_GSD_SAR and FV3_GSD_v0, respectively, and both of these call Thompson microphysics.  Both succeeded.

## ISSUE (optional):
This PR resolves issue ufs-community#297.

* RRFS_v1beta SDF changes after reverting from GSL to GFS GWD suite (ufs-community#322) (ufs-community#327)

## DESCRIPTION OF CHANGES:
Removed checks on the RRFS_v1beta SDF implemented for use with the GSL GWD suite (now uses the GFS GWD suite).  No longer copies staged orography files necessary for the GSL GWD suite.

## TESTS CONDUCTED:
Runs to completion on Hera. End-to-end runs DOT_OR_USCORE and suite_FV3_RRFS_v1beta succeeded on Cheyenne.

Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Adjust RRFS_CONUS_... grids (ufs-community#294)

## DESCRIPTION OF CHANGES: 
* Adjust RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grid parameters so that:
  * All grids, including their 4-cell-wide halos, lie completely within the HRRRX domain.
  * All grids have dimensions nx and ny that factor "nicely", i.e. they don't have factors greather than 7.
  * The write-component grids corresponding to these three native grids cover as much of the native grids as possible without going outside of the native grid boundaries.  The updated NCL scripts (see below) were used to generate the write-component grid parameters.
* For the RRFS_CONUS_13km grid, reduce the time step (DT_ATMOS) from 180sec to 45sec.  This is necessary to get a successful forecast with the GSD_SAR suite, and thus likely also the RRFS_v1beta suite.
* Modify WE2E testing system as follows:
  * Add new tests with the RRFS_CONUS_25km, RRFS_CONUS_13km, and RRFS_CONUS_3km grids that use the GFS_v15p2 and RRFS_v1beta suites (which are now the ones officially supported in the first release of the short-range weather app) instead of the GFS_v16beta and GSD_SAR suites, respectively.
  * For clarity, rename the test configuration files that use the GFS_v16beta and GSD_SAR suites so they include the suite name.
  * Update list of WE2E tests (baselines_list.txt).
* Update the NCL plotting scripts to be able to plot grids with the latest version of the workflow.

## TESTS CONDUCTED: 
On hera, ran tests with all three grids with the GFS_v15p2 and RRFS_v1beta suites (a total of 6 tests).  All were successful.

* Remove redundant model_configure.${CCPP_PHYS_SUITE} template files; use Jinja2 to create model_configure (ufs-community#321)

## DESCRIPTION OF CHANGES:
* Remove model_configure template files whose names depend on the physics suite, i.e. files with names of the form model_configure.${CCPP_PHYS_SUITE}.  Only a single template file is needed because the contents of the model_configure file are not suite dependent.  This leaves just one template file (named model_configure).
* Change the function create_model_configure_file.sh and the template file model_configure so they use jinja2 instead of sed to replace placeholder values.
* Absorb the contents of the write-component template files wrtcmp_lambert_conformal, wrtcmp_regional_latlon, and wrtcmp_rotated_latlon into the new jinja2-compliant model_configure file.  We can do this because Jinja2 allows use of if-statements in the template file.
* In the new model_configure jinja2 template file, include comments to explain the various write-component parameters.

## TESTS CONDUCTED:
On Hera, ran the two WE2E tests new_ESGgrid and new_GFDLgrid.  The first uses a "lambert_conformal" type of write-component grid, and the second uses a "rotated_latlon" type of write-component grid.  (The write-component also allows "regional_latlon" type grids, which is just the usual earth-relative latlon coordinate system, but we do not have any cases that use that.)  Both tests succeeded.

## ISSUE (optional): 
This PR resolves issue ufs-community#281.

* Add Thompson ice- and water-friendly aerosol climo file support (ufs-community#332)

* Add if statement in set_thompson_mp_fix_files.sh to source Thompson climo file when using a combination of a Thompson-based SDF and non-RAP/HRRR external model data

* Modify if statement based on external models for Thompson climo file

* Remove workflow variable EMC_GRID_NAME (ufs-community#333)

## DESCRIPTION OF CHANGES: 
* Remove the workflow variable EMC_GRID_NAME.  Henceforth, PREDEF_GRID_NAME is the only variable that can be used to set the name of the predefined grid to use.
* Make appropriate change of variable name (EMC_GRID_NAME --> PREDEF_GRID_NAME) in the WE2E test configuration files.
* Change anywhere the "conus" and "conus_c96" grids are specified to "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Rename WE2E test configuration files with names containing the strings "conus" and "conus_c96" by replacing these strings with "EMC_CONUS_3km" and "EMC_CONUS_coarse", respectively.
* Update the list of WE2E test names (tests/baselines_list.txt).
* Bug fixes not directly related to grids:
  * In config.nco.sh, remove settings of QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST since these are now set automatically (due to another PR).
  * In the template file FV3LAM_wflow.xml, add the ensemble member name after RUN_FCST_TN in the dependency of the run_post metatask.

## TESTS CONDUCTED: 
Since this change only affects runs in NCO mode, the following NCO-mode WE2E tests were rerun on hera, all successfully:
```
nco_EMC_CONUS_3km                                       SUCCESS
nco_EMC_CONUS_coarse                                    SUCCESS
nco_EMC_CONUS_coarse__suite_FV3_GFS_2017_gfdlmp         SUCCESS
nco_RRFS_CONUS_25km_HRRRX_RAPX                          SUCCESS
nco_RRFS_CONUS_3km_FV3GFS_FV3GFS                        SUCCESS
nco_RRFS_CONUS_3km_HRRRX_RAPX                           SUCCESS
nco_ensemble                                            SUCCESS
```

* Port workflow to Orion (ufs-community#309)

## DESCRIPTION OF CHANGES:
* Add stanzas for Orion where necessary.
* Add new module files for Orion.
* On Orion, both the slurm partition and the slurm QOS need to be specified in the rocoto XML in order to be able to have wall times longer than 30 mins (the partition needs to be specified because it is by default "debug", which has a limit of 30 mins).  Thus, introduce modifications to more easily specify slurm partitions:
    * Remove the workflow variables QUEUE_DEFAULT_TAG, QUEUE_HPSS_TAG, and QUEUE_FCST_TAG that are currently used to determine whether QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST specify the names of queue/QOS's or slurm partitions.
    * Add the workflow variables PARTITION_DEFAULT_TAG, PARTITION_HPSS_TAG, and PARTITION_FCST_TAG.  These will be used to specify slurm partitions only, and the variables QUEUE_DEFAULT, QUEUE_HPSS, and QUEUE_FCST will be used to specify queues/QOS's only.

IMPORTANT NOTE:
On Orion, in order to load the regional_workflow environment needed for generating an experiment, the user must first issue the following commands:
```
module use -a /apps/contrib/miniconda3-noaa-gsl/modulefiles
module load miniconda3
conda activate regional_workflow
```

## TESTS CONDUCTED:
Ran 11 WE2E tests on Orion, Hera, and Cheyenne.

Results on Orion:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In the run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Hera:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             SUCCESS
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
Results on Cheyenne:
```
community_ensemble_2mems          SUCCESS
DOT_OR_USCORE                     SUCCESS
grid_GSD_HRRR_AK_50km             FAILURE - In run_fcst task.
  * Error message:
  !!! (1) Error in subr radiation_aerosols: unrealistic surface pressure =
           1                     NaN
new_ESGgrid                       SUCCESS
new_GFDLgrid                      SUCCESS
regional_001                      SUCCESS
regional_002                      SUCCESS
suite_FV3_GFS_v15p2               SUCCESS
suite_FV3_GFS_v16beta             SUCCESS
suite_FV3_GSD_SAR                 SUCCESS
suite_FV3_GSD_v0                  SUCCESS
```
All succeed except GSD_HRRR_AK_50km on Orion and Cheyenne.  It is not clear why grid_GSD_HRRR_AK_50km fails on Orion and Cheyenne but not Hera.  Seems to point to a bug in the forecast model.  These two failures are not so important since this grid will soon be deprecated.

Also tested successfully on Jet by @JeffBeck-NOAA and on Odin and Stampede by @ywangwof.

## ISSUE:
This resolves Issue NOAA-GSL#152.

## CONTRIBUTORS:
@JeffBeck-NOAA @ywangwof @christinaholtNOAA

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

* Update FV3.input.nml for fhzero = 1.0

* Updated conf files for file name conventions.

* Updated MET scripts and MRMS pull scripts.

* Removed comments from exregional_get_mrms_files.sh and removed fhzero from FV3.input.yml

Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: Jamie Wolff <jwolff@ucar.edu>

* Change cov_thresh for REFL to be a true max in nbrhood as SPC does.

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Separated Pull Data Scripts from Run Vx Scripts: Feature/add_metplus (#2)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Fixed Vx Task Dependencies in Workflow: Feature/add metplus (NOAA-GSL#3)

* Job script for get_obs_ccpa

* Jobs script for get_obs_mrms

* Jobs script for get_obs_ndas

* Added external variables necessary to get_ccpa script

* Updated workflow template with separate get obs tasks

* Separated pull scripts from run scripts

* Added necessary defaults/values for defining pull tasks

* Added module files, default config.sh options, and changed dependencies for vx tasks

* Changed name of new workflow to FV3LAM_wflow.xml

* Added task get_obs_tn, removed config.sh, updated config_defaults and config.community.sh

* Adjusted the community and default config files based on comments

* Updated FV3LAM workflow

* Fixed discrepancies in config.community.sh

* Fixed discrepancies in config_defaults.sh

* Fixed discrepancies in config_defaults.sh round 2

* Fixed discrepancies in config_defaults.sh round 3

* Fixed discrepancies in config_defaults.sh round 4

* Fixed discrepancies in config.community.sh round 2

* Fixed discrepancies in config.community.sh round 3

* Fixed discrepancies in generate_FV3LAM_wflow.sh

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 2

* Fixed discrepancies in generate_FV3LAM_wflow.sh round 3

* Updated FV3LAM_wflow template

* Fixed the dependencies of the vx tasks

* Manual merge with develop that didn't seem to work before. Trying to get feature branch updated so it will run again!

* Add local module files

* Add environment variable for SCRIPTSDIR

* Remove echo statement

* Remove old module files

* Update to config_default for walltime for ndas pull. Update to metplus parm for obs file template. Update to FV3LAM xml to not include 00 hour for verification

* Update template to remove full path

* Verification channges for obs. (NOAA-GSL#4)

* Verification channges for obs.

* Update config_defaults.sh for vx description

* Update config_defaults.sh to remove extraneous MET info.

Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>

* Initial METplus .confs and MET config files for EnsembleStat APCP

* J-Job script for running ensemble stat

* Exregional script for ensemble-stat

* Added EnsembleStat.conf for A6 and A24. Added PCPCombine to A3, A6, and A24.

* Added EnsembleStatConfig files for 6 and 24h

* Copy of workflow template with precipitation ensemble tasks added. Will become main template when testing is complete

* Added export statement for number of ensemble members

* Added necessary task definitions in ush

* Updated workflow to included ENTITY definitions for ensstat

* Fixed typo

* Added ens vx configs

* Pull in updates from develop that were not merging properly. Small change to config.community to turn off vx tasks by default.

* Added/mod files for point ens vx.

* Updated metplus conf files for ens point vx

* Did manual merge of these files because it was not handled properly automatically

* Adding additional variables to METplus for regional workflow (NOAA-GSL#5)

* Changes made based on meeting with Michelle and Jamie

* Updating fork

* Cleanup after merge

* Added additional ens vx

* Ensemble point vx mods

* Additional updates for ens and det vx

* ensgrid_mean and ensgrid_prob .conf files for APCP

* Updates for ensemble vx.

* Added mean and prob point-stat configs

* Updates to ensgrid_vx

* Updates for mean/prob vx.

* Updates to FV3LAM_wflow.xml

* Deterministic and ensembel vx updates.

* Ensgrid mean

* Update setup.sh

* Changed workflow template title

* Updates to deterministic and ensemble verification

* Created EnsembleStat METplus conf and MET config files for REFC

* Added reflectivity mean and prob METplus and MET config files. Updated APCP mean and prob METplus and MET config files.

* Added all J-job scripts, exregional scripts, and necessary definitons for workflow generation for all ensgrid_mean and ensgrid_prob tasks

* Updates to workflow to add ensgrid_vx

* Changes I made to account for runtime errors.

* Made changes to directory structures

* Made changes to directory structures and variables

* Changed log files and stage dir.

* Changes for grid- and point-vx.

* Updated METplus ensemble precip conf files.

* Mods for ensemble and deterministic vx.

* Change to GridStatConfig_REFC_mean

* Updated EnsembleStat_REFC.conf

* Updated to METv10.0.0

* Updated conf files for paths.

* Updated FV3LAM_wflow.xml template.

* Mods for vx dependencies

* Updated for censor thresh in METplus conf files; changes to FV3LAM_wflow.xml after sync with develop.

* Updated exregional_run_fcst.sh generate_FV3LAM_wflow.sh to address merge with develop.

* Mods for ensemble precip vx, handling padded/non-padded ensemble member names, fixes for python environment for obs pull.

* Changes to RETOP (units) and REFC (naming and level) verification.

* Fix OUTPUT_BASE for deterministic vx.

* Changes to some verification ex-scripts for syntax and path fixes. Included start end dates of incorrect 01-h CCPA data. Removed some extra lines in FV3LAM_wflow.xml template.

* Changed comp. ref. variable name in GridStat_REFC_prob.conf

* Changed comp. ref. level in GridStat_REFC_prob.conf

* Updated logic for number padding in the directory name when running in ensemble mode.

* Added MET ensemble vx WE2E test.

* Modified location of obs to live outside cycle dir, allowing for obs to be shared across cycles.

* Mods to address comments on PR575.

* Updated ensemble METPlus conf files for changes to post output name.

* Addessed comments in PR and mods for 10-m WIND.

* Addressing final comments in PR.

Co-authored-by: Jamie Wolff <jwolff@ucar.edu>
Co-authored-by: gsketefian <31046882+gsketefian@users.noreply.github.com>
Co-authored-by: Michael Kavulich <kavulich@ucar.edu>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: lindsayrblank <lblank@ucar.edu>
Co-authored-by: Michelle Harrold <Michelle.Harrold@noaa.gov>
Co-authored-by: PerryShafran-NOAA <62255233+PerryShafran-NOAA@users.noreply.github.com>
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.

3 participants