From a3e497de7d6c2651a000db3878bb237908f87412 Mon Sep 17 00:00:00 2001 From: bikegeek <3753118+bikegeek@users.noreply.github.com> Date: Tue, 19 Oct 2021 16:48:37 -0600 Subject: [PATCH] Update develop-ref after #1000 (cycloneplotter) (#1211) * feature 779 add support for output_flag, nc_pairs_flag, and climo_cdf dictionaries in GridStat (#858) * Feature 779 compare pdf (#860) * Feature 857 tc stat met config (2nd attempt) (#862) * remove quotes around branch items * only build docs in GHA * added missing jobs item * cd back to GITHUB_WORKSPACE * cd back to github workspace * removed html theme options needed for version selector that are no longer used * moved documentation building into script, use sphinx_rtd_theme from pip instead of custom version, added info to contrib guide about CI * rename jobs and steps * Feature 767 ext dependencies doc update (#866) Co-authored-by: George McCabe * feature CI documentation (#867) * Feature 836 rtd release doc (#870) * Added section for ReadTheDocs, added basic info about the Release Guide and Verification Datasets Guide, but more information on those needs to be added later * Added information about the various versions available in the documentation * Updated the ReadTheDocs section with information on hidden branches and how to access them; Modified dtcenter.github.io references * Added section to add_use_case.rst about Accessing the Documentation and modified documentation.rst to indicate the docs can still be built manually * Modified format of list * Modified formatting * Changed GitHub Pages links to Read the Docs links * Modified formatting * Fixed typo * Updated Release Guide for Read The Docs * Took out duplicate data and consolidated sections * Update docs/Contributors_Guide/add_use_case.rst Removed sentence Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * Update docs/Contributors_Guide/add_use_case.rst Fixed typo Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * Update docs/Contributors_Guide/add_use_case.rst Removed end of previously removed sentence. Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * Adding NOAA/CPC to the list of requestors. Already ran the script to push this change to all the METplus repos. * Adding common label for NOAA/OPC. The new label has already been pushed to all the METplus-related repos. * sort list of files in directory to ensure the same result regardless of OS * Feature 852 series by same name (#868) * feature 871 TCGen new MET config variables (#872) * Feature 728 update python embedding (#876) Co-authored-by: George McCabe * Feature 629 metdbload (#882) Co-authored-by: johnhg Co-authored-by: George McCabe * feature_630_UIUC_GDF_TDF (#878) Co-authored-by: George McCabe * moved new use case into another group * Update MODE_fcstFV3_obsGOES_BrightnessTempObjs.py * feature 880 improve field info handling (#881) * Feature 686 hdr tdr (#885) Co-authored-by: George McCabe * removed NEW from newly added use case * feature 768 fix broken climo stdev (#886) * Switched order of instructions to merge release branch and updating release notes. Updating release notes should occur before merging the release branch. * Feature 551 create pdf user guide (#890) * Test latex_* settings in conf.py * Test latex_* settings in conf.py * Formatting in rst files for PDF * Formatting in rst files for PDF * Formatting in rst files for PDF * Test rst file change for PDF formatting * Change tocdepth to 3 * Change secnumdepth to 3 * Change secnumdepth/tocdepth to 4 * Change tocdepth to 3 * Change secnumdepth to 3 * Change secnumdepth/tocdepth to 4 * Test TOC settings * Test TOC settings * Test TOC settings * Test reference section * Test reference section * Test quick search * Test quick search * Test quick search * Test quick search * Test quick search * Test quick search * Remove local pdf build lines * Test quick search mods for PDF * Test quick search mods for PDF * Update quicksearch.rst Format HTML and PDF separately * Update quicksearch.rst Fix typo in "only" directive * Update quicksearch.rst Fix typos in latex formatting * Fix typo in quicksearch.rst * Update systemconfiguration.rst * Update conf.py Address: WARNING: The config value `latex_show_pagerefs' has type `str', defaults to `bool'. * Update conf.py Fix typo, change master_doc variable to address warning * Update conf.py * Update conf.py * Update conf.py * Update conf.py Test changing the root doc for PDF * Update conf.py Change latex_master_doc back to Users Guide Co-authored-by: Keith Searight * Feature 779 add support for MODE and PointStat configs (#888) * removed duplicate entry in glossary * changed string to boolean to remove warning * Added identifier to quicksearch.rst ci-docs-only * Feature 779 pb2nc configs (#893) * Feature 779 grid stat configs and climo_mean/stdev (#894) * Changes to release guide steps for MET. Recommend making silimar changes for the other repos. For each release type, after the checkout_[develop|main]_branch.rst step, add a call to the new create_release_feature_branch.rst release step. * Adding create_release_feature_branch.rst to all the release steps for METcalcpy, METplotpy, METdatadb, METviewer, and METexpress. * Added argument to code-blocks * Added release guide for METexpress development releases. * Delete Regrid_PCP_obsERA_obsOnly_Blocking_orig.conf Old configuration file * Feature 626 hovmoeller diagram (#889) Co-authored-by: Hank Fisher Co-authored-by: George McCabe Co-authored-by: MET Tools Test Account Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * Feature 627 coherence spectra (#891) Co-authored-by: Hank Fisher Co-authored-by: George McCabe Co-authored-by: MET Tools Test Account Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * create 4.0.0-beta5 release (#897) Co-authored-by: Julie.Prestopnik * Update pull_request_template.md Added entry for completion date for pull request review. * feature 900 single metplus_config.conf file (#901) * update version for development towards rc1 * Feature authorship (#912) * Add a direct link for the user's guide citation and then link to it from the top-level list of authors. * Add a release_steps/rotate_authorship.rst step and update the official release instructions for MET, METcalcpy, METplotpy, and METplus. The other repos do not include a complete set of release instructions yet. * Change top-level authorship list to alphabetical order. * Define author_list in docs/conf.py and reference it in the citation. * Adding author_list to the variables to be exported. * Use CIRA and IMSG instead of CIR and IM, respectively. * do not run documentation workflow on develop-ref branch, only run step to upload warnings artifact if there was a failure * test sending slack message when a release is published * tabs to spaces * fixed multi line command * removed old Travis-CI content * clean docs, READMEs, and CI for release * changed badge for testing workflow to display status of default branch instead of specific branch so users don't see accidental breaks in develop branch and we don't need to update it for each release * fixed path to version file in docker hook helper script * updated manage externals stable config and created symbolic link to Externals.cfg to avoid duplicate information * updated METplus release instructions to isolate release specific changes to release branch to avoid having to change develop branch back to original content * ci-run-diff * run all use cases if push to develop or main_v* branches to ensure nothing breaks! * run ALL use cases if push to develop on main_v* * cast PosixPath to string to prevent crash when using Python 3.8.10 * feature 681 Modifed wording of regrid dictionary references (#916) Co-authored-by: Julie.Prestopnik Co-authored-by: Lisa Goodrich * bugfix 914 handle complex _VAR_OPTIONS like MET dictionaries (#915) * added test to recreate error, then fix it * ci-run-diff * Feature 673 metviewer release (#910) Co-authored-by: jprestop Co-authored-by: bikegeek * Updated directions per Tara's instructions. * Added update_dtc_website.rst to metcalcpy and metplotpy subdirectories * .. include:: release_steps/met/update_dtc_website.rst * Corrected subdirectories from met to metcalcpy and metplotpy as needed * Feature 903 update users guide (#919) Co-authored-by: John Halley Gotway * Fixes to automation to handle main_vX.Y branches (#920) * update version to show development towards 4.1.0-beta1 * changes made to main_v4.0 as bugfix to get docker data build to stop reporting a failure * generate union of sample data with subset to force a successful build to remove failed check * Added release guide for METexpress production releases. * Added announcement section to release guide for METexpress production releases. * Added rotate author section to release guide for METexpress production releases. * Fixed length of title underlines for METexpress release guide. * added useful logging messages to script that builds documentation so it is clear why it fails or if is succeeds * Added new alert: REQUIRED FOR RELEASE label to all the METplus repos. * modified steps for METplus to include updating release date and creating -ref branch to generate truth data for testing * Added more content to METdatadb release guides, following model of METcalcpy (#927) * added script to run on DTCenter web server to create a new input data directory for the next upcoming release and create symbolic links to the correct files from previous releases * feature 928 PCPCombine option to skip lookback in derive mode (#930) * Edits to METexpress release guide * feature 924 support extra options in RegridDataPlane (#929) * fixed minor bug in usage wrapper * strip off whitespace from version numbers so they are read correctly when installing as a package * Migrate issue and PR template changes from PR MET/#1803 into METplus develop branch. * Update README.md Adding GitHub Discussions info * changed non-unicode apostrophe and fixed typo in URL * feature 749 TCPairs refactor (#937) * removed file that should have been deleted in merge * Probability field threshold control in SeriesAnalysis (#942) * Somehow the required labels weren't present. Adding 2 required: labels as well as one for requestor: NASA/other. * feature 960 GenVxMask -type (#961) * feature 926 TCMPRPlotter improvements (#959) * changed variable name so that it does not overwrite author variable used in copyright * add missing quick search items (#962) * run pip freeze before use case commands to see python environment used to run in the logs * Feature 933 cartopy hpc (#964) * Modification to use NaturalEarth shapefiles that are already downloaded and saved to file in location designated by the CARTOPY_DIR environment. * Github Issue #933 Check for CARTOPY_DIR first, if unset, then proceed as before. * updated documentation for offline systems * Updated docs based on feedback Co-authored-by: Minna Win * Updated thumbnail path * Feature 963 quick search (#965) * Per #963, testing syntax * Per #963, testing syntax again after error * Per #963, testing string substitution * Per #963, trying dot dot slash * Per #963, found a relative path solution with dot dot slash, modified one line only * updating quick search from develop to working branch with dot dot slash * fixing typo Co-authored-by: Julie.Prestopnik * Feature 839 conda envs in automation (#967) * feature 641 MTD input to ExtractTiles (#968) Co-authored-by: Daniel Adriaansen * fixed documentation typos from bad merge * Feature 834 use case ice cover (#970) Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> * doc updates (#972) * fixed timing logs to show MM:SS instead of HH:MM * fixed typo in doc * feature 936 force MET version used for testing (#977) * moved logic for creating conda environments for metplus base and py_embed base to a script so it can be called on a local machine to create these environments * moved logic to update conda to docker file because update cannot be done on conda for a shared version * updated instructions to include steps to create conda environments on a local machine * Feature 963 quick search (#981) * Per #963, testing syntax * Per #963, testing syntax again after error * Per #963, testing string substitution * Per #963, trying dot dot slash * Per #963, found a relative path solution with dot dot slash, modified one line only * updating quick search from develop to working branch with dot dot slash * fixing typo * Per #963, removed replace directive since it is not being used * Per #963, testing change to Note section for keywords * Per #963, Testing return in note * Per #963, removed note section under keywords and moved down the png name. * Per #963, trying out various formatting options * Per #963, trying out various formatting options * Per #963, added additional keywords headers to get a better feel for what it would actually look like * Added numbers to keywords for easier referencing * Per #963, cleaned up examples and left with the formatting the team chose * Per #963, try out adding a code block around a sphinx_gallery_thumbnail_path to see if it disappears because remove_config_comments was already set to True in the conf.py file, but this only removes configuration comments from code blocks, not from text blocks. * Per #963, trying an additonal comment to eliminate sphinx_gallery_thumbnail_path * Per #963, removing additonal comment to eliminate sphinx_gallery_thumbnail_path because it got rid of the thumbnail image * Per #963, adding py to code-block to see if it eliminates sphinx_gallery_thumbnail_path * Per #963, removing the code-block because it does not get rid of sphinx_gallery_thumbnail_path * first attempt at note update without web links * updating keywords area * updating keywords area * updating keywords area * adding quick search link * fixing quick search link * updating keywords area * fixing typo * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * fixing typo * deleting empty spaces * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * updating keywords area * fixing typo * updating keywords area * updating keywords area * updating keywords area * updating keywords area * Changed ASCII2NC to ASCII2NCToolUseCase * Modified list of keywords * Fixed typo Co-authored-by: Julie.Prestopnik * Feature 956 develop discussions (#988) * Per 1833, changing met_help references to Discussions * Per #1833, changed references to met_help@ucar.edu to Discussions and updated a couple of other links. * Per #956, Fixed typo * Per #956, fixed section referring to Known Issues as suggested by John HG. * Per #956, removed met_help@ucar.edu reference. Checked to ensure author_email was not being used. * feature 986 TCPairs valid time (#997) * feature 986 TCPairs allow run all times when LOOP_ORDER = processes (#1013) * Feature 1002 user script files (#1014) * Update Blocking.py Added some comments * Update Blocking.py * Added mpr output * Added MPR output * Updated documentation * Fixed a path * Updates to documentation * call script to populate file list, output file list to output directory instead of under input base * added env file so pytests can run easily on seneca * improved logging readability * moved functions up to parent class so they can be used by UserScript * updated logic to match change to subset_input_files function return value * in run_at_time function loop over custom list and get files for the current run time before running since this function is called only if LOOP_BY=times and does not call the function that handles this -- consider refactoring to move logic for CUSTOM_LOOP_LIST so that it is handled consistently across all wrappers instead of being handled inside each * updated logic for UserScript to use the input dir/template variables to mimic logic in GridDiag to populate a list of files that are relevant for each run time of the use case * always return True from get_all_files for UserScript because handling file lists is optional * modified examples to call a script that checks environment variables and prints out the contents of file lists if they are set -- this better demonstrates how to use UserScript and how to get lists of files into a user's script, ci-run-diff * don't loop to find files if time info is not set * rerun use case that failed * trigger other failing use cases to run * changed name of config variable because name is now a reserved config variable * skip use cases that are no longer failing * Fixed a typo * add skip times logic to function that finds all files to process * added logic to put 'missing' for files that are not found for a given run time (for UserScript) * added an extra lead time to example to demonstrate handling of missing files * added logic to specify label for each input template file list, changed env var from METPLUS_