Skip to content

Commit

Permalink
GTC-2631 Don't export all points
Browse files Browse the repository at this point in the history
  • Loading branch information
manukala6 committed Feb 6, 2025
1 parent f2eb6a7 commit 0c07868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ object FireAlertsExport extends SummaryExport {
gadmDF.cache()

// only export all points for viirs gadm
/*
val twoYearsAgo = LocalDate.now().minusYears(2)
if (fireAlertType == "viirs") {
gadmDF
Expand All @@ -50,6 +51,7 @@ object FireAlertsExport extends SummaryExport {
.options (csvOptions)
.csv (path = outputUrl + "/all")
}
*/

exportChange(gadmDF, aggCol, outputUrl, numPartitions)
if (!changeOnly) {
Expand Down
5 changes: 4 additions & 1 deletion src/test/resources/sample-fire-alert.tsv
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
latitude longitude acq_date acq_time confidence brightness bright_t31 frp
40.115 -83.497 2021-03-08 1845 47 305.5 291.4 4.1
3.099 97.345 2022-02-06 1845 47 305.5 291.4 4.1
3.099 97.345 2023-02-06 1845 47 305.5 291.4 4.1
3.099 97.345 2024-02-06 1845 47 305.5 291.4 4.1
3.099 97.345 2025-02-06 1845 47 305.5 291.4 4.1

0 comments on commit 0c07868

Please sign in to comment.