Implement various enhancements to climatology settings #1247
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
component: python wrapper
METplus: Configuration
priority: high
High Priority
requestor: NOAA/EMC
NOAA Environmental Modeling Center
required: FOR OFFICIAL RELEASE
Required to be completed in the official release for the assigned milestone
type: enhancement
Improve something that it is currently doing
Milestone
Various enhancements are needed to improve the logic for setting climatology variables in the climo_mean and climo_stdev dictionaries.
Describe the Enhancements
Setting the following:
GRID_STAT_CLIMO_MEAN_FIELD = {name="UGRD"; level=["P850","P500","P250"];}
Results in an improperly formatted value:
METPLUS_CLIMO_MEAN_DICT=climo_mean = {file_name = ["/scratch1/NCEPDEV/global/glopara/fix/fix_verif/climo_fi
les/cmean_1d.19591203"];field = [{name="UGRD"; level=["P850",P500,P250];}];}
Add a test for setting climo field info and enhance the logic to properly format a list of levels. Make sure the behavior works for all apps that use climatology variables.
It is often the case that the climatology field info is the same as the forecast field info. If <APP>_CLIMO_[MEAN/STDEV]_FIELD_NAME is not set, then the wrapper should check if <APP>_CLIMO_[MEAN/STDEV]_USE_[FCST/OBS] is set to True. Error out if both are True. If one is True, then use the field info from the appropriate input as the field info for the climo variable
Add optional <APP>_CLIMO_[MEAN/STDEV]_FILE_TYPE to set file_type in the appropriate climo dictionary -- this was implemented in PR #1353
Time Estimate
~1 day
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: