Enhance TC-Gen to parse GTWO shapefile lead times from the data rather than assuming them to be 2, 5, and 7 days #2552
Labels
MET: Tropical Cyclone Tools
priority: high
High Priority
requestor: NOAA/other
NOAA Laboratory, not otherwise specified
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
As reported by @halperin-erau, NOAA NHC has changed how it issues TC genesis probabilities in the NHC Graphical Tropical Weather Outlook (GTWO) area shapefiles, and TC-Gen should be modified to accommodate those changes. As of MET version 11.0.0, the TC-Gen tool assumes that the GTWO files always define 2, 5, and 7 day genesis probabilities, in that order. However, as of 15 May 2023, NHC now issues 2-day and 7-day genesis probabilities. The 5-day genesis probability has been discontinued.
The hard-coded setting can be seen on this line of code in the
tc_gen.h
header file. These lead time values listed in hours correspond to 2, 5, and 7 days.This task is to update the logic of
tc_gen.cc
somewhere around this line of code to also parse the number of days from the database file (.dbf) rather than assuming 2, 5, and 7 day probs.The
gis_dump_dbf
tool shows that the day values are included in the sub-recordfield_name
entries:Fixing this will require parsing the integer number of days from the
field_name
rather than just assuming the first is 2 days, second is 5 days, and third is 7 days.Time Estimate
1 day
Sub-Issues
Consider breaking the enhancement down into sub-issues.
None needed.
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.
No impacts.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development 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: