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 #1425 #1427

Merged
merged 80 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
2a7b085
Feature 1091 extent cycloneplotter (#1218)
bikegeek Oct 27, 2021
fa40cca
Github Issue #1091 Merge branch 'develop-ref' into develop
bikegeek Oct 27, 2021
ee5e274
convert file back to unix format via dos2unix and added change that w…
georgemccabe Nov 3, 2021
8d444e2
return None from function instead of exiting so that METplus clean up…
georgemccabe Nov 3, 2021
f9480e8
fixed indentation
georgemccabe Nov 3, 2021
dbdec0b
fixed indentation - for loop should not be nested inside other for loop
georgemccabe Nov 3, 2021
4ec50af
fixed check for failure in retrieve_data function
georgemccabe Nov 3, 2021
54f368a
feature 1223 error if file not found (#1238)
georgemccabe Nov 4, 2021
fb2ffed
Merge branch 'develop-ref' into develop
georgemccabe Nov 4, 2021
7094e0a
feature 1252 allow dictionary value for time_summary.width (#1253)
georgemccabe Nov 11, 2021
b021341
feature 1213 obs_quality_inc/exc (#1260)
georgemccabe Nov 15, 2021
9a6473a
Feature 1203 ioda2nc (#1262)
georgemccabe Nov 15, 2021
0bb5327
Merge branch 'develop-ref' into develop
georgemccabe Nov 15, 2021
a68c61c
Add default title for the new use case issue template.
JohnHalleyGotway Nov 16, 2021
083b80d
Feature 1019 harmonic preprocessing (#1272)
CPKalb Nov 16, 2021
4fbb689
Feature 1266 gen ens prod missing ensembles (#1275)
georgemccabe Nov 16, 2021
c16cb42
Merge branch 'develop-ref' into develop
georgemccabe Nov 16, 2021
fd90ba9
Feature 1049 statistics list (#1271)
lisagoodrich Nov 16, 2021
9e0f7e3
Feature 1263 v4.1.0 beta4 (#1277)
georgemccabe Nov 16, 2021
801cc94
update version to note development towards beta5
georgemccabe Nov 16, 2021
33ba9ac
Feature 934 release stage doc (#1235)
jprestop Nov 17, 2021
dd884c1
Merge branch 'develop-ref' into develop
georgemccabe Nov 19, 2021
4e8c5c0
Merge branch 'develop-ref' into develop
georgemccabe Nov 22, 2021
5d31979
Feature 344 met util refactor (#1292)
georgemccabe Dec 6, 2021
cfc1d09
removed deprecated sections from config examples
georgemccabe Dec 6, 2021
dd0d474
minor change to METplus release guide to add a link to the PDF of the…
georgemccabe Dec 7, 2021
1af654c
Feature 1285 extract tiles mtd times (#1315)
georgemccabe Dec 16, 2021
46658c6
Feature 896 more met config (#1322)
georgemccabe Dec 27, 2021
7e95915
removed incorrect search keyword
georgemccabe Dec 30, 2021
e5f53b1
added workflow_dispatch event so workflow can be triggered by an exte…
georgemccabe Dec 30, 2021
5673771
added another input argument for workflow_dispatch event
georgemccabe Jan 5, 2022
b25d728
added job with name that shows the event name or the repository name …
georgemccabe Jan 5, 2022
ab508d1
GHA: add username that triggered external event to event info job name
georgemccabe Jan 5, 2022
35f2003
added required input argument for external trigger that contains the …
georgemccabe Jan 5, 2022
1f97785
change event info to show commit hash instead of username that merged…
georgemccabe Jan 5, 2022
e4c2f3b
changed input names to match names of event in repository that trigge…
georgemccabe Jan 5, 2022
e2a44bc
feature 1320 OMP_NUM_THREADS (#1338)
georgemccabe Jan 11, 2022
e65949b
Feature 1183 memory documentation (#1340)
j-opatz Jan 11, 2022
8f8b9f9
add email address of user who triggered push event to job name
georgemccabe Jan 12, 2022
a4a0551
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Jan 12, 2022
a138355
Feature 1166 series analysis field info (#1353)
georgemccabe Jan 13, 2022
c77d5d5
Feature 1116 usecase smos (#1348)
j-opatz Jan 13, 2022
6890f39
turn off new use case from every push
georgemccabe Jan 13, 2022
a19c343
Merge branch 'develop-ref' into develop
georgemccabe Jan 13, 2022
8ef1609
feature 1236 Control Members in EnsembleStat and GenEnsProd (#1357)
georgemccabe Jan 13, 2022
41add20
added optional argument to change the directory to untar new input da…
georgemccabe Jan 14, 2022
61c5d18
feature 1358 v4.1.0-beta5 release (#1359)
georgemccabe Jan 14, 2022
9aa9058
update version for next development cycle
georgemccabe Jan 15, 2022
d8dd615
Feature 1216 usecase smap (#1361)
j-opatz Jan 19, 2022
50e54cc
updated marine_and_cryo grouping
j-opatz Jan 19, 2022
2b12f78
Merge branch 'develop-ref' into develop
j-opatz Jan 20, 2022
7ff0637
Merge remote-tracking branch 'origin/develop-ref' into develop
bikegeek Jan 20, 2022
77d954d
Feature 1230 stratosphere metrics (#1354)
hankenstein2 Jan 21, 2022
b5ee821
Merge branch 'develop-ref' into develop
Jan 21, 2022
e4805a9
Corrected spelling of occurrence in two places
Jan 24, 2022
85e882c
Fixed misspelling of occurrence
Jan 24, 2022
069572b
Found and fixed two more misspellings of occurence
Jan 24, 2022
473fcab
Changed version specific information to by X.Y.Z moved text indicatin…
Jan 25, 2022
baacb56
Feature 1374 python packages (#1378)
jprestop Jan 26, 2022
7d7283f
feature 1368 PCPCombine use zero accum (#1381)
georgemccabe Jan 27, 2022
3095217
feature 1369 grid_weight_flag in EnsembleStat (#1379)
georgemccabe Jan 28, 2022
527f7da
Per #1356, change how wrappers create instances of other wrappers to …
georgemccabe Jan 28, 2022
3e19c67
Per #1356, remove config_overrides functionality in favor of using in…
georgemccabe Jan 28, 2022
a70e8d5
Per #1356, update documentation to reflect changes
georgemccabe Jan 28, 2022
9832871
Per #1356, fixed unit test to no longer use deprecated approach to ov…
georgemccabe Jan 28, 2022
7daa711
feature 1247 climatology settings (#1385)
georgemccabe Jan 31, 2022
9dffa80
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Jan 31, 2022
99e56cd
feature 1356 isolate config (#1386)
georgemccabe Feb 1, 2022
8e77616
Merge branch 'develop' of github.com:dtcenter/METplus into develop
georgemccabe Feb 1, 2022
774a3e9
Feature 675 Continuous Integration Documentation (#1409)
georgemccabe Feb 4, 2022
b302a93
feature 1382 Filename templates in MODEL (#1414)
georgemccabe Feb 4, 2022
b98212f
Feature 1289 explicit file list (#1387)
georgemccabe Feb 7, 2022
01b4c14
Per PR #1387 review, fix typo
georgemccabe Feb 7, 2022
9b397ef
Merge branch 'develop-ref' into develop
georgemccabe Feb 7, 2022
4e1f949
Bugfix 1421 EnsembleStat use fcst fields in ens dictionary if ens is …
georgemccabe Feb 7, 2022
0d19eff
Merge branch 'develop-ref' into develop
georgemccabe Feb 8, 2022
1651be3
fixed missing path change for docker file path
georgemccabe Feb 8, 2022
9d2b506
removed variables that are not used
georgemccabe Feb 8, 2022
9605006
Feature 1408 use case ptype (#1425)
j-opatz Feb 8, 2022
5233437
Merge branch 'develop-ref' into develop
j-opatz Feb 8, 2022
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
2 changes: 1 addition & 1 deletion .github/jobs/docker_update_data_volumes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# path to script that builds docker data volumes
BUILD_DOCKER_IMAGES = os.path.join(os.environ.get('GITHUB_WORKSPACE', ''),
'ci',
'scripts',
'docker',
'docker_data',
'build_docker_images.sh')
Expand Down
7 changes: 6 additions & 1 deletion .github/parm/use_case_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@
},
{
"category": "precipitation",
"index_list": "3-8",
"index_list": "3-7",
"run": false
},
{
"category": "precipitation",
"index_list": "8",
"run": false
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
"""
Point-Stat: Investigating Preciptitation Types
==============================================

model_application/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf

"""
##############################################################################
# Scientific Objective
# --------------------
#
# During a storm that produces mulitiple precipitation types, the validation
# process becomes critical to investigating how well a model does during these
# situations. Using METplus' PointStat tool in this use case creates an opportunity
# to compare three separate model outputs for a multi-precipitation type storm
# across several valid times and create statistical output that can help modelers
# fine-tune curent numerical models to perform better in this forecast situation.
#

##############################################################################
# Datasets
# --------
#
# * Forecast dataset: operational GFS, GFSv16, NAM
# * Observation dataset: METARs (via NAM prepbufr reanalysis)
#

###############################################################################
# METplus Components
# ------------------
#
# This use case runs PB2NC on each NAM prepbufr file, extracts the METAR data within a 30-minute window
# of the valid time, then runs Point-Stat on the model forecasts, comparing each valid time
# to the newly created netCDFs.
#

###############################################################################
# METplus Workflow
# ----------------
#
# The following tools are used for each run time:
# PB2NC, PointStat
#
# This example loops by initialization time. For each initialization time
# it will process the listed lead hours (12 hour steps from 12 to 84 hours)
#
# Run times:
#
# | **Init:** 2021-02-15_12Z
# | **Forecast leads:** 12, 24, 36, 48, 60, 72, 84 hour
# |
#

##############################################################################
# METplus Configuration
# ---------------------
#
# METplus first loads all of the configuration files found in parm/metplus_config,
# then it loads any configuration files passed to METplus via the command line
# with the -c option, i.e. -c parm/use_cases/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/use_cases/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf

##############################################################################
# MET Configuration
# ---------------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
#
# **YOU SHOULD NOT SET ANY OF THESE ENVIRONMENT VARIABLES YOURSELF! THEY WILL BE OVERWRITTEN BY METPLUS WHEN IT CALLS THE MET TOOLS!**
#
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# **PB2NCConfig_wrapped**
#
# .. note:: See the :ref:`PB2NC MET Configuration<pb2nc-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/PB2NCConfig_wrapped
#
# **PointStatConfig_wrapped**
#
# .. note:: See the :ref:`PointStat MET Configuration<point-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/PointStatConfig_wrapped

##############################################################################
# Running METplus
# ---------------
#
# This use case can be run two ways:
#
# 1) Passing in PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf then a user-specific system configuration file::
#
# run_metplus.py -c /path/to/METplus/parm/use_cases/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf -c /path/to/user_system.conf
#
# 2) Modifying the configurations in parm/metplus_config, then passing in PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf::
#
# run_metplus.py -c /path/to/METplus/parm/use_cases/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf
#
# The former method is recommended. Whether you add them to a user-specific configuration file or modify the metplus_config files, the following variables must be set correctly:
#
# * **INPUT_BASE** - Path to directory where sample data tarballs are unpacked (See Datasets section to obtain tarballs). This is not required to run METplus, but it is required to run the examples in parm/use_cases
# * **OUTPUT_BASE** - Path where METplus output will be written. This must be in a location where you have write permissions
# * **MET_INSTALL_DIR** - Path to location where MET is installed locally
#
# Example User Configuration File::
#
# [dir]
# INPUT_BASE = /path/to/sample/input/data
# OUTPUT_BASE = /path/to/output/dir
# MET_INSTALL_DIR = /path/to/met-X.Y
#
# **NOTE:** All of these items must be found under the [dir] section.
#

##############################################################################
# Expected Output
# ---------------
#
# A successful run will output the following both to the screen and to the logfile::
#
# INFO: METplus has successfully finished running.
#
# Refer to the value set for **OUTPUT_BASE** to find where the output data was generated.
# Output for this use case will be found in model_applications/precipitation (relative to **OUTPUT_BASE**)
# The following PB2NC output files will be created:
#
# * nam.obsfile_sfc_prwe.02[dd]2021_[hh].nc
#
# Where [dd] and [hh] corespond to each valid time run (total of 7 files).
#
# The following PointStat output files will also be created in model_applications/precipitation (relative to **OUTPUT_BASE**):
#
# * point_stat_[model]_[lead]0000L_[valid_YYMMDD_time]_[valid_HH_time].stat
#
# Where [model] is gfs, gfsx (for gfsv16), or nam, and valid times correspond to the 7 valid times being processed (total of 21 files).


##############################################################################
# Keywords
# --------
#
# .. note::
#
# * PointStatToolUseCase
# * PB2NCToolUseCase
# * PrecipitationAppUseCase
# * GRIB2FileUseCase
# * prepBUFRFileUseCase
#
# Navigate to the :ref:`quick-search` page to discover other similar use cases.
#
#
#
# sphinx_gallery_thumbnail_path = '_static/precipitation-PointStat_fcstMULTI_obsMETAR_PtypeComparisons.png'
2 changes: 2 additions & 0 deletions internal_tests/use_cases/all_use_cases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Category: precipitation
5::MTD_fcstHRRR-TLE_FcstOnly_RevisionSeries_GRIB:: model_applications/precipitation/MTD_fcstHRRR-TLE_FcstOnly_RevisionSeries_GRIB.conf
6::MTD_fcstHRRR-TLE_obsMRMS:: model_applications/precipitation/MTD_fcstHRRR-TLE_obsMRMS.conf
7::EnsembleStat_fcstWOFS_obsWOFS:: model_applications/precipitation/EnsembleStat_fcstWOFS_obsWOFS.conf::
8::PointStat_fcstMULTI_obsMETAR_PtypeComparisons:: model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons.conf


Category: s2s
0::GridStat_SeriesAnalysis_fcstNMME_obsCPC_seasonal_forecast:: model_applications/s2s/GridStat_SeriesAnalysis_fcstNMME_obsCPC_seasonal_forecast.conf:: netcdf4_env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ POINT_STAT_INTERP_TYPE_WIDTH = 2
POINT_STAT_OUTPUT_FLAG_SL1L2 = STAT
POINT_STAT_OUTPUT_FLAG_VL1L2 = STAT


# Either conus_sfc or upper_air
PB2NC_VERTICAL_LOCATION = upper_air

#
# PB2NC
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ POINT_STAT_INTERP_TYPE_WIDTH = 2
POINT_STAT_OUTPUT_FLAG_SL1L2 = STAT
POINT_STAT_OUTPUT_FLAG_VL1L2 = STAT


# Either conus_sfc or upper_air
PB2NC_VERTICAL_LOCATION = conus_sfc

#
# PB2NC
#
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
[config]


#The first PointStat call is for the GFS
PROCESS_LIST = PB2NC,PointStat,PointStat(nam_run),PointStat(gfsx_run)
LOOP_BY = INIT
INIT_TIME_FMT = %Y%m%d%H%M
INIT_BEG = 202102151200
INIT_END = 202102151200
INIT_INCREMENT = 12H

LEAD_SEQ = 12, 24, 36, 48, 60, 72, 84

PB2NC_OFFSETS = 0, 12

PB2NC_SKIP_IF_OUTPUT_EXISTS = True

PB2NC_INPUT_DIR = {INPUT_BASE}/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons
PB2NC_INPUT_TEMPLATE = nam.{valid?fmt=%Y%m%d}.t{valid?fmt=%2H}z.prepbufr.tm00

PB2NC_OUTPUT_DIR = {OUTPUT_BASE}/model_applications/precipitation
PB2NC_OUTPUT_TEMPLATE = nam.obsfile_sfc_prwe.{valid?fmt=%m%d%Y}_{valid?fmt=%2H}z.nc


PB2NC_CONFIG_FILE = {PARM_BASE}/met_config/PB2NCConfig_wrapped

PB2NC_OBS_WINDOW_BEGIN = -1800
PB2NC_OBS_WINDOW_END = 1800

#PB2NC_VALID_BEGIN = {valid?fmt=%Y%m%d_%H%M%S?shift=-1800}
#PB2NC_VALID_END = {valid?fmt=%Y%m%d_%H%M%S?shift=1800}

PB2NC_GRID =
PB2NC_POLY =
PB2NC_STATION_ID =
PB2NC_MESSAGE_TYPE = ADPSFC

PB2NC_PB_REPORT_TYPE =

#PB2NC_LEVEL_RANGE_BEG =
#PB2NC_LEVEL_RANGE_END =

PB2NC_LEVEL_CATEGORY =

PB2NC_QUALITY_MARK_THRESH = 2

# Leave empty to process all
PB2NC_OBS_BUFR_VAR_LIST = PRWE

PB2NC_TIME_SUMMARY_FLAG = False
PB2NC_TIME_SUMMARY_BEG = 000000
PB2NC_TIME_SUMMARY_END = 235959
PB2NC_TIME_SUMMARY_VAR_NAMES =
PB2NC_TIME_SUMMARY_TYPES = min, max, range, mean, stdev, median, p80

PB2NC_TIME_SUMMARY_RAW_DATA = False
PB2NC_TIME_SUMMARY_STEP = 3600
PB2NC_TIME_SUMMARY_WIDTH = 3600
PB2NC_TIME_SUMMARY_GRIB_CODES =
PB2NC_TIME_SUMMARY_VALID_FREQ = 0
PB2NC_TIME_SUMMARY_VALID_THRESH = 0.0

#PB2NC_OBS_BUFR_MAP =
#PB2NC_OBS_PREPBUFR_MAP =


###
# PointStat
###

FCST_POINT_STAT_INPUT_DIR = {INPUT_BASE}/model_applications/precipitation/PointStat_fcstMULTI_obsMETAR_PtypeComparisons
FCST_POINT_STAT_INPUT_TEMPLATE = gfs.t12z.pgrb2.0p25.f{lead?fmt=%3H}

OBS_POINT_STAT_INPUT_DIR = {OUTPUT_BASE}/model_applications/precipitation
OBS_POINT_STAT_INPUT_TEMPLATE = {PB2NC_OUTPUT_TEMPLATE}


POINT_STAT_OUTPUT_DIR = {OUTPUT_BASE}/model_applications/precipitation
POINT_STAT_OUTPUT_PREFIX = gfs

MODEL = gfs

FCST_VAR1_NAME = CRAIN
FCST_VAR1_LEVELS = L0
FCST_VAR1_THRESH = >=1.0

OBS_VAR1_NAME = PRWE
OBS_VAR1_LEVELS = Z0
OBS_VAR1_THRESH = >=161&&<=163

FCST_VAR2_NAME = CSNOW
FCST_VAR2_LEVELS = L0
FCST_VAR2_THRESH = >=1.0

OBS_VAR2_NAME = PRWE
OBS_VAR2_LEVELS = Z0
OBS_VAR2_THRESH = >=171&&<=173

FCST_VAR3_NAME = CFRZR
FCST_VAR3_LEVELS = L0
FCST_VAR3_THRESH = >=1.0

OBS_VAR3_NAME = PRWE
OBS_VAR3_LEVELS = Z0
OBS_VAR3_THRESH = >=164&&<=166

FCST_VAR4_NAME = CICEP
FCST_VAR4_LEVELS = L0
FCST_VAR4_THRESH = >=1.0

OBS_VAR4_NAME = PRWE
OBS_VAR4_LEVELS = Z0
OBS_VAR4_THRESH = >=174&&<=176

OBS_POINT_STAT_WINDOW_BEGIN = -1800
OBS_POINT_STAT_WINDOW_END = 1800

POINT_STAT_MESSAGE_TYPE = ADPSFC

POINT_STAT_MASK_POLY = MET_BASE/poly/CONUS.poly

POINT_STAT_OUTPUT_FLAG_CTC = STAT
POINT_STAT_OUTPUT_FLAG_CTS = STAT

[gfsx_run]
MODEL = gfsx
FCST_POINT_STAT_INPUT_TEMPLATE= gfsx.t12z.pgrb2.0p25.f{lead?fmt=%3H}
POINT_STAT_OUTPUT_PREFIX = gfsx

[nam_run]
MODEL = nam
FCST_POINT_STAT_INPUT_TEMPLATE=nam.t12z.awip32{lead?fmt=%2H}.tm00.grib2
POINT_STAT_OUTPUT_PREFIX = nam