Skip to content

Commit ed4404e

Browse files
author
ELY M
committed
55916-elys
1 parent bd14db2 commit ed4404e

File tree

3 files changed

+54
-46
lines changed

3 files changed

+54
-46
lines changed

app/src/main/java/joshuatee/wx/spc/SPCCompmapActivity.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ class SpcCompmapActivity : BaseActivity() {
5050

5151
@SuppressLint("MissingSuperCall")
5252
override fun onCreate(savedInstanceState: Bundle?) {
53-
super.onCreate(savedInstanceState, R.layout.activity_image_show_navdrawer, R.menu.shared_multigraphics, false)
53+
super.onCreate(
54+
savedInstanceState,
55+
R.layout.activity_image_show_navdrawer,
56+
R.menu.shared_multigraphics,
57+
false
58+
)
5459
setupUI()
5560
setupLayerString()
5661
getContent()
@@ -78,6 +83,7 @@ class SpcCompmapActivity : BaseActivity() {
7883

7984
private fun setupLayerString() {
8085
layerString = Utility.readPref(this, "SPCCOMPMAP_LAYERSTR", "a7:a19:") // mslp, hpc fronts
86+
layerString = layerString.replace("a3:", "")
8187
val items = layerString.split(":").dropLastWhile { it.isEmpty() }
8288
items.forEach {
8389
selectItemNoGet(To.int(it.replace("a", "")))

app/src/main/java/joshuatee/wx/spc/UtilitySPCCompmap.kt

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -54,52 +54,52 @@ internal object UtilitySpcCompmap {
5454
}
5555

5656
val labels = listOf(
57-
"IR satellite",
58-
"MAPS sea-level pressure (mb)",
59-
"2-meter temperature (F)",
60-
"2-meter dewpoint temperature (F)",
61-
"10m Wind Barbs",
62-
"CAPE/CINH",
63-
"HLCY/SHEAR",
64-
"3-hr surface pressure change",
65-
"Boundary layer moisture (mixing ratio) convergence",
66-
"K-Index and Precipitable Water (inches)",
67-
"12-hr Total Precipitation",
68-
"SFC OBS MAP",
69-
"Lapse rates 500-850mb",
70-
"850 WAA/WIND",
71-
"700 INFO",
72-
"700-500 mb layer average relative humidity",
73-
"500 mb height and absolute vorticity (dashed) field",
74-
"700-500 mb Upward Vertical Velocity",
75-
"300mb winds",
76-
"DAY 1 Outlook (94O)",
77-
"HPC Fronts (90F)",
78-
"HPC 6-hr QPF (92E)"
57+
"IR satellite",
58+
"MAPS sea-level pressure (mb)",
59+
"2-meter temperature (F)",
60+
"2-meter dewpoint temperature (F)",
61+
"10m Wind Barbs",
62+
"CAPE/CINH",
63+
"HLCY/SHEAR",
64+
// "3-hr surface pressure change",
65+
"Boundary layer moisture (mixing ratio) convergence",
66+
"K-Index and Precipitable Water (inches)",
67+
"12-hr Total Precipitation",
68+
"SFC OBS MAP",
69+
"Lapse rates 500-850mb",
70+
"850 WAA/WIND",
71+
"700 INFO",
72+
"700-500 mb layer average relative humidity",
73+
"500 mb height and absolute vorticity (dashed) field",
74+
"700-500 mb Upward Vertical Velocity",
75+
"300mb winds",
76+
"DAY 1 Outlook (94O)",
77+
"WPC Fronts (90F)",
78+
"WPC 6-hr QPF (92E)"
7979
)
8080

8181
val urlIndex = listOf(
82-
"16",
83-
"7",
84-
"1",
85-
"0",
86-
"8",
87-
"2",
88-
"21",
89-
"3",
90-
"4",
91-
"5",
92-
"6",
93-
"9",
94-
"10",
95-
"11",
96-
"12",
97-
"13",
98-
"14",
99-
"15",
100-
"17",
101-
"18",
102-
"19",
103-
"20"
82+
"16",
83+
"7",
84+
"1",
85+
"0",
86+
"8",
87+
"2",
88+
"21",
89+
// "3",
90+
"4",
91+
"5",
92+
"6",
93+
"9",
94+
"10",
95+
"11",
96+
"12",
97+
"13",
98+
"14",
99+
"15",
100+
"17",
101+
"18",
102+
"19",
103+
"20"
104104
)
105105
}

doc/ChangeLog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
# Developer ChangeLog
44

5-
## 55915 2024_09_28
5+
## 55915 2024_09_30
66

77
* [ADD] code changes to support changing how hourly is displayed to work better with larger fonts
88
* [ADD] In Hourly, abbreviate "Isolated" as "Iso"
9+
* [FIX] SPC Compmap - remove product which is no longer available via the website: **3-hr surface pressure change**
10+
* [FIX] SPC Compmap - change references from **HPC** to **WPC**
911

1012
## 55914 2024_09_28
1113

0 commit comments

Comments
 (0)