不接收葵花低置信度火点

This commit is contained in:
liuchengqian 2023-03-27 17:03:36 +08:00
parent ea09ef1fb5
commit ec1989cb80

View File

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