diff --git a/styles/storm_cone_style.sld b/styles/storm_cone_style.sld new file mode 100644 index 0000000..a12e046 --- /dev/null +++ b/styles/storm_cone_style.sld @@ -0,0 +1,22 @@ + + + storm_cone_style + + storm_cone_style + storm_cone_style + + name + + storm_cone_style + + + #dbd8d6 + 0.3 + + + + + + + + diff --git a/styles/storm_points_style.sld b/styles/storm_points_style.sld new file mode 100644 index 0000000..29e99de --- /dev/null +++ b/styles/storm_points_style.sld @@ -0,0 +1,246 @@ + + + storm_points_style + + storm_points_style + storm_points_style + + name + + Cat1 Hurricane + + + SSNUM + 1 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + Cat2 Hurricane + + + SSNUM + 2 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + Cat3 Hurricane + + + SSNUM + 3 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + Cat4 Hurricane + + + SSNUM + 4 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + Cat5 Hurricane + + + SSNUM + 5 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + Tropical Depression + + + SSNUM + 0 + + + + + + + image/png + + + + + + DATELBL + + + Arial + 12 + normal + normal + + + + + 12 + 0 + + + + + #000000 + + + + + + + diff --git a/styles/storm_track_style.sld b/styles/storm_track_style.sld new file mode 100644 index 0000000..9f6b295 --- /dev/null +++ b/styles/storm_track_style.sld @@ -0,0 +1,24 @@ + + + storm_track_style + + storm_track_style + storm_track_style + + name + + storm track + + + #5e5d5d + round + 2 + 2 + 4.0 + + + + + + + diff --git a/terria_catalogV8DB.py b/terria_catalogV8DB.py index de80122..e30fae4 100644 --- a/terria_catalogV8DB.py +++ b/terria_catalogV8DB.py @@ -307,7 +307,7 @@ def getStormName(self, name): try: idx = name.index(srch_start_str) - start_idx = idx + len(srch_start_str) + 1 + start_idx = idx + len(srch_start_str) end_idx = name.index(srch_end_str) storm_name = name[start_idx:end_idx]