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

Update develop-ref after dtcenter/MET#2988 - failed #2720

Merged
merged 1,092 commits into from
Oct 14, 2024

Conversation

github-actions[bot]
Copy link
Contributor

dtcenter/MET#2988 -- see issue #2719 for details
Created by @georgemccabe

metplus-bot and others added 30 commits August 2, 2023 19:26
…at causes GHA disk to exceed capacity when too many data volumes are created. Use specific commit of coveralls python action to ensure it will not change
…n a pull request from a fork because the authentication fails
… to push this change and the NOAA OAR reporting label to all the METplus repos.
…lso fixing the get_lablels.sh to search for up to 200 existing labels. Also work on the log messages.
Co-authored-by: John Halley Gotway <[email protected]>
georgemccabe and others added 23 commits July 1, 2024 09:19
* update version and added release notes

* Per #2626, updating dates

---------

Co-authored-by: Julie Prestopnik <[email protected]>
* Per #2656, update the read_iodav2_mpr.py scripts to write 3 additional values of NA in each MPR line corresponding to the OBS_CLIMO_CDF, FCST_CLIMO_MEAN, and FCST_CLIMO_STDEV columns.

* Per #2656, update the ugrid_lfric_mpr.py to write 3 additional values of NA in each MPR line corresponding to the OBS_CLIMO_CDF, FCST_CLIMO_MEAN, and FCST_CLIMO_STDEV columns.
* Per 2679, updating user support documentation

* Per #2679, fixing formatting error

* Update user_support.rst

* Update user_support.rst

---------

Co-authored-by: John Halley Gotway <[email protected]>
* Per #2452, updating MET official release instructions

* Update to indicate the "DTC" web server machine

Co-authored-by: John Halley Gotway <[email protected]>

* Updated language for tar file

Co-authored-by: John Halley Gotway <[email protected]>

---------

Co-authored-by: John Halley Gotway <[email protected]>
* Refactor to prevent calling sys.exit from functions that could cause the calling script to exit unintentionally. Instead return None or False and only sys.exit a non-zero value from a script that is called explicitly. Refactored validate config logic to reduce cognitive complexity to satisfy SonarQube

* per #2596, ensure the same RUN_ID is set for a given METplus run even if instances are used in the PROCESS_LIST

* fixed linter complaints

* remove unused imports

* cleanup for SonarQube and linter

* remove unused imports

* import parent wrappers directly so that PyCharm can follow class hierarchy

* per #2612, add support for processing groups of forecast leads

* remove call to prune_empty function and ci-run-all-diff

* fixed check on DataFrame to properly check for an empty one

* remove prune_empty function that is no longer used

* update conda environment requirements for metdataio

* set label to Group<n> for LEAD_SEQ_<n> if LEAD_SEQ_<n>_LABEL is not set (instead of erroring), use forecast lead label for lead if set, log lead group label and formatted list of leads for each run

* increase timeout for request from 60 to 90

* handle exception and output an error message with a suggestion to rerun the failed GHA jobs when a hiccup with DockerHub prevents the list of available Docker data volumes from being obtained. FYI @jprestop

* cleanup to address SonarQube complaints, move call to exit out of main function so a script calling the function does not exit when the function errors

* cleanup to appease SonarQube

* per #2612, add support for creating groups of forecast leads by specifying a list of forecast leads and a time interval to create groups of leads

* per #2612, add unit tests for function that gets groups of forecast leads and added tests for new groups capabilities

* various refactoring to satisfy SonarQube complaints

* renamed config LEAD_SEQ_DIVISIONS to LEAD_SEQ_GROUP_SIZE and LEAD_SEQ_DIVISIONS_LABEL to LEAD_SEQ_GROUP_LABEL

* per #2612, add documentation for new config variables including examples

* fix empty check for DataFrame

* fix rst typo

* minor cleanup to satisfy linter

* Per #2612, if runtime freq is RUN_ONCE_PER_LEAD and groups of forecast leads are specified, then the wrapper will be run once per lead GROUP instead of once for each unique lead in the lead groups. Update unit test to reflect new behavior
* remove support for old environment variables CLIMO_MEAN_FILE and CLIMO_STDEV_FILE that were used in METplus versions earlier than v4.0.0

* fixed SonarQube bugs

* add better error checking for DockerHub queries that occasionally fail in GHA

* update pycharm files

* per #2622, support setting climo_mean and climo_stdev dictionary values inside fcst and obs dictionaries for grid_stat, ensemble_stat, point_stat, and series_analysis. Quietly add support for setting climo dictionaries inside the ens dictionary for gen_ens_prod -- this support is not needed because there is only 1 dictionary that may contain the climo dicts, but adding support for completeness so it can be assumed that {APP_NAME}_{DICT}_{SUBDICT}_{VAR} is supported, e.g. GEN_ENS_PROD_ENS_CLIMO_MEAN_REGRID_METHOD

* turn on use cases that started failing from MET changes

* turn off all use cases from push events 

* reorder assert so that expected vs. actual in PyCharm diff are accurate

* remove commented code

* added unit tests for climo VAR<n> variables that were missing

* add VAR<n> variables used to specify climo_mean/stdev field values
* exclude build directory from PyCharm project

* refactor to satisfy SonarQube complaints

* Per #2651, add support for setting -aggr argument with file path. Refactor functions to resolve SonarQube complaints. Enhance unit tests to test multiple init times and -aggr argument

* add new config variables to basic use case

* change settings to match MET unit test

* added new config variables to set -aggr argument in SeriesAnalysis wrapper to documentation

* Per #2651, add new use case to demonstrate using the -aggr argument to SeriesAnalysis

* turn on new use case to test it in GHA

* remove blank line

* turn off use case to prepare for PR
…d info (#2709)

* fix SonarQube complaints

* Per #2705, set correct time information in field info by using the time info used to find the input files (self.c_dict['ALL_FILES']) instead of relying on parsing the time info from the other input files (fcst vs. obs)

* clean up unused code after bugfix for #2705
* establish documentation, need to fill out with provided info

* updated documentation, needs to have img path and output path fixed

* updated output strings, still need to update pic link

* removing pound sign to render correctly

* Revert "removing pound sign to render correctly"

This reverts commit ffe607a.

* targeted removal of pound sign with bullet points section.

* Per #2647, attempt to fix syntax error

* Per #2647, adding back contents with formatting changes to test if it works

* Per #2647, adding back contents in a different location to try to resolve syntax error

* Per #2647, testing pipe for horizontal scroll bar

* Per #2647, removed the pipe symbol and are attempting to fix syntax error again

* Per #2647, reverting to original failed attempt of a table of contents

* Per #2647, trying new formatting

* Per #2647, fixing new formatting

* Per #2647, attempt formatting changes

* Per #2647, reverting back to original state

* added to automated testing, updated docs, config file

* added docs back in

* added image, new quick search term, disabled auto tests

* testing use_case_groups.json to see if/how this fails

* Updated to disable use_case_groups.json run

* added use case to list of exceeding disk space

---------

Co-authored-by: lisagoodrich <[email protected]>
Co-authored-by: Lisa Goodrich <[email protected]>
Co-authored-by: Julie Prestopnik <[email protected]>
* 2675: move to pyproject.toml

* 2675: update toml, remove setup.py ref

* bugfix 2675: reinstate VERSION file

* bugfix 2675: hardcode version in  pyproject.toml

* use relative versions

* slightly modify import to make it easier to move produtil into metplus

* read version from version file

* disable install of run_metplus script since it is broken

* only install metplus and sub-packages, add version files to package data (parm cannot be added because it is non-package data)

* add newline back

* install produtil package so metplus can be imported in python

* remove unused import

* move produtil under metplus to differentiate it from the full NCEP produtil package and isolate it to metplus when installing metplus as a package -- previously produtil would be installed as its own package when metplus is installed

* fixed more imports

* Create links for parm directory and scripts/run_metplus.py under metplus so the parm files and run script will be installed as part of the metplus python package. Modified config_metplus to find the parm directory from under metplus to be consistent between running via python package and via scripts

* Exclude parm from sonar sources because it will be found under metplus. Add metplus/parm/** to list of coverage exclusions

* fixed more imports

* add parm back to list of sonar sources

---------

Co-authored-by: George McCabe <[email protected]>
* adding new Literal Include section

* under bold section adding "Environment" to Variables

* Adding Substitution References section

* removing blank space

* fixing code typos

* another typo

* Update docs/Contributors_Guide/documentation.rst

Co-authored-by: Julie Prestopnik <[email protected]>

* Update docs/Contributors_Guide/documentation.rst

Co-authored-by: Julie Prestopnik <[email protected]>

* Update docs/Contributors_Guide/documentation.rst

Co-authored-by: Julie Prestopnik <[email protected]>

* Update docs/Contributors_Guide/documentation.rst

Co-authored-by: Julie Prestopnik <[email protected]>

* Update docs/Contributors_Guide/documentation.rst

Co-authored-by: Julie Prestopnik <[email protected]>

---------

Co-authored-by: Julie Prestopnik <[email protected]>
* per #2540, add support for setting values in a config file for Point2Grid wrapper -- removed -qc flag argument in favor of setting obs_quality_inc in the config file

* Added support for setting time_offset_warning now that the changes for other wrappers was merged into develop. Also added support for MET_CONFIG_OVERRIDES for Point2Grid

* per #2540, set -goes_qc command line argument from POINT2GRID_GOES_QC_FLAGS and continue to support legacy POINT2GRID_QC_FLAGS. Other fixes to resolve incorrectly resolved conflicts from previous commit merging develop into branch

* per #2540, remove quality_mark_thresh from config file because it has been removed from MET point2grid

* Per discussion in PR #2580, remove time_offset_warning support from tools that don't actually use the value -- to add support for a new wrapper, update metplus/util/constants.py TIME_OFFSET_WARNING_WRAPPERS to include the wrapper's name

* removed env vars for time_offset_warning for wrappers that no longer set it
@georgemccabe georgemccabe added this to the METplus-6.0.0 milestone Oct 14, 2024
@georgemccabe georgemccabe linked an issue Oct 14, 2024 that may be closed by this pull request
11 tasks
@georgemccabe georgemccabe merged commit 0ea5acb into develop-ref Oct 14, 2024
1 check was pending
@georgemccabe georgemccabe deleted the update_develop_cdea38dc branch October 14, 2024 16:08
georgemccabe added a commit that referenced this pull request Oct 14, 2024
@georgemccabe georgemccabe changed the title Update develop-ref after dtcenter/MET#2988 Update develop-ref after dtcenter/MET#2988 - failed Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏁 Done
Development

Successfully merging this pull request may close these issues.

Update Truth: dtcenter/MET#2988