From 2bef75ae207c6f158e3ce92ed13d707a9467d05b Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 6 Nov 2023 15:41:09 -0600
Subject: [PATCH] snapshot...

---
 modules/icing/pireps.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/modules/icing/pireps.py b/modules/icing/pireps.py
index b4e63f4e..3250397f 100644
--- a/modules/icing/pireps.py
+++ b/modules/icing/pireps.py
@@ -72,13 +72,16 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-63, 63]):
             toks = line.split(',')
             if toks[0] == 'VALID':  # Skip headers (concatenated files)
                 continue
-            if len(toks) != 6:  # Check for line format error
+            # if len(toks) != 6:  # Check for line format error
+            if len(toks) != 9:  # Check for line format error
                 continue
 
             report = toks[3]
             try:
-                lat = float(toks[4])
-                lon = float(toks[5])
+                # lat = float(toks[4])
+                # lon = float(toks[5])
+                lat = float(toks[7])
+                lon = float(toks[8])
             except Exception:
                 continue
 
-- 
GitLab