Alb138 commited on
Commit
ff908b0
·
verified ·
1 Parent(s): 4c5ecee

Inference bundle

Browse files
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags: [wildfire, forecasting, remote-sensing, indonesia, pytorch, lightgbm]
3
+ ---
4
+ # TitikApi inference bundle
5
+
6
+ Everything the daily [TitikApi](https://github.com/Alb138/titikapi) forecast needs that is fixed after
7
+ training: three U-Net members (PyTorch state dicts + configs), seven LightGBM boosters (one per lead
8
+ day), per-model Platt calibrations, the ensemble definitions (`ens_unet`, final `ens_mix`), static map
9
+ layers on the 0.1° grid over Sumatra & Kalimantan, the training statistics used to scale weather,
10
+ persistence rates, and locations of known gas flares / volcanoes used to clean near-real-time fire data.
11
+
12
+ Trained on 2012–2020, calibrated and selected on 2021–2022, tested on 2023 – Oct 2026 (see the repo for
13
+ results, limitations and how to reproduce). Code: https://github.com/Alb138/titikapi
arrays/clim.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9983584c34ac15833e4f6227bc2f8c274a8b18dc5a2abf6236716b7c36e00e2a
3
+ size 482428
arrays/forest_loss.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85ba0a09e5a67db0e4b5e96f52a1433733aa39eebacfe87db66a026b0e4aad1
3
+ size 3185128
arrays/loss_years.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5902e97f79bf3464210e50f1f40a1829c8d8b6532384a85a51216886170b9ea
3
+ size 178
arrays/mask.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a64b29946fc02121550d2170482613c6e79a5f99c6415d71c332541a8c787196
3
+ size 31978
arrays/province.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8e1ba57950580ead4bf42e5e9d5d04d735cc8ce70c083fef2def2513a11ab1e
3
+ size 9403
arrays/static.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32798a825fee81f0bb106599ba006c428683dea84e276eae2fdbb5f56c541a22
3
+ size 509728
arrays/stats.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "peat_frac": [
3
+ 0.09915067255496979,
4
+ 0.2473498284816742
5
+ ],
6
+ "elev_mean": [
7
+ 4.08867073059082,
8
+ 1.8541374206542969
9
+ ],
10
+ "elev_std": [
11
+ 3.225356340408325,
12
+ 1.5239741802215576
13
+ ],
14
+ "treecover2000": [
15
+ 70.11165618896484,
16
+ 28.241365432739258
17
+ ],
18
+ "t2m": [
19
+ 28.232145309448242,
20
+ 1.915622353553772
21
+ ],
22
+ "rh": [
23
+ 76.63631439208984,
24
+ 8.936442375183105
25
+ ],
26
+ "wind": [
27
+ 12.279190063476562,
28
+ 8.282295227050781
29
+ ],
30
+ "u10": [
31
+ -0.2187444418668747,
32
+ 3.0793673992156982
33
+ ],
34
+ "v10": [
35
+ 0.19911639392375946,
36
+ 2.712394952774048
37
+ ],
38
+ "pr": [
39
+ 1.6145246028900146,
40
+ 1.0286366939544678
41
+ ],
42
+ "dry_days": [
43
+ 1.2663289308547974,
44
+ 5.391463756561279
45
+ ],
46
+ "rain_7d": [
47
+ 3.5659103393554688,
48
+ 1.0649844408035278
49
+ ],
50
+ "rain_30d": [
51
+ 5.171990871429443,
52
+ 0.8527343273162842
53
+ ],
54
+ "rain_60d": [
55
+ 5.919004917144775,
56
+ 0.7433616518974304
57
+ ],
58
+ "rain_90d": [
59
+ 6.363197326660156,
60
+ 0.643293559551239
61
+ ],
62
+ "ffmc": [
63
+ 61.56029510498047,
64
+ 16.72067642211914
65
+ ],
66
+ "dmc": [
67
+ 1.4359627962112427,
68
+ 0.9196948409080505
69
+ ],
70
+ "dc": [
71
+ 3.471194267272949,
72
+ 1.3571422100067139
73
+ ],
74
+ "isi": [
75
+ 1.4881805181503296,
76
+ 1.9574837684631348
77
+ ],
78
+ "bui": [
79
+ 1.7450644969940186,
80
+ 0.9864077568054199
81
+ ],
82
+ "fwi": [
83
+ 0.6196099519729614,
84
+ 0.8276393413543701
85
+ ]
86
+ }
arrays/weather_lat.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d2090f0358e5a58ecb23ff3f704565629367ee6dd07decd3590f956cf67d1a2
3
+ size 348
arrays/weather_lon.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cf6ce2c415dc596d64a33f165babbf5814780882560e038af57c56395cb6932
3
+ size 532
meta.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "final_model": "ens_mix",
3
+ "unet_members": [
4
+ "unet_reg",
5
+ "unet_crop",
6
+ "unet_crop16"
7
+ ],
8
+ "splits": {
9
+ "train": [
10
+ "2012-01-20",
11
+ "2020-12-31"
12
+ ],
13
+ "val": [
14
+ "2021-01-01",
15
+ "2022-12-31"
16
+ ],
17
+ "test": [
18
+ "2023-01-01",
19
+ "2026-12-31"
20
+ ]
21
+ },
22
+ "live_sensor": "VIIRS NOAA-20 (S-NPP, the training sensor, retired 2026-11-02)",
23
+ "static_source_files": [
24
+ "viirs-jpss1_2019_Indonesia.csv",
25
+ "viirs-jpss1_2020_Indonesia.csv",
26
+ "viirs-jpss1_2021_Indonesia.csv",
27
+ "viirs-jpss1_2022_Indonesia.csv",
28
+ "viirs-jpss1_2023_Indonesia.csv",
29
+ "viirs-jpss1_2024_Indonesia.csv",
30
+ "viirs-jpss1_2025_Indonesia.csv",
31
+ "viirs-snpp_2012_Indonesia.csv",
32
+ "viirs-snpp_2013_Indonesia.csv",
33
+ "viirs-snpp_2014_Indonesia.csv",
34
+ "viirs-snpp_2015_Indonesia.csv",
35
+ "viirs-snpp_2016_Indonesia.csv",
36
+ "viirs-snpp_2017_Indonesia.csv",
37
+ "viirs-snpp_2018_Indonesia.csv",
38
+ "viirs-snpp_2019_Indonesia.csv",
39
+ "viirs-snpp_2020_Indonesia.csv",
40
+ "viirs-snpp_2021_Indonesia.csv",
41
+ "viirs-snpp_2022_Indonesia.csv",
42
+ "viirs-snpp_2023_Indonesia.csv",
43
+ "viirs-snpp_2024_Indonesia.csv",
44
+ "viirs-snpp_2025_Indonesia.csv",
45
+ "VIIRS_SNPP_SP_2026-01-01_5d.csv",
46
+ "VIIRS_SNPP_SP_2026-01-06_5d.csv",
47
+ "VIIRS_SNPP_SP_2026-01-11_5d.csv",
48
+ "VIIRS_SNPP_SP_2026-01-16_5d.csv",
49
+ "VIIRS_SNPP_SP_2026-01-21_5d.csv",
50
+ "VIIRS_SNPP_SP_2026-01-26_5d.csv",
51
+ "VIIRS_SNPP_SP_2026-01-31_5d.csv",
52
+ "VIIRS_SNPP_SP_2026-02-05_5d.csv",
53
+ "VIIRS_SNPP_SP_2026-02-10_5d.csv",
54
+ "VIIRS_SNPP_SP_2026-02-15_5d.csv",
55
+ "VIIRS_SNPP_SP_2026-02-20_5d.csv",
56
+ "VIIRS_SNPP_SP_2026-02-25_5d.csv",
57
+ "VIIRS_SNPP_SP_2026-03-02_5d.csv",
58
+ "VIIRS_SNPP_SP_2026-03-07_5d.csv",
59
+ "VIIRS_SNPP_SP_2026-03-12_5d.csv",
60
+ "VIIRS_SNPP_SP_2026-03-17_5d.csv",
61
+ "VIIRS_SNPP_SP_2026-03-22_5d.csv",
62
+ "VIIRS_SNPP_SP_2026-03-27_5d.csv",
63
+ "VIIRS_SNPP_SP_2026-04-01_5d.csv",
64
+ "VIIRS_SNPP_SP_2026-04-06_5d.csv",
65
+ "VIIRS_SNPP_SP_2026-04-11_5d.csv",
66
+ "VIIRS_SNPP_SP_2026-04-16_5d.csv",
67
+ "VIIRS_SNPP_SP_2026-04-21_5d.csv",
68
+ "VIIRS_SNPP_SP_2026-04-26_5d.csv",
69
+ "VIIRS_SNPP_SP_2026-05-01_5d.csv",
70
+ "VIIRS_SNPP_SP_2026-05-06_5d.csv",
71
+ "VIIRS_SNPP_SP_2026-05-11_5d.csv",
72
+ "VIIRS_SNPP_SP_2026-05-16_5d.csv",
73
+ "VIIRS_SNPP_SP_2026-05-21_5d.csv",
74
+ "VIIRS_SNPP_SP_2026-05-26_5d.csv",
75
+ "VIIRS_SNPP_SP_2026-05-31_5d.csv",
76
+ "VIIRS_SNPP_SP_2026-06-05_5d.csv",
77
+ "VIIRS_SNPP_SP_2026-06-10_5d.csv",
78
+ "VIIRS_SNPP_SP_2026-06-15_5d.csv",
79
+ "VIIRS_SNPP_SP_2026-06-20_5d.csv",
80
+ "VIIRS_SNPP_SP_2026-06-25_5d.csv",
81
+ "VIIRS_SNPP_SP_2026-06-30_5d.csv",
82
+ "VIIRS_SNPP_SP_2026-07-05_5d.csv",
83
+ "VIIRS_SNPP_SP_2026-07-10_5d.csv",
84
+ "VIIRS_SNPP_SP_2026-07-15_5d.csv",
85
+ "VIIRS_SNPP_SP_2026-07-20_5d.csv",
86
+ "VIIRS_SNPP_SP_2026-07-25_5d.csv",
87
+ "VIIRS_SNPP_SP_2026-07-30_2d.csv"
88
+ ]
89
+ }
models/ens_mix/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[1.1182490726196088, 0.5122989838333047], [1.0959773356297577, 0.42553617748897776], [1.086419098193381, 0.3884362545228893], [1.1018655887179725, 0.4601755289331297], [1.0869014698506878, 0.39666643613543373], [1.089604353773526, 0.41145401368978884], [1.0882148908777376, 0.4076563502802619]]
models/ens_mix/members.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ ens_unet
2
+ lgbm
models/ens_unet/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[0.9733219592622753, -0.13384553498801283], [0.9727581080780912, -0.1370835617878607], [0.973044306679429, -0.13857726105248233], [0.9730294286982375, -0.1401214259831149], [0.9728802900004777, -0.1420316361239569], [0.9729185365392643, -0.14324592383212761], [0.9726950949901919, -0.14305740705083328]]
models/ens_unet/members.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ unet_reg
2
+ unet_crop
3
+ unet_crop16
models/lgbm/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[0.7217244049042252, -1.3417477720146016], [0.7454308358983166, -1.3532594758781482], [0.8556897252197601, -1.0281561947618947], [1.128288914518079, -0.21578422644480535], [1.3100943480733218, 0.3764443355941296], [1.2784745120251664, 0.19126915893011803], [1.0801047228882135, -0.5053747898375399]]
models/lgbm/lead1.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead2.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead3.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead4.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead5.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead6.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/lgbm/lead7.txt ADDED
The diff for this file is too large to render. See raw diff
 
models/unet_crop/best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c8ba6987cc0af51f9726e25537b422c28f5840851b25ce7cc7f0d5e48db68c6
3
+ size 31120593
models/unet_crop/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[0.8385259926006294, -2.391933138376383], [0.7972814949009777, -2.5058951498962476], [0.8103635622272141, -2.503186882156032], [0.7872628617082673, -2.560451823768798], [0.7643596284481077, -2.6420908214167875], [0.7413057057152163, -2.6923533258465677], [0.7290695171643067, -2.760370829142717]]
models/unet_crop/config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": 16,
3
+ "batch_size": 8,
4
+ "lr": 0.001,
5
+ "weight_decay": 0.05,
6
+ "base": 32,
7
+ "depth": 4,
8
+ "dropout": 0.2,
9
+ "pos_weight": 8.0,
10
+ "patience": 6,
11
+ "workers": 2,
12
+ "amp": true,
13
+ "seed": 0,
14
+ "crop": 128
15
+ }
models/unet_crop16/best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a99798e3251aa9fcf06b2d69bcc94ca50e125a2acec03e6662ef1028b521947
3
+ size 7813521
models/unet_crop16/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[0.8458677799712366, -2.409816805016494], [0.8230590143999742, -2.531625789783188], [0.8162329730629965, -2.575219263960375], [0.8081937790017623, -2.6366589970874923], [0.8109663638292541, -2.6448292999574545], [0.782467520577129, -2.7304893196018005], [0.7706763970634124, -2.7557347927427123]]
models/unet_crop16/config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": 16,
3
+ "batch_size": 8,
4
+ "lr": 0.001,
5
+ "weight_decay": 0.05,
6
+ "base": 16,
7
+ "depth": 4,
8
+ "dropout": 0.2,
9
+ "pos_weight": 8.0,
10
+ "patience": 6,
11
+ "workers": 2,
12
+ "amp": true,
13
+ "seed": 0,
14
+ "crop": 128
15
+ }
models/unet_reg/best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7ccbcbadf794cf5cc31b7a2f48f630850c8e19a3850c91845d4c043ac6c2ee
3
+ size 31120593
models/unet_reg/calibration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ [[0.8972847475010518, -2.491251849383118], [0.8357366061493765, -2.6251948919742905], [0.8569916267597263, -2.646833238251864], [0.8061241654161447, -2.6748814111653703], [0.8059581770299573, -2.7351694913875617], [0.7906974434548337, -2.8133719100703916], [0.7592533680107667, -2.8557466786702044]]
models/unet_reg/config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epochs": 12,
3
+ "batch_size": 8,
4
+ "lr": 0.001,
5
+ "weight_decay": 0.05,
6
+ "base": 32,
7
+ "depth": 4,
8
+ "dropout": 0.2,
9
+ "pos_weight": 8.0,
10
+ "patience": 6,
11
+ "workers": 2,
12
+ "amp": true,
13
+ "seed": 0,
14
+ "crop": 0
15
+ }
persistence.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": [
3
+ 0.34190860390663147,
4
+ 0.07261241972446442,
5
+ 0.005351961124688387
6
+ ],
7
+ "2": [
8
+ 0.2830769419670105,
9
+ 0.07838185876607895,
10
+ 0.005905823316425085
11
+ ],
12
+ "3": [
13
+ 0.25354644656181335,
14
+ 0.08076698333024979,
15
+ 0.0062362197786569595
16
+ ],
17
+ "4": [
18
+ 0.2453107088804245,
19
+ 0.079609714448452,
20
+ 0.0065141902305185795
21
+ ],
22
+ "5": [
23
+ 0.2466723918914795,
24
+ 0.07669737190008163,
25
+ 0.00678311288356781
26
+ ],
27
+ "6": [
28
+ 0.22901450097560883,
29
+ 0.07730584591627121,
30
+ 0.007062460295855999
31
+ ],
32
+ "7": [
33
+ 0.21193329989910126,
34
+ 0.07826600968837738,
35
+ 0.007294517941772938
36
+ ]
37
+ }
static_sources.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e5bca4cba2a72f0373d1077f5ecd6efd203936a635ec1c7de3de725ecdb64c3
3
+ size 3227552