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 #2248 and #2254 #2255

Merged
merged 817 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
817 commits
Select commit Hold shift + click to select a range
2229e77
Merge branch 'develop-ref' into develop
georgemccabe Aug 22, 2022
d707507
Fixing typo
jprestop Aug 23, 2022
dce51bc
Feature #1657 clean up directory creation (#1756)
georgemccabe Aug 24, 2022
2d405db
Feature update labels (#1765)
jprestop Aug 26, 2022
e8804eb
Merge branch 'develop-ref' into develop
georgemccabe Aug 26, 2022
9216c6b
feature dtcenter/METplus-Internal#20 add user ID to log output (#1771)
georgemccabe Aug 30, 2022
458714c
Per dtcenter/METplus-Internal#20, change log output to always include…
georgemccabe Aug 30, 2022
fb2d093
Per dtcenter/METplus-Internal#20, fixed bug introduced from commit 45…
georgemccabe Sep 1, 2022
ffd9baa
Revert "Per dtcenter/METplus-Internal#20, fixed bug introduced from c…
georgemccabe Sep 1, 2022
d3f6949
Revert "Per dtcenter/METplus-Internal#20, change log output to always…
georgemccabe Sep 1, 2022
1fdc55e
per dtcenter/METplus-Internal#20, implemented working solution to use…
georgemccabe Sep 1, 2022
2a93c36
Merge branch 'develop-ref' into develop
georgemccabe Sep 6, 2022
62533ca
change file path based on change to MODE output from dtcenter/MET#2251
georgemccabe Sep 6, 2022
b254020
fix Contributor's Guide GitHub Workflow page (#1774)
georgemccabe Sep 7, 2022
cb80ee9
Feature dtcenter/METplus-Internal#32 add timestamp to final conf and …
georgemccabe Sep 8, 2022
6043797
Feature dtcenter/METplus-Internal#15 checksum for release (#1769)
georgemccabe Sep 8, 2022
a32de2b
Feature dtcenter/METplus-Internal#32 change SCRUB_STAGING_DIR default…
georgemccabe Sep 8, 2022
e9732cd
fix to allow wildcard characters in UserScript input templates, ci-ru…
georgemccabe Sep 8, 2022
8ea203a
per #1787, allow NA instead of only integers for climo_mean/stdev hou…
georgemccabe Sep 9, 2022
36a8d1e
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Sep 9, 2022
f7ec114
per #1787, added test for setting NA for climo_mean hour_interval
georgemccabe Sep 9, 2022
a26e18e
Merge branch 'develop' into feature_test_user_script_fix
georgemccabe Sep 9, 2022
a15989b
Updating note format
jprestop Sep 9, 2022
c1e6cbc
update Python version to 3.8.6
georgemccabe Sep 9, 2022
3c235a1
Revert "update Python version to 3.8.6"
georgemccabe Sep 9, 2022
1fe92cc
added return value checking to error and exit a non-zero value if doc…
georgemccabe Sep 9, 2022
08263d6
update instructions to find issues for a bugfix release (#1790)
georgemccabe Sep 19, 2022
bfe783e
Feature dtcenter/METplus-Internal#34 set the log time to UTC/GMT (#1793)
georgemccabe Sep 19, 2022
60353b6
Feature #1330 MJO ENSO use case (#1794)
georgemccabe Sep 19, 2022
728707c
Merge branch 'develop-ref' into develop
georgemccabe Sep 19, 2022
eac157d
Feature #1816 ensemble vx removal from EnsembleStat (#1820)
georgemccabe Sep 21, 2022
5142828
Feature #1816 rename cases and files (#1823)
georgemccabe Sep 21, 2022
38ab383
Move files under internal_tests into internal/tests (#1818)
georgemccabe Sep 21, 2022
c398dbc
Merge branch 'develop-ref' into develop
georgemccabe Sep 21, 2022
b299e1e
info for new use case
j-opatz Sep 21, 2022
e90df55
Merge branch 'develop' into feature_1808_POE_temp_useCase
j-opatz Sep 21, 2022
83fc496
renamed picture of unrelated use case to properly display
j-opatz Sep 21, 2022
b3d39ec
Minor tweak to the release guide instructions for MET development rel…
JohnHalleyGotway Sep 21, 2022
5d9072b
Merge branch 'develop' of https://github.com/dtcenter/METplus into de…
JohnHalleyGotway Sep 21, 2022
fe20623
Feature #1817 5.0.0-beta3 release (#1825)
georgemccabe Sep 21, 2022
b8a8aac
Update VERSION
georgemccabe Sep 21, 2022
0b8505d
updated file name
j-opatz Sep 27, 2022
cace0bd
updated MET file locations
j-opatz Sep 29, 2022
aa39d9a
explicitly set units for obs read via python embedding since PR dtcen…
georgemccabe Oct 3, 2022
64750a8
turn off precip use case group
georgemccabe Oct 3, 2022
0e19ad3
Feature #1829 set unique ID in config (#1830)
georgemccabe Oct 4, 2022
1bb2df4
fixed typo in use case setting that causes differences in the test ou…
georgemccabe Oct 4, 2022
0181726
Feature #1687 RuntimeFreq read only files needed for given run (#1841)
georgemccabe Oct 5, 2022
0ab0b2c
Merge pull request #1839 from dtcenter/feature_1808_POE_temp_useCase
hankenstein2 Oct 5, 2022
40e05c0
Merge branch 'develop-ref' into develop
georgemccabe Oct 5, 2022
d7c117f
Feature 1847 release (#1850)
jprestop Oct 5, 2022
4427703
Feature #1863 fix GitHub Actions warnings (#1864)
georgemccabe Oct 13, 2022
00fd664
Feature #1874 prevent false diffs (#1875)
georgemccabe Oct 20, 2022
3d2e1d8
Merge branch 'develop-ref' into develop
georgemccabe Oct 20, 2022
1772499
Feature 1842 StatAnalysis - multiple issues (#1869)
georgemccabe Oct 24, 2022
d512507
Bugfix #1884 develop PCPCombine {custom} in subtract method (#1887)
georgemccabe Oct 24, 2022
d8708ac
Feature 1852 use case physics tendency (#1881)
bikegeek Oct 25, 2022
0fa0927
Feature #1893 StatAnalysis custom looping (#1894)
georgemccabe Oct 25, 2022
30130f2
Merge branch 'develop-ref' into develop
georgemccabe Oct 25, 2022
6fb3394
Feature dtcenter/METplus-Internal#24 test failure (#1895)
georgemccabe Oct 26, 2022
e2ef698
updated version for creating release (#1897)
georgemccabe Oct 26, 2022
73f6070
update release number for development towards beta5
georgemccabe Oct 26, 2022
4134118
Adding one sentence to about daily follow up on discussions.
jprestop Oct 28, 2022
3664336
initial changes for new use case
j-opatz Oct 28, 2022
e4f50a0
updated paths, documentation
j-opatz Nov 1, 2022
38e8b46
updated automated testing files
j-opatz Nov 1, 2022
3c49c3d
Feature #344 rearrange utils (#1900)
georgemccabe Nov 1, 2022
1e44a0b
first additions for new use case, corrected documentation for old use…
j-opatz Nov 3, 2022
e599477
Move Docker scripts to be consistent with other METplus components (#…
georgemccabe Nov 3, 2022
97580bb
added picture
j-opatz Nov 3, 2022
66cb3ce
Correct spelling mistake
j-opatz Nov 4, 2022
45d46da
Merge pull request #1908 from dtcenter/feature_1482_useCase_buoyData
hankenstein2 Nov 4, 2022
0cbf8c4
Merge pull request #1914 from dtcenter/feature_1828_useCase_cocorahs
hankenstein2 Nov 4, 2022
d329275
handle if input to format_thresh is already a list
georgemccabe Nov 4, 2022
2ac94e2
Revert "handle if input to format_thresh is already a list"
georgemccabe Nov 4, 2022
e444854
handle if input to format_thresh is already a list
georgemccabe Nov 4, 2022
1990a5b
per #1910, added time util function to add field info to time info di…
georgemccabe Nov 4, 2022
9ac11e8
change logic to preserve full level string for [fcst/obs]_level so Se…
georgemccabe Nov 4, 2022
0081bd3
try setting all input values in output dictionary, ci-run-all-diff
georgemccabe Nov 4, 2022
eb8d20a
removed commented code
georgemccabe Nov 7, 2022
d674824
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Nov 7, 2022
185e90e
add quotes around input files to plot_point_obs command to allow supp…
georgemccabe Nov 7, 2022
0d0c192
Merge branch 'develop' into bugfix_1910_develop_ensemble_stat_lev_in_…
georgemccabe Nov 7, 2022
6d12cb5
put all arguments on single line
georgemccabe Nov 7, 2022
1b3b91d
remove commented code
georgemccabe Nov 7, 2022
f67106f
per #1910, added unit tests to ensure that level is set properly in t…
georgemccabe Nov 7, 2022
2c1a065
Merge branch 'develop-ref' into develop
georgemccabe Nov 7, 2022
9d53f02
added script to create geovista conda environment via Docker to use i…
georgemccabe Nov 10, 2022
c930429
Feature 1561 use case ugrid python embedding (#1927)
willmayfield Nov 11, 2022
ecb04d7
Feature 1453 use case iodav2 python embedding (#1930)
willmayfield Nov 11, 2022
5ed10ae
Merge branch 'develop-ref' into develop
georgemccabe Nov 11, 2022
4f1d6e6
Merge pull request #1919 from dtcenter/bugfix_1910_develop_ensemble_s…
hankenstein2 Nov 11, 2022
89e8dd9
fix permissions for script that were somehow changed to be not execut…
georgemccabe Nov 14, 2022
8d1a28f
Merge branch 'develop-ref' into develop
georgemccabe Nov 14, 2022
90d7c35
Bugfix #1939 develop - failure reading obs when zipped file also exis…
georgemccabe Nov 15, 2022
7fb1a32
Feature #1819 alert users if updates to EnsembleStat use cases are ne…
georgemccabe Nov 16, 2022
a4a0132
fixed underline that did not match title
georgemccabe Nov 16, 2022
618f145
Feature #1898 tc new options (#1932)
georgemccabe Nov 16, 2022
8c0aa74
fixed broken doc util logic from bad PR merge
georgemccabe Nov 16, 2022
3678971
Merge branch 'develop-ref' into develop
georgemccabe Nov 16, 2022
798d119
Feature #1569 EnsembleStat -ens_mean argument (#1952)
georgemccabe Nov 17, 2022
8bff8eb
Feature #1953 seeps config in GridStat and PointStat (#1954)
georgemccabe Nov 17, 2022
9811d5a
Feature #1566 update Python version to 3.8.6 (#1958)
georgemccabe Nov 17, 2022
fc4bd22
Feature #1956 5.0.0-beta4 release (#1963)
georgemccabe Nov 17, 2022
1d2b472
Update VERSION
georgemccabe Nov 17, 2022
d74598e
added warning in release notes that location of METplus Dockerfile ha…
georgemccabe Nov 18, 2022
8a1d926
combined release notes for all betas for the v5.0.0 release
georgemccabe Nov 18, 2022
e34f284
updated tags for each METplus component to match the upcoming release
georgemccabe Nov 21, 2022
b490e86
Feature #1885 gh_projects (#1973)
JohnHalleyGotway Dec 1, 2022
ebefa6c
Switch from double to single quotes.
JohnHalleyGotway Dec 1, 2022
1b6d81c
Update formatting of the GitHub project filters so that they can be c…
JohnHalleyGotway Dec 2, 2022
179852e
Feature #1953 PointStat output_flag.seeps and output_flag.seeps_mpr (…
georgemccabe Dec 2, 2022
35fd7a6
Feature #1711, #1783, #1814, and #1835 Documentation - Multiple files…
georgemccabe Dec 5, 2022
e209244
run diff logic on push for develop and main_v* branches, fix logic to…
georgemccabe Dec 5, 2022
532a622
fixed name of external
georgemccabe Dec 6, 2022
5884aff
added Bugfix: to default title of new bugfix issue
georgemccabe Dec 6, 2022
2c784f2
added space after New Use Case:
georgemccabe Dec 6, 2022
663fb4e
changed references to METdatadb to METdataio that were missed
georgemccabe Dec 6, 2022
c1bd0bb
Update overview.rst
bikegeek Dec 7, 2022
8d6f379
Update overview.rst
bikegeek Dec 7, 2022
0f89c3f
Update overview.rst
bikegeek Dec 7, 2022
48596a1
Update rotate_authorship.rst
bikegeek Dec 7, 2022
a2e7fa9
Update overview.rst
bikegeek Dec 7, 2022
7e3c8c7
Update finalize_release_on_github_official.rst
bikegeek Dec 8, 2022
05fc671
CI: replace / with _ to prevent errors creating docker tags for tests
georgemccabe Dec 8, 2022
4910a71
Update overview.rst
bikegeek Dec 8, 2022
4f4f863
Update overview.rst
bikegeek Dec 8, 2022
db3535d
Update overview.rst
bikegeek Dec 8, 2022
ba21fc8
Update overview.rst
bikegeek Dec 8, 2022
72907bd
change asterisk to double asterisk to match branches that include for…
georgemccabe Dec 9, 2022
ccbabf5
update version of certifi based on dependabot auto-generated PR #1982
georgemccabe Dec 9, 2022
16ff8d2
Feature 1819 format doc (#1981)
lisagoodrich Dec 9, 2022
c535ec7
Update use case keywords (#1984)
georgemccabe Dec 9, 2022
0d1dffa
Feature #1980 Use the main_vX.Y of METplus components for main METplu…
georgemccabe Dec 9, 2022
dd52d60
Feature #1986 v5.0.0 release (#1987)
georgemccabe Dec 9, 2022
4ecabe5
updated version for development towards beta1 of 5.1.0
georgemccabe Dec 10, 2022
786821c
allow rest of workflow to run even if job to update data volumes fail…
georgemccabe Dec 13, 2022
69394b8
updated version for action to update input data volumes and added max…
georgemccabe Dec 13, 2022
45cdb7a
updated release notes for official METplus release to untar the sampl…
georgemccabe Dec 13, 2022
9a51e74
Update release guide to create the input test data directory for offi…
JohnHalleyGotway Dec 13, 2022
b1da789
Merge branch 'develop' of https://github.com/dtcenter/METplus into de…
JohnHalleyGotway Dec 13, 2022
191dcf8
Follow the METplus naming conventions for updating the the DTC web se…
JohnHalleyGotway Dec 13, 2022
835fc7b
install library needed for geovista package, remove editable flag so …
georgemccabe Dec 15, 2022
41c97e4
Feature 685 log updates (#1992)
georgemccabe Dec 19, 2022
a7dd34c
add script to create conda environment with MetPy 1.4 for SWPC use case
georgemccabe Dec 30, 2022
ad98cc8
Bugfix develop Fix broken documentation links (#2004)
georgemccabe Jan 5, 2023
43b8919
fixed bug to set environment variables in the RegridDataPlane environ…
georgemccabe Jan 19, 2023
200843b
Feature #2015 modulefiles (#2024)
jprestop Jan 25, 2023
07824ce
Feature #2005 updates to create v5.1 conda environments that use debi…
georgemccabe Feb 9, 2023
cbbbc8b
update versions to fix bugs for METplotpy/calcpy use cases
georgemccabe Feb 14, 2023
cb2318f
Bugfix #2026 develop StatAnalysis looping (#2028)
georgemccabe Feb 15, 2023
090790f
Feature #2022 update python version to 3.10.4 for repo files (#2047)
georgemccabe Feb 16, 2023
34d7da8
Feature #2022 Use Debian 10 / Python 3.10.4 in automated tests (#2050)
georgemccabe Feb 16, 2023
90c39e0
add use case group name to output path so that output and error logs …
georgemccabe Feb 16, 2023
3b4b590
remove -group0 from group names for output path
georgemccabe Feb 16, 2023
bea6218
add manual workflow to update truth data
georgemccabe Feb 17, 2023
1885712
ci: set gh token on checkout to enable push, ci-skip-all
georgemccabe Feb 17, 2023
e9670e4
Set user name/email via git config to allow push
georgemccabe Feb 17, 2023
e9e28e5
add token to checkout
georgemccabe Feb 17, 2023
fa5cd12
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Feb 17, 2023
165062d
Feature #2049 Multiple interp.type.method/width (#2051)
georgemccabe Feb 21, 2023
820c34c
added missing argument to script if building envs locally
georgemccabe Feb 21, 2023
63405c6
get main_vX.Y truth data if running on main_vX.Y branch
georgemccabe Feb 22, 2023
1f1e069
Updating README.md for label creation and adding bold to common_label…
jprestop Feb 23, 2023
ad88138
Updated color for bold label
jprestop Feb 23, 2023
f383f79
Feature #2054 consensus.write_members in TCPairs (#2057)
georgemccabe Feb 27, 2023
c0e8b08
Create LICENSE.md (#2061)
lisagoodrich Feb 28, 2023
4651dae
per #2006, fix priority of obs_window config variables so that wrappe…
georgemccabe Feb 28, 2023
8eb1364
Feature 2065 v5.1.0 beta1 (#2066)
j-opatz Feb 28, 2023
1f97339
updated version with -dev
j-opatz Feb 28, 2023
7c2a302
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Mar 1, 2023
96793d2
adding sphinx design to 3 files so dropdown menus will work in the re…
lisagoodrich Mar 8, 2023
d9f8d78
fix version numbers for python requirements for building documentation
georgemccabe Mar 8, 2023
b0aec2f
fixed tab vs spaces
georgemccabe Mar 8, 2023
c19aebc
Bugfix #2070 var list numeric order (#2072)
georgemccabe Mar 10, 2023
989b13b
Adding files for jet and hera
jprestop Mar 13, 2023
2d27fb0
added commented process list that was accidentally removed -- this is…
georgemccabe Mar 14, 2023
8edf183
Bugfix #2087 develop docs_pdf (#2091)
JohnHalleyGotway Mar 16, 2023
0e4db77
Feature 2076 release dropdown menu (#2083)
lisagoodrich Mar 16, 2023
d97128e
Bugfix #2096/#2098 develop - fix skip if output exists and do not err…
georgemccabe Apr 4, 2023
7739693
Feature 1516 use case mvmode (#2094)
hertneky Apr 6, 2023
b7a2241
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Apr 6, 2023
9f157f7
Fix for Dockerfile smell DL4000 (#2112)
grosa1 Apr 10, 2023
099f469
Changed "PROJECT" to "CYCLE" ASSIGNMENT
jprestop Apr 25, 2023
3c9cd8d
Feature 2115 update use cases (#2133)
DanielAdriaansen Apr 25, 2023
cc01e88
Bugfix #2082 develop regrid.convert/censor_thresh/censor_val (#2140)
georgemccabe Apr 26, 2023
2637ca3
Bugfix #2137 develop PointStat -obs_valid_beg/end (#2141)
georgemccabe Apr 26, 2023
cec8838
Feature #2143 5.1.0-beta2 release (#2144)
georgemccabe Apr 26, 2023
a7bcf1b
update release guide steps with new info based on changes to GitHub w…
georgemccabe Apr 26, 2023
6c349e1
update version for development towards rc1 release
georgemccabe Apr 26, 2023
d9d8595
Feature #1977 ARGO use case (#2148)
georgemccabe Apr 28, 2023
f55b8b9
Feature develop cycle change (#2150)
lisagoodrich Apr 28, 2023
d23c8c2
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Apr 28, 2023
2ed3e7a
Documentation: Update Truth Data instructions (#2154)
georgemccabe May 3, 2023
e1a0085
upgrade python to 3.10 for documentation builds to fix failured intro…
georgemccabe May 3, 2023
cb4d23a
update workflow to update input test data to use branch from pull dow…
georgemccabe May 3, 2023
918f5cf
Bugfix #2161 develop PCPCombine additional field arguments in -subtra…
georgemccabe May 3, 2023
448a954
changed order of workflow event triggering info to more easily see th…
georgemccabe May 5, 2023
f00fdc5
fix docker compose install and call -- needed due to new Alpine Linux…
georgemccabe May 11, 2023
f9a815e
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot May 11, 2023
0ea5d2d
Bugfix #2168 develop - StatAnalysis time shift (#2169)
georgemccabe May 11, 2023
52715d3
Feature 1978 update pyreq doc (#2177)
jprestop May 17, 2023
4cf5124
Feature 2106 release support (#2182)
jprestop May 22, 2023
56b67f3
Added Release Support Policy info
jprestop May 22, 2023
24b2fa9
Per #2159, modify instructions to reflect that we only want a coordin…
jprestop May 22, 2023
7213ce6
Feature 2147 workflow doc (#2185)
jprestop May 24, 2023
3e7cf27
added scripts to create new conda environment for PANDA-C use cases
georgemccabe May 25, 2023
f940472
Bugfix #2189 develop - spaces in complex thresholds (#2191)
georgemccabe May 31, 2023
5a46a51
added release notes for completed issues for rc1
georgemccabe Jun 2, 2023
b6e1426
Feature 2011 tci from cesm fluxnet2015 netcdf (#2192)
mrinalbiswas Jun 5, 2023
d4994b1
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Jun 5, 2023
4d28b4d
Bugfix #2179 develop TCPairs fix -diag argument (#2187)
georgemccabe Jun 5, 2023
6b2fb3b
sort list of files to make command more readable and make logic more …
georgemccabe Jun 6, 2023
9f05ad4
fix unit test to expect alphabetical order of files
georgemccabe Jun 6, 2023
126c51d
Feature #2197 MODE new multi-variate options (#2203)
georgemccabe Jun 6, 2023
963cdb5
added to release notes
georgemccabe Jun 6, 2023
ff35877
added release notes for other items completed for rc1 release
georgemccabe Jun 6, 2023
e1585a2
Feature #1626 TCDiag Wrapper (#2201)
georgemccabe Jun 6, 2023
042b394
Feature #1610 first round of SonarQube fixes (#2200)
georgemccabe Jun 6, 2023
e5538f5
Feature #2195 create v5.1.0-rc1 release (#2204)
georgemccabe Jun 6, 2023
a1cf193
Update version for development towards official release
georgemccabe Jun 6, 2023
4b7c0a6
updated script to use metplotpy as base and install pygrib because co…
georgemccabe Jun 6, 2023
628fa46
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Jun 6, 2023
c6fb46f
Feature 2188 use case panda c (#2202)
j-opatz Jun 7, 2023
0ca7584
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Jun 7, 2023
7be53e2
turn off 5/6 new air quality and comp use cases because they are caus…
georgemccabe Jun 12, 2023
1bf1858
disabled other new air quality use case because the disk is still fil…
georgemccabe Jun 12, 2023
c4ba46a
Feature 2136 cross spectra (#2208)
CPKalb Jun 12, 2023
a0b16ea
per #2212, continue instead of return so other forecast leads will no…
georgemccabe Jun 12, 2023
55bae4b
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Jun 13, 2023
6ad1d5e
Feature #2210 MODE multi-variate variable rename (#2211)
georgemccabe Jun 15, 2023
7e6add7
Bugfix diff tests (#2217)
georgemccabe Jun 16, 2023
4d0fad6
added change from NCEP produtil that was somehow not included in the …
georgemccabe Jun 28, 2023
a1f9487
Feature #2228 v5.1.0-rc2 release (#2229)
georgemccabe Jun 29, 2023
8700272
update version after rc2 release to note development towards official…
georgemccabe Jun 29, 2023
594f583
Feature #2188 move PANDA-C cases to clouds category and fix automated…
georgemccabe Jul 6, 2023
ff8372c
Feature 2198 use case amdar pbl (#2206)
jason-english Jul 6, 2023
9539b81
Bugfix #2235 rename multivar_itensity to multivar_intensity_flag (#2236)
georgemccabe Jul 6, 2023
4ca065c
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Jul 6, 2023
c52b9be
Feature #2230 MvMODE usecase doc updates (#2239)
hertneky Jul 10, 2023
45ab76a
combine release notes from development releases for 5.1.0 release
georgemccabe Jul 10, 2023
2c977a3
fix indentation to prevent incorrect nesting of drop down menus
georgemccabe Jul 10, 2023
09dd7f4
Bugfix #2241 Create directory containing -out_stat file (#2242)
georgemccabe Jul 11, 2023
44ab5ce
Enhance diff logic to control decimal precision to prevent failures (…
georgemccabe Jul 12, 2023
34ff190
Bugfix #2245 use unique run ID to name logger instance (#2247)
georgemccabe Jul 13, 2023
618103f
per #2245, add METplusConfig class function that is called when objec…
georgemccabe Jul 17, 2023
050a833
Feature #1626 TCDiag updates to wrapper and basic use case (#2248)
georgemccabe Jul 18, 2023
898c722
move new use case into another group
georgemccabe Jul 18, 2023
c986e69
Bugfix #2244 develop fix diff tests (#2254)
georgemccabe Jul 18, 2023
131cd51
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/actions/run_tests/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ WS_PATH=$RUNNER_WORKSPACE/$REPO_NAME
# set CI jobs directory variable to easily move it
CI_JOBS_DIR=.github/jobs

PYTESTS_GROUPS_FILEPATH=.github/parm/pytest_groups.txt

source ${GITHUB_WORKSPACE}/${CI_JOBS_DIR}/bash_functions.sh

# get branch name for push or pull request events
Expand All @@ -34,7 +32,7 @@ fi

# running unit tests (pytests)
if [[ "$INPUT_CATEGORIES" == pytests* ]]; then
export METPLUS_ENV_TAG="pytest.v5.1"
export METPLUS_ENV_TAG="test.v5.1"
export METPLUS_IMG_TAG=${branch_name}
echo METPLUS_ENV_TAG=${METPLUS_ENV_TAG}
echo METPLUS_IMG_TAG=${METPLUS_IMG_TAG}
Expand All @@ -56,15 +54,9 @@ if [[ "$INPUT_CATEGORIES" == pytests* ]]; then
.

echo Running Pytests
command="export METPLUS_PYTEST_HOST=docker; cd internal/tests/pytests;"
command+="status=0;"
for x in `cat $PYTESTS_GROUPS_FILEPATH`; do
marker="${x//_or_/ or }"
marker="${marker//not_/not }"
command+="/usr/local/conda/envs/${METPLUS_ENV_TAG}/bin/pytest -vv --cov=../../../metplus --cov-append -m \"$marker\""
command+=";if [ \$? != 0 ]; then status=1; fi;"
done
command+="if [ \$status != 0 ]; then echo ERROR: Some pytests failed. Search for FAILED to review; false; fi"
command="export METPLUS_TEST_OUTPUT_BASE=/data/output;"
command+="/usr/local/conda/envs/${METPLUS_ENV_TAG}/bin/pytest internal/tests/pytests -vv --cov=metplus --cov-append --cov-report=term-missing;"
command+="if [ \$? != 0 ]; then echo ERROR: Some pytests failed. Search for FAILED to review; false; fi"
time_command docker run -v $WS_PATH:$GITHUB_WORKSPACE --workdir $GITHUB_WORKSPACE $RUN_TAG bash -c "$command"
exit $?
fi
Expand Down
4 changes: 4 additions & 0 deletions .github/jobs/run_diff_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
OUTPUT_DIR = '/data/output'
DIFF_DIR = '/data/diff'


def copy_diff_output(diff_files):
"""! Loop through difference output and copy files
to directory so it can be made available for comparison.
Expand All @@ -45,6 +46,7 @@ def copy_diff_output(diff_files):
copy_to_diff_dir(diff_file,
'diff')


def copy_to_diff_dir(file_path, data_type):
"""! Generate output path based on input file path,
adding text based on data_type to the filename, then
Expand Down Expand Up @@ -85,6 +87,7 @@ def copy_to_diff_dir(file_path, data_type):

return True


def main():
print('******************************')
print("Comparing output to truth data")
Expand All @@ -97,5 +100,6 @@ def main():
if diff_files:
copy_diff_output(diff_files)


if __name__ == '__main__':
main()
8 changes: 0 additions & 8 deletions .github/parm/pytest_groups.txt

This file was deleted.

2 changes: 1 addition & 1 deletion .github/parm/use_case_groups.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"category": "met_tool_wrapper",
"index_list": "0-29,59-61",
"index_list": "0-29,59-62",
"run": false
},
{
Expand Down
6 changes: 6 additions & 0 deletions docs/Contributors_Guide/add_use_case.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,12 @@ file.grib2, run the following command::

wgrib2 file.grib2 | grep TMP | wgrib2 -i file.grib2 -grib_out subset.grib2

The egrep command can be used for more complex subsetting of grib2 data.
Example: To create a file called subset.grib2 from file.grib2 that contains
PRMSL data and TMP data on 1000, 900, 800, 700, 500, and 100 mb levels::

wgrib2 file.grib2 -s | egrep '(:TMP:1000 mb:|:TMP:900 mb:|:TMP:800 mb:|:TMP:700 mb:|:TMP:500 mb:|:TMP:100 mb:|:PRMSL)' | wgrib2 -i file.grib2 -grib subset.grib2

If the input data is in NetCDF format, the
`ncks <http://nco.sourceforge.net/nco.html>`_ tool can be used to subset
the file(s).
Expand Down
132 changes: 93 additions & 39 deletions docs/Contributors_Guide/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,73 @@ directory.
Unit Tests
----------

Unit tests are run with pytest. They are found in the *pytests* directory.
Unit tests are run with pytest.
They are found in the *internal/tests/pytests* directory under the *wrappers*
and *util* directories.
Each tool has its own subdirectory containing its test files.

Unit tests can be run by running the 'pytest' command from the
internal/tests/pytests directory of the repository.
The 'pytest' Python package must be available.
Pytest Requirements
^^^^^^^^^^^^^^^^^^^

The following Python packages are required to run the tests.

* **pytest**: Runs the tests
* **python-dateutil**: Required to run METplus wrappers
* **netCDF4**: Required for some METplus wrapper functionality
* **pytest-cov** (optional): Only if generating code coverage stats
* **pillow** (optional): Only used if running diff utility tests
* **pdf2image** (optional): Only used if running diff utility tests

Running
^^^^^^^

To run the unit tests, set the environment variable
**METPLUS_TEST_OUTPUT_BASE** to a path where the user running has write
permissions, nativate to the METplus directory, then call pytest::

export METPLUS_TEST_OUTPUT_BASE=/d1/personal/${USER}/pytest
cd METplus
pytest internal/tests/pytests

A report will be output showing which pytest categories failed.
When running on a new computer, a **minimum_pytest.<HOST>.sh**
file must be created to be able to run the script. This file contains
information about the local environment so that the tests can run.
To view verbose test output, add the **-vv** argument::

pytest internal/tests/pytests -vv

Code Coverage
^^^^^^^^^^^^^

If the *pytest-cov* package is installed, the code coverage report can
be generated from the tests by running::

pytest internal/tests/pytests --cov=metplus --cov-report=term-missing

In addition to the pass/fail report, the code coverage information will be
displayed including line numbers that are not covered by any test.

All unit tests must include one of the custom markers listed in the
Subsetting Tests by Directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A subset of the unit tests can be run by adjusting the path.
Be sure to include the *--cov-append* argument so the results of the run
are appended to the full code coverage results.
To run only the GridStat unit tests::

pytest internal/tests/pytests/wrappers/grid_stat --cov=metplus --cov-report=term-missing --cov-append


Subsetting Tests by Marker
^^^^^^^^^^^^^^^^^^^^^^^^^^
Unit tests can include one of the custom markers listed in the
internal/tests/pytests/pytest.ini file. Some examples include:

* diff
* run_metplus
* util
* wrapper_a
* wrapper_b
* wrapper_c
* wrapper_d
* wrapper
* long
* plotting
Expand All @@ -42,47 +91,52 @@ New pytest markers should be added to the pytest.ini file with a brief
description. If they are not added to the markers list, then a warning will
be output when running the tests.

There are many unit tests for METplus and false failures can occur if all of
the are attempted to run at once.
To run only tests with a given marker, run::

pytest -m <MARKER-NAME>
pytest internal/tests/pytests -m <MARKER-NAME>

To run all tests that do not have a given marker, run::

pytest -m "not <MARKER-NAME>"
pytest internal/tests/pytests -m "not <MARKER-NAME>"

For example, **if you are running on a system that does not have the additional
dependencies required to run the diff utility tests**, you can run all of the
tests except those by running::

pytest internal/tests/pytests -m "not diff"

Multiple marker groups can be run by using the *or* keyword::

pytest internal/tests/pytests -m "<MARKER-NAME1> or <MARKER-NAME2>"

Writing Unit Tests
^^^^^^^^^^^^^^^^^^

metplus_config fixture
""""""""""""""""""""""

Multiple marker groups can be run by using the 'or' keyword::
Many unit tests utilize a pytest fixture named **metplus_config**.
This is defined in the **conftest.py** file in internal/tests/pytests.
This is used to create a METplusConfig object that contains the minimum
configurations needed to run METplus, like **OUTPUT_BASE**.
Using this fixture in a pytest will initialize the METplusConfig object to use
in the tests.

pytest -m "<MARKER-NAME1> or <MARKER-NAME2>"
This also creates a unique output directory for each test where
logs and output files are written. This directory is created under
**$METPLUS_TEST_OUTPUT_BASE**/test_output and is named with the run ID.
If the test passes, then the output directory is automatically removed.
If the test fails, the output directory will not be removed so the content
can be reviewed to debug the issue.

To use it, add **metplus_config** as an argument to the test function::

Use Case Tests
--------------
def test_something(metplus_config)

Use case tests are run via a Python script called **test_use_cases.py**,
found in the *use_cases* directory.
Eventually the running of these tests will be automated using an external
tool, such as GitHub Actions or Travis CI.
The script contains a list of use cases that are found in the repository.
For each computer that will run the use cases, a
**metplus_test_env.<HOST>.sh** file must exist to set local configurations.
All of the use cases can be run by executing the script
**run_test_use_cases.sh**. The use case test script will output the results
into a directory such as */d1/<USER>/test-use-case-b*, defined in the
environment file.
If */d1/<USER>/test-use-case-b* already exists, its content will be copied
over to */d1/<USER>/test-use-case-a*. If data is found in
the */d1/<USER>/test-use-case-b* directory already exists, its content
will be copied
over to the */d1/<USER>/test-use-case-a* directory, the script will prompt
the user to remove those files.
Once the tests have finished running, the output found in the two
directories can be compared to see what has changed. Suggested commands
to run to compare the output will be shown on the screen after completion
of the script.
then set a variable called **config** using the fixture name::

To see which files and directories are only found in one run::
config = metplus_config

diff -r /d1/mccabe/test-use-case-a /d1/mccabe/test-use-case-b | grep Only
Additional configuration variables can be set by using the set method::

config.set('config', key, value)
3 changes: 3 additions & 0 deletions docs/Users_Guide/quicksearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ METplus Quick Search for Use Cases


Use Cases by MET Tool:
======================

.. only:: html

Expand Down Expand Up @@ -163,6 +164,7 @@ Use Cases by METplus Feature:
| `Runtime Frequency <../search.html?q=RuntimeFreqUseCase&check_keywords=yes&area=default>`_
| `Series by Initialization <../search.html?q=SeriesByInitUseCase&check_keywords=yes&area=default>`_
| `Series by Forecast Lead <../search.html?q=SeriesByLeadUseCase&check_keywords=yes&area=default>`_
| `Tropical Cyclone <../search.html?q=TropicalCycloneUseCase&check_keywords=yes&area=default>`_
| `Validation of Models or Analyses <../search.html?q=ValidationUseCase&check_keywords=yes&area=default>`_
| `User Defined Script <../search.html?q=UserScriptUseCase&check_keywords=yes&area=default>`_

Expand Down Expand Up @@ -191,6 +193,7 @@ Use Cases by METplus Feature:
| **Runtime Frequency**: *RuntimeFreqUseCase*
| **Series by Initialization**: *SeriesByInitUseCase*
| **Series by Forecast Lead**: *SeriesByLeadUseCase*
| **Tropical Cyclone**: *TropicalCycloneUseCase*
| **Validation of Models or Analyses**: *ValidationUseCase*
| **User Defined Script**: *UserScriptUseCase*

Expand Down
Loading