Fix API now using track
This commit is contained in:
parent
3ea653552e
commit
df47bef794
5 changed files with 13 additions and 4 deletions
|
|
@ -32,7 +32,9 @@ const findFiresInRegion = (zone) => {
|
|||
export const countRealFires = (firesCursor) => {
|
||||
const realFires = [];
|
||||
firesCursor.forEach((fire) => {
|
||||
if (debug) console.log(`${JSON.stringify(fire)} -----`);
|
||||
const union = firesUnion([fire]);
|
||||
if (debug) console.log(`${JSON.stringify(union)} -----`);
|
||||
const falsePos = whichAreFalsePositives(FalsePositives, union);
|
||||
const industries = whichAreFalsePositives(Industries, union);
|
||||
if (falsePos.count() === 0 && industries.count() === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue