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#2820 #2502

Merged
merged 966 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
966 commits
Select commit Hold shift + click to select a range
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
97e26c4
skip diff for specific png images that produce diffs occasionally but…
georgemccabe Jul 19, 2023
ff27fe0
add 2 more keywords for use cases that occasionally flag small, unnot…
georgemccabe Jul 19, 2023
5e601fa
Feature #2253 update tests for diff_util (#2256)
John-Sharples Jul 19, 2023
571c2e6
Feature #1974 Documentation: update coding standards section (#2260)
georgemccabe Jul 24, 2023
2d69093
Feature #2253 conftest fixture to set pytest tmpdir (#2261)
John-Sharples Jul 24, 2023
5418a0a
Feature #2151 Documentation: Add quick search keywords METplotpy/calc…
georgemccabe Jul 24, 2023
b3d9cee
Feature #2138 CI enhance MET Docker tag override (#2258)
georgemccabe Jul 24, 2023
cd44df3
Updating development instructions.
lisagoodrich Jul 24, 2023
1d44d71
fixed typo
georgemccabe Jul 25, 2023
518d643
fixed another typo
georgemccabe Jul 25, 2023
6b4f8a5
Feature #2207 Documentation - Updates to Contributor's Guide (#2263)
georgemccabe Jul 25, 2023
78dcbda
Feature develop update install files (#2266)
jprestop Jul 25, 2023
3a43be0
Bugfix #1853 develop - PointStat don't require mask variables to be s…
georgemccabe Jul 25, 2023
c558742
update version of certifi to match auto-generated dependabot PR #2267
georgemccabe Jul 26, 2023
66b5423
feature #2253 more tests for diff_util.py (#2264)
John-Sharples Jul 26, 2023
be27979
update versions of METplus components for the next official release
georgemccabe Jul 26, 2023
b55ff92
updated release notes for 5.1.0 release
georgemccabe Jul 26, 2023
e25ce31
removed duplicate entries in release notes
georgemccabe Jul 26, 2023
8b8fa94
Added EC2 instance recipee with S3 mounting ability (#2269)
hankenstein2 Jul 27, 2023
e70f766
Updating the Subsetting Tests by Marker section (#2272)
jprestop Jul 27, 2023
91d63e3
update release date for 5.1.0 release (#2276)
georgemccabe Jul 31, 2023
ed94c20
update version for development towards 6.0.0-beta1 release
georgemccabe Aug 1, 2023
fc7bb1e
added new use case that was missing
georgemccabe Aug 1, 2023
27976b1
Bugfix #2279 develop - buoy station file from 2022 (#2280)
georgemccabe Aug 2, 2023
c1bb9ba
Feature 2253 series analysis tests (#2277)
John-Sharples Aug 2, 2023
07ecd53
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Aug 2, 2023
22b835a
Fix typo in pull_request_template.md
JohnHalleyGotway Aug 2, 2023
76a535e
Make code coverage report available (#2287)
georgemccabe Aug 3, 2023
1a07d7b
Use updated dtcenter/metplus-action-data-update tag that fixes bug th…
georgemccabe Aug 4, 2023
152518c
removed climatology keyword from use cases that aren't relevant that …
georgemccabe Aug 7, 2023
bf64005
update readme with current information
georgemccabe Aug 7, 2023
04bb5b0
Feature #2282 coord_release_docs (#2288)
JohnHalleyGotway Aug 7, 2023
e93cab1
continue workflow if coveralls step fails -- this typically happens o…
georgemccabe Aug 8, 2023
cd1d3bb
Feature 2253 system util tests (#2297)
John-Sharples Aug 8, 2023
6af959b
Feature #2294 LSR use case (#2295)
georgemccabe Aug 9, 2023
ac15ac1
Feature 2253 run util tests (#2307)
John-Sharples Aug 15, 2023
94a02a8
Release Guide - remove beta/rc tags/releases (#2309)
georgemccabe Aug 15, 2023
d0bbfc4
Add 'component: repository maintenance' label. Already ran the script…
JohnHalleyGotway Aug 21, 2023
a211559
Hotfix for labels, adding a new one for 'component: input data' and a…
JohnHalleyGotway Aug 22, 2023
6a46c0a
Fix typo in comment
JohnHalleyGotway Aug 22, 2023
27b3b6d
Feature #2283 time looping consolidation (#2311)
georgemccabe Aug 30, 2023
5fbb20a
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Aug 30, 2023
44335f3
New issue template: Update Truth (#2332)
georgemccabe Aug 30, 2023
09179a3
feature #2253 tests for run_util, 'Usage' bugfix (#2313)
John-Sharples Sep 5, 2023
f44a6ed
Feature #2338 Debian 12 Conda environments (#2341)
georgemccabe Sep 13, 2023
674407e
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Sep 13, 2023
a1b06e7
Feature 1488 usecase satwinds (#2324)
j-opatz Sep 13, 2023
1dc8099
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Sep 13, 2023
f785b81
Feature #2283 include times (#2345)
georgemccabe Sep 14, 2023
0be93e8
feature #2253 tests for config_validate, mock logger in conftest (#2320)
John-Sharples Sep 14, 2023
3814b25
Feature #2299 / #2310 Remove deprecated MET config env vars and TCMPR…
georgemccabe Sep 15, 2023
165a379
remove MODEL and OBTYPE to use defaults from MET config
georgemccabe Sep 15, 2023
7000f14
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Sep 15, 2023
925ca07
Feature #2348 v6.0.0-beta1 release (#2351)
georgemccabe Sep 15, 2023
72e32dc
update version for development towards 6.0.0-beta2 release
georgemccabe Sep 15, 2023
0aa8c95
copy libGL and libEGL files into docker image to prevent errors with …
georgemccabe Sep 18, 2023
78a135f
run use that uses geovista to test
georgemccabe Sep 18, 2023
027cbb9
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Sep 19, 2023
7127f7c
Feature #2156 release_acceptance_testing (#2352)
JohnHalleyGotway Sep 19, 2023
f89cdd8
feature #2253 print error logs from conftest (#2358)
John-Sharples Sep 20, 2023
4c306ca
feature #2253 met_db_load tests (#2355)
John-Sharples Sep 20, 2023
1939763
Rename 5.1.0.lua_wcoss2 to 6.0.0.lua_wcoss2
jprestop Sep 20, 2023
6c9ae8a
Update and rename 5.1.0_acorn to 6.0.0_acorn
jprestop Sep 20, 2023
0fd5fca
Update 6.0.0_acorn
jprestop Sep 20, 2023
9e350b1
feature #2253 add tests for gfdl_tracker (#2354)
John-Sharples Sep 21, 2023
b9e948f
Create 6.0.0_gaea
jprestop Sep 22, 2023
0e066a8
Update and rename 5.1.0_hera to 6.0.0_hera
jprestop Sep 22, 2023
71a6e23
Feature #2156 release_acceptance_testing take2 (#2361)
JohnHalleyGotway Sep 25, 2023
8e7618c
Feature #2329 Docker info in Installation Chapter (#2366)
georgemccabe Sep 26, 2023
2aef7ef
feature_2253_extract_tiles_tests (#2368)
John-Sharples Sep 28, 2023
485db05
Feature 2253 tc pairs tests (#2369)
John-Sharples Sep 28, 2023
3d594f2
Feature 2253 tc csv writer (#2373)
John-Sharples Oct 2, 2023
70f95e3
update requirements for building docs to get around build failure whe…
georgemccabe Oct 4, 2023
cd81bbc
fix ReadTheDocs requirements to include pillow which is a dependency …
georgemccabe Oct 4, 2023
06abf5f
Feature #2340 TCDiag one_time_per_file_flag (#2374)
georgemccabe Oct 4, 2023
99cde85
Update and rename 5.1.0_jet to 6.0.0_jet
jprestop Oct 6, 2023
02a1e4e
Added libssh
jprestop Oct 11, 2023
00bb47b
prune docker files before running use cases to prevent running out of…
georgemccabe Oct 16, 2023
93a73e0
Feature 2253 command builder tests (#2378)
John-Sharples Oct 18, 2023
7619276
Feature 2253 series analysis test (#2380)
John-Sharples Oct 18, 2023
4e42ab4
Feature 2253 py embed test (#2379)
reza-armuei Oct 18, 2023
72a57b3
ignore cyclone plotter from code coverage report because it will be r…
georgemccabe Oct 18, 2023
5dca7d4
Feature 898 headers (#2389)
lisagoodrich Oct 25, 2023
a1546bd
Feature #2349 upgrade instructions for deprecated MET config files (#…
georgemccabe Oct 26, 2023
e197d1c
Feature 2123 di doc update (#2392)
hertneky Oct 27, 2023
611a1bc
change log to list name of config variable , e.g. GRID_STAT_CONFIG_FI…
georgemccabe Oct 27, 2023
73765f0
Feature 1667 doc conventions (#2397)
lisagoodrich Nov 1, 2023
c5e910d
Feature #2377 Log to terminal only (#2398)
georgemccabe Nov 1, 2023
26a28a2
Update conda envs to use conda-forge only (#2402)
georgemccabe Nov 2, 2023
eb2a332
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Nov 3, 2023
45e00a7
rearrange MET config env var tables for GridStat so they are in the o…
georgemccabe Nov 3, 2023
560d417
use mamba instead of conda and update version of netcdf python packag…
georgemccabe Nov 8, 2023
f609667
skip s2s_mid_lat WeatherRegime use case that produces different resul…
georgemccabe Nov 8, 2023
be6e120
updated version of xesmf because <0.7.1 does not work with mamba
georgemccabe Nov 9, 2023
8bfc403
per #2412, fix bug in GenVxMask to put quotes around argument so a gr…
georgemccabe Nov 9, 2023
7382be7
downgrade version of esmf package to fix bug described in https://git…
georgemccabe Nov 9, 2023
91beb24
Feature #2219 SeriesAnalysis multiple input files (#2408)
georgemccabe Nov 9, 2023
9c4572a
Adding 3 new requestors to the list of common_labels.txt for NOAA/NHC…
JohnHalleyGotway Nov 10, 2023
5818aa4
Feature 2405 match tables2wrapper (#2416)
lisagoodrich Nov 10, 2023
280cee6
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Nov 13, 2023
cd6a11d
per #2423, follow symbolic links when traversing directories to find …
georgemccabe Nov 14, 2023
982a797
Feature #2252 WaveletStat wrapper (#2427)
georgemccabe Nov 17, 2023
ec3aa3d
add WaveletStat use case to group and temporarily disable TCDiag use …
georgemccabe Nov 18, 2023
0d30687
update version number for beta2 release (#2431)
georgemccabe Nov 18, 2023
18c9c7f
update version for dev towards beta3
georgemccabe Nov 18, 2023
1248628
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Nov 18, 2023
f8bc8d5
Feature #2371 Embed use case upgrade demo video into upgrade instruct…
georgemccabe Dec 6, 2023
1424d1e
fix failing use case tests -- install python packages dateutil and re…
georgemccabe Dec 12, 2023
808a58b
remove commands to install geovista from source because it is now ins…
georgemccabe Dec 13, 2023
eea3646
Feature #1989: Add OMI use case (#2457)
malloryprow Dec 19, 2023
807bcbc
Feature #2432 TCDiag new config changes (#2453)
georgemccabe Dec 19, 2023
5878952
move medium range 10 use case into group with 3-5 to speed up runs
georgemccabe Dec 19, 2023
a92e096
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Dec 19, 2023
5b0c5a8
Feature #2334 land_mask (and topo_mask) in PointStat (#2456)
georgemccabe Dec 19, 2023
c80ec3d
added use cases with pygrib
j-opatz Jan 9, 2024
d26d9bc
Feature #2430 TCPairs consensus.diag_required and consensus.diag_min_…
georgemccabe Jan 10, 2024
67285ef
Quickfix cloud use case desc imgs (#2464)
j-opatz Jan 13, 2024
c33eb6d
Fixing spelling and capitalization
jprestop Jan 18, 2024
fc5a05e
Feature 2454 doc overview conv (#2471)
lisagoodrich Jan 24, 2024
107f0af
add argument to workflow dispatch event so that MET DockerHub repo us…
georgemccabe Jan 24, 2024
41bfb3f
Feature dtcenter/MET#2796 GHA Node20 deprecation warnings (#2473)
georgemccabe Jan 24, 2024
f45f1b1
Feature dtcenter/MET#2796 develop - Fix error log artifact creation (…
georgemccabe Jan 26, 2024
46f705f
updated version of pillow to fix security vulnerability alerted by de…
georgemccabe Jan 26, 2024
d958cf2
remove docker image after runtime image is created from metplus image…
georgemccabe Feb 6, 2024
365cbe9
turn on use case to test image removal
georgemccabe Feb 6, 2024
c28f003
prune images if image tag doesn't exist -- it appears that if the ima…
georgemccabe Feb 6, 2024
0b33707
support commands that must run in the shell to see if || will work in…
georgemccabe Feb 6, 2024
2f230cd
try to fix image removal
georgemccabe Feb 6, 2024
8313195
Feature 2383 use case sat alt (#2480)
j-opatz Feb 6, 2024
8d3c464
run image prune commands separately
georgemccabe Feb 6, 2024
321aad9
changed shell back to false
georgemccabe Feb 6, 2024
0c95d7b
split up use case groups so the same envs are used by a group to see …
georgemccabe Feb 6, 2024
7ab31d2
turn off use cases
georgemccabe Feb 6, 2024
fae61ad
Merge branch 'feature_fix_gha_disk_space' into develop
georgemccabe Feb 6, 2024
aa96daf
feature 2253 fix empty pytest logs (#2485)
John-Sharples Feb 7, 2024
398aa18
added more commands to free up disk space as suggested in https://git…
georgemccabe Feb 7, 2024
cf53ffc
Merge branch 'feature_free_disk_space' into develop
georgemccabe Feb 7, 2024
a61bb93
Feature 2406 redo usecase rrfs (#2488)
bikegeek Feb 7, 2024
c67050a
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Feb 7, 2024
0f5beca
Feature #2460 allow missing input (#2493)
georgemccabe Feb 8, 2024
69b813b
Feature #2491 v6.0.0 beta3 (#2495)
georgemccabe Feb 8, 2024
0db92ab
update version to note development towards beta4 release
georgemccabe Feb 8, 2024
525809d
Per suggestion from @JohnHalleyGotway, create intermediate branch for…
georgemccabe Feb 15, 2024
c1cb3c4
added quotes to prevent error in echo caused by parenthesis
georgemccabe Feb 15, 2024
e7dffb6
fix incorrect command
georgemccabe Feb 15, 2024
287f08f
Revert "fix incorrect command"
georgemccabe Feb 15, 2024
bb90bc8
Revert "added quotes to prevent error in echo caused by parenthesis"
georgemccabe Feb 15, 2024
2f2004a
Revert "Per suggestion from @JohnHalleyGotway, create intermediate br…
georgemccabe Feb 15, 2024
8a96e99
Merge remote-tracking branch 'origin/develop-ref' into develop
metplus-bot Feb 15, 2024
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
1 change: 0 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ jobs:
needs: use_case_tests
if: ${{ always() && needs.use_case_tests.result == 'failure' }}
steps:
- uses: actions/checkout@v4
- name: Check for error logs
id: check-for-error-logs
run: |
Expand Down
42 changes: 42 additions & 0 deletions docs/Users_Guide/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,48 @@ When applicable, release notes are followed by the
`GitHub issue <https://github.com/dtcenter/METplus/issues>`__ number which
describes the bugfix, enhancement, or new feature.

METplus Version 6.0.0 Beta 3 Release Notes (2024-02-08)
-------------------------------------------------------

.. dropdown:: Enhancements

* Add support for MET land-mask settings in Point-Stat
(`#2334 <https://github.com/dtcenter/METplus/issues/2334>`_)
* Enhance the TC-Pairs wrapper to support the new diag_required and diag_min_req configuration options
(`#2430 <https://github.com/dtcenter/METplus/issues/2430>`_)
* Enhance the TC-Diag wrapper to support new configuration options added in MET-12.0.0-beta2
(`#2432 <https://github.com/dtcenter/METplus/issues/2432>`_)
* Prevent error if some input files are missing
(`#2460 <https://github.com/dtcenter/METplus/issues/2460>`_)

.. dropdown:: Bugfix

NONE

.. dropdown:: New Wrappers

NONE

.. dropdown:: New Use Cases

* Verify Total Column Ozone against NASA's OMI dataset
(`#1989 <https://github.com/dtcenter/METplus/issues/1989>`_)
* RRFS reformatting, aggregating, and plotting use case
(`#2406 <https://github.com/dtcenter/METplus/issues/2406>`_)
* Satellite Altimetry data
(`#2383 <https://github.com/dtcenter/METplus/issues/2383>`_)

.. dropdown:: Documentation

* Create video to demonstrate how to update use cases that use deprecated environment variables
(`#2371 <https://github.com/dtcenter/METplus/issues/2371>`_)

.. dropdown:: Internal

* Update Documentation Overview and Conventions
(`#2454 <https://github.com/dtcenter/METplus/issues/2454>`_)


METplus Version 6.0.0 Beta 2 Release Notes (2023-11-14)
-------------------------------------------------------

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
21 changes: 21 additions & 0 deletions internal/tests/pytests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ def test_example(metplus_config):
if len(msg.args) != 0]
print("Tests raised the following errors:")
print("\n".join(err_msgs))
if config.logger.warning.call_args_list:
warn_msgs = [
str(msg.args[0])
for msg
in config.logger.warning.call_args_list
if len(msg.args) != 0]
print("\nTests raised the following warnings:")
print("\n".join(warn_msgs))
config.logger = old_logger
# don't remove output base if test fails
if request.node.rep_call.failed:
Expand Down Expand Up @@ -185,3 +193,16 @@ def make_nc(tmp_path, lon, lat, z, data, variable='Temp', file_name='fake.nc'):
temp[0, :, :, :] = data

return file_name


@pytest.fixture(scope="function")
def get_test_data_dir():
"""!Get path to directory containing test data.
"""
def get_test_data_path(subdir):
internal_tests_dir = os.path.abspath(
os.path.join(os.path.dirname(__file__), os.pardir)
)
return os.path.join(internal_tests_dir, 'data', subdir)

return get_test_data_path
2 changes: 2 additions & 0 deletions internal/tests/pytests/util/run_util/test_run_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
'METPLUS_BASE',
'PARM_BASE',
'METPLUS_VERSION',
'ALLOW_MISSING_INPUTS',
'INPUT_THRESH',
]


Expand Down
56 changes: 46 additions & 10 deletions internal/tests/pytests/wrappers/ascii2nc/test_ascii2nc_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def ascii2nc_wrapper(metplus_config, config_overrides=None):
'LOOP_BY': 'VALID',
'VALID_TIME_FMT': '%Y%m%d%H',
'VALID_BEG': '2010010112',
'VALID_END': '2010010112',
'VALID_INCREMENT': '1M',
'VALID_END': '2010010118',
'VALID_INCREMENT': '6H',
'ASCII2NC_INPUT_TEMPLATE': '{INPUT_BASE}/met_test/data/sample_obs/ascii/precip24_{valid?fmt=%Y%m%d%H}.ascii',
'ASCII2NC_OUTPUT_TEMPLATE': '{OUTPUT_BASE}/ascii2nc/precip24_{valid?fmt=%Y%m%d%H}.nc',
'ASCII2NC_CONFIG_FILE': '{PARM_BASE}/met_config/Ascii2NcConfig_wrapped',
Expand Down Expand Up @@ -47,6 +47,36 @@ def ascii2nc_wrapper(metplus_config, config_overrides=None):
return ASCII2NCWrapper(config, instance=instance)


@pytest.mark.parametrize(
'missing, run, thresh, errors, allow_missing', [
(1, 3, 0.5, 0, True),
(1, 3, 0.8, 1, True),
(1, 3, 0.5, 1, False),
]
)
@pytest.mark.wrapper
def test_ascii2nc_missing_inputs(metplus_config, get_test_data_dir,
missing, run, thresh, errors, allow_missing):
config_overrides = {
'INPUT_MUST_EXIST': True,
'ASCII2NC_ALLOW_MISSING_INPUTS': allow_missing,
'ASCII2NC_INPUT_THRESH': thresh,
'ASCII2NC_INPUT_TEMPLATE': os.path.join(get_test_data_dir('ascii'), 'precip24_{valid?fmt=%Y%m%d%H}.ascii'),
'VALID_END': '2010010200',
}
wrapper = ascii2nc_wrapper(metplus_config, config_overrides)
assert wrapper.isOK

all_cmds = wrapper.run_all_times()
for cmd, _ in all_cmds:
print(cmd)

print(f'missing: {wrapper.missing_input_count} / {wrapper.run_count}, errors: {wrapper.errors}')
assert wrapper.missing_input_count == missing
assert wrapper.run_count == run
assert wrapper.errors == errors


@pytest.mark.parametrize(
'config_overrides, env_var_values', [
({},
Expand Down Expand Up @@ -163,11 +193,13 @@ def test_ascii2nc_wrapper(metplus_config, config_overrides,

input_path = wrapper.config.getraw('config', 'ASCII2NC_INPUT_TEMPLATE')
input_dir = os.path.dirname(input_path)
input_file = 'precip24_2010010112.ascii'
input_file1 = 'precip24_2010010112.ascii'
input_file2 = 'precip24_2010010118.ascii'

output_path = wrapper.config.getraw('config', 'ASCII2NC_OUTPUT_TEMPLATE')
output_dir = os.path.dirname(output_path)
output_file = 'precip24_2010010112.nc'
output_file1 = 'precip24_2010010112.nc'
output_file2 = 'precip24_2010010118.nc'

all_commands = wrapper.run_all_times()
print(f"ALL COMMANDS: {all_commands}")
Expand All @@ -177,13 +209,17 @@ def test_ascii2nc_wrapper(metplus_config, config_overrides,
verbosity = f"-v {wrapper.c_dict['VERBOSITY']}"
config_file = wrapper.c_dict.get('CONFIG_FILE')

expected_cmd = (f"{app_path} "
f"{input_dir}/{input_file} "
f"{output_dir}/{output_file} "
f"-config {config_file} "
f"{verbosity}")
expected_cmds = [
(f"{app_path} {input_dir}/{input_file1} {output_dir}/{output_file1} "
f"-config {config_file} {verbosity}"),
(f"{app_path} {input_dir}/{input_file2} {output_dir}/{output_file2} "
f"-config {config_file} {verbosity}"),
]

assert all_commands[0][0] == expected_cmd
assert len(all_commands) == len(expected_cmds)
for (cmd, _), expected_cmd in zip(all_commands, expected_cmds):
# ensure commands are generated as expected
assert cmd == expected_cmd

env_vars = all_commands[0][1]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1199,17 +1199,20 @@ def test_errors_and_defaults(metplus_config):
assert actual == False
assert _in_last_err('Could not generate command', cb.logger)

# test python embedding error
# test python embedding check
with mock.patch.object(cb_wrapper, 'is_python_script', return_value=True):
actual = cb.check_for_python_embedding('FCST',{'fcst_name':'pyEmbed'})
assert actual == None
assert _in_last_err('must be set to a valid Python Embedding type', cb.logger)
assert actual == 'python_embedding'

cb.c_dict['FCST_INPUT_DATATYPE'] = 'PYTHON_XARRAY'
cb.env_var_dict['METPLUS_FCST_FILE_TYPE'] = "PYTHON_NUMPY"
with mock.patch.object(cb_wrapper, 'is_python_script', return_value=True):
actual = cb.check_for_python_embedding('FCST',{'fcst_name':'pyEmbed'})
assert actual == 'python_embedding'

with mock.patch.object(cb_wrapper, 'is_python_script', return_value=False):
actual = cb.check_for_python_embedding('FCST',{'fcst_name':'pyEmbed'})
assert actual == 'pyEmbed'

# test field_info not set
cb.c_dict['CURRENT_VAR_INFO'] = None
actual = cb.set_current_field_config()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

import os

from datetime import datetime


from metplus.wrappers.ensemble_stat_wrapper import EnsembleStatWrapper

fcst_dir = '/some/path/fcst'
Expand All @@ -27,7 +24,7 @@
run_times = ['2005080700', '2005080712']


def set_minimum_config_settings(config, set_fields=True):
def set_minimum_config_settings(config, set_fields=True, set_obs=True):
# set config variables to prevent command from running and bypass check
# if input files actually exist
config.set('config', 'DO_NOT_RUN_EXE', True)
Expand All @@ -46,11 +43,12 @@ def set_minimum_config_settings(config, set_fields=True):
config.set('config', 'ENSEMBLE_STAT_CONFIG_FILE',
'{PARM_BASE}/met_config/EnsembleStatConfig_wrapped')
config.set('config', 'FCST_ENSEMBLE_STAT_INPUT_DIR', fcst_dir)
config.set('config', 'OBS_ENSEMBLE_STAT_GRID_INPUT_DIR', obs_dir)
config.set('config', 'FCST_ENSEMBLE_STAT_INPUT_TEMPLATE',
'{init?fmt=%Y%m%d%H}/fcst_file_F{lead?fmt=%3H}')
config.set('config', 'OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE',
'{valid?fmt=%Y%m%d%H}/obs_file')
if set_obs:
config.set('config', 'OBS_ENSEMBLE_STAT_GRID_INPUT_DIR', obs_dir)
config.set('config', 'OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE',
'{valid?fmt=%Y%m%d%H}/obs_file')
config.set('config', 'ENSEMBLE_STAT_OUTPUT_DIR',
'{OUTPUT_BASE}/EnsembleStat/output')
config.set('config', 'ENSEMBLE_STAT_OUTPUT_TEMPLATE', '{valid?fmt=%Y%m%d%H}')
Expand All @@ -62,6 +60,74 @@ def set_minimum_config_settings(config, set_fields=True):
config.set('config', 'OBS_VAR1_LEVELS', obs_level)


@pytest.mark.parametrize(
'allow_missing, optional_input, missing, run, thresh, errors', [
(True, None, 3, 8, 0.4, 0),
(True, None, 3, 8, 0.7, 1),
(False, None, 3, 8, 0.7, 3),
(True, 'obs_grid', 4, 8, 0.4, 0),
(True, 'obs_grid', 4, 8, 0.7, 1),
(False, 'obs_grid', 4, 8, 0.7, 4),
(True, 'point_grid', 4, 8, 0.4, 0),
(True, 'point_grid', 4, 8, 0.7, 1),
(False, 'point_grid', 4, 8, 0.7, 4),
(True, 'ens_mean', 4, 8, 0.4, 0),
(True, 'ens_mean', 4, 8, 0.7, 1),
(False, 'ens_mean', 4, 8, 0.7, 4),
(True, 'ctrl', 4, 8, 0.4, 0),
(True, 'ctrl', 4, 8, 0.7, 1),
(False, 'ctrl', 4, 8, 0.7, 4),
# still errors if more members than n_members found
(True, 'low_n_member', 8, 8, 0.7, 6),
(False, 'low_n_member', 8, 8, 0.7, 8),
]
)
@pytest.mark.wrapper_b
def test_ensemble_stat_missing_inputs(metplus_config, get_test_data_dir, allow_missing,
optional_input, missing, run, thresh, errors):
config = metplus_config
set_minimum_config_settings(config, set_obs=False)
config.set('config', 'INPUT_MUST_EXIST', True)
config.set('config', 'ENSEMBLE_STAT_ALLOW_MISSING_INPUTS', allow_missing)
config.set('config', 'ENSEMBLE_STAT_INPUT_THRESH', thresh)
n_members = 4 if optional_input == 'low_n_member' else 6
config.set('config', 'ENSEMBLE_STAT_N_MEMBERS', n_members)
config.set('config', 'INIT_BEG', '2009123106')
config.set('config', 'INIT_END', '2010010100')
config.set('config', 'INIT_INCREMENT', '6H')
config.set('config', 'LEAD_SEQ', '24H, 48H')
config.set('config', 'FCST_ENSEMBLE_STAT_INPUT_DIR', get_test_data_dir('ens'))
config.set('config', 'FCST_ENSEMBLE_STAT_INPUT_TEMPLATE',
'{init?fmt=%Y%m%d%H}/arw-*-gep?/d01_{init?fmt=%Y%m%d%H}_{lead?fmt=%3H}00.grib')

if optional_input == 'obs_grid':
prefix = 'OBS_ENSEMBLE_STAT_GRID'
elif optional_input == 'point_grid':
prefix = 'OBS_ENSEMBLE_STAT_POINT'
elif optional_input == 'ens_mean':
prefix = 'ENSEMBLE_STAT_ENS_MEAN'
elif optional_input == 'ctrl':
prefix = 'ENSEMBLE_STAT_CTRL'
else:
prefix = None

if prefix:
config.set('config', f'{prefix}_INPUT_DIR', get_test_data_dir('obs'))
config.set('config', f'{prefix}_INPUT_TEMPLATE', '{valid?fmt=%Y%m%d%H}_obs_file')

wrapper = EnsembleStatWrapper(config)
assert wrapper.isOK

all_cmds = wrapper.run_all_times()
for cmd, _ in all_cmds:
print(cmd)

print(f'missing: {wrapper.missing_input_count} / {wrapper.run_count}, errors: {wrapper.errors}')
assert wrapper.missing_input_count == missing
assert wrapper.run_count == run
assert wrapper.errors == errors


@pytest.mark.parametrize(
'config_overrides, expected_filename', [
# 0 - set forecast level
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from metplus.wrappers.extract_tiles_wrapper import ExtractTilesWrapper


def extract_tiles_wrapper(metplus_config):
config = metplus_config
config.set('config', 'PROCESS_LIST', 'ExtractTiles')
Expand All @@ -22,10 +23,6 @@ def extract_tiles_wrapper(metplus_config):
config.set('config', 'EXTRACT_TILES_LAT_ADJ', '15')
config.set('config', 'EXTRACT_TILES_LON_ADJ', '15')
config.set('config', 'EXTRACT_TILES_FILTER_OPTS', '-basin ML')
config.set('config', 'FCST_EXTRACT_TILES_INPUT_TEMPLATE',
'gfs_4_{init?fmt=%Y%m%d}_{init?fmt=%H}00_{lead?fmt=%HHH}.grb2')
config.set('config', 'OBS_EXTRACT_TILES_INPUT_TEMPLATE',
'gfs_4_{valid?fmt=%Y%m%d}_{valid?fmt=%H}00_000.grb2')
config.set('config', 'EXTRACT_TILES_GRID_INPUT_DIR',
'{INPUT_BASE}/cyclone_track_feature/reduced_model_data')
config.set('config', 'EXTRACT_TILES_PAIRS_INPUT_DIR',
Expand Down
Loading