Himawari只推送高置信度火点

This commit is contained in:
liuchengqian 2023-04-25 09:50:55 +08:00
parent a840b221a3
commit 37607bcbc1

View File

@ -23,8 +23,8 @@ public class FirePointFilterUtils {
public static DataWrapper2<Boolean, String> checkSatelliteType(String satelliteType, String confidence) {
if (satelliteType.startsWith("Himawari")) {
if ("L".equals(confidence)) {
return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收葵花低置信度火点");
if ("N".equals(confidence) || "L".equals(confidence)) {
return new DataWrapper2<>(Boolean.FALSE, "添加失败,不接收葵花8中低置信度火点");
}
}
return new DataWrapper2<>(Boolean.TRUE, "");