Skip to content

Commit 9066e6d

Browse files
Pull in nwpara/gfsv16.0.6 updates for parse-storm-type.pl
NCO reported "some JTWC tcvital missing in the gfs parallel run". The parse-storm-type.pl script was updated by Qingfu Liu to resolve issues and SPA Jen pulled it into the nwpara/gfsv16.0.6 install. Pulling the script update into our release branch to match nwpara. Refs: NOAA-EMC#1, NOAA-EMC#238
1 parent f53e3ca commit 9066e6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: ush/parse-storm-type.pl

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
while(defined($_=<>)) {
77
chomp;
8-
/^((?:NHC |JTWC) [0-59]\d[A-Z]) (\S+)\s+(.*\d\d\d\d\d\d\d\d \d\d\d\d.{34} .. .*)/ or do {
8+
/^((?:NHC |JTWC) [0-589]\d[A-Z]) (\S+)\s+(.*\d\d\d\d\d\d\d\d \d\d\d\d.{34} .. .*)/ or do {
99
warn "Ignoring invalid line: \"$_\"\n";
1010
next;
1111
};
@@ -19,7 +19,8 @@
1919
if(length($line)>=152) {
2020
$tctype=substr($_,150,2);
2121
} else {
22-
warn "MISSING STORM TYPE (ASSUME XX): $_\n";
22+
# warn "MISSING STORM TYPE (ASSUME XX): $_\n";
23+
warn "NO STORM TYPE: $_\n";
2324
}
2425
if($tctype =~ /DB|EX|LO|WV|XX/i) {
2526
warn "Ignoring line due to TC type $tctype: $_";

0 commit comments

Comments
 (0)