d-michail commited on
Commit
3a920f8
·
1 Parent(s): 21a8f28

Added more lam models

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lam_model_ckpts/firecastnet-cls-BONA-ts24-h1-config.yaml +184 -0
  2. lam_model_ckpts/firecastnet-cls-BONA-ts24-h1.ckpt +3 -0
  3. lam_model_ckpts/firecastnet-cls-BONA-ts24-h2-config.yaml +184 -0
  4. lam_model_ckpts/firecastnet-cls-BONA-ts24-h2.ckpt +3 -0
  5. lam_model_ckpts/firecastnet-cls-BONA-ts24-h24-config.yaml +218 -0
  6. lam_model_ckpts/firecastnet-cls-BONA-ts24-h24.ckpt +3 -0
  7. lam_model_ckpts/firecastnet-cls-BONA-ts24-h8-config.yaml +218 -0
  8. lam_model_ckpts/firecastnet-cls-BONA-ts24-h8.ckpt +3 -0
  9. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h1-config.yaml +218 -0
  10. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h1.ckpt +3 -0
  11. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h16-config.yaml +218 -0
  12. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h16.ckpt +3 -0
  13. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h2-config.yaml +218 -0
  14. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h2.ckpt +3 -0
  15. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h24-config.yaml +218 -0
  16. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h24.ckpt +3 -0
  17. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h4-config.yaml +218 -0
  18. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h4.ckpt +3 -0
  19. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h8-config.yaml +218 -0
  20. lam_model_ckpts/firecastnet-cls-CEAM-ts24-h8.ckpt +3 -0
  21. lam_model_ckpts/firecastnet-cls-EURO-ts24-h1-config.yaml +191 -0
  22. lam_model_ckpts/firecastnet-cls-EURO-ts24-h1.ckpt +3 -0
  23. lam_model_ckpts/firecastnet-cls-EURO-ts24-h16-config.yaml +191 -0
  24. lam_model_ckpts/firecastnet-cls-EURO-ts24-h16.ckpt +3 -0
  25. lam_model_ckpts/firecastnet-cls-EURO-ts24-h2-config.yaml +191 -0
  26. lam_model_ckpts/firecastnet-cls-EURO-ts24-h2.ckpt +3 -0
  27. lam_model_ckpts/firecastnet-cls-EURO-ts24-h24-config.yaml +191 -0
  28. lam_model_ckpts/firecastnet-cls-EURO-ts24-h24.ckpt +3 -0
  29. lam_model_ckpts/firecastnet-cls-EURO-ts24-h4-config.yaml +191 -0
  30. lam_model_ckpts/firecastnet-cls-EURO-ts24-h4.ckpt +3 -0
  31. lam_model_ckpts/firecastnet-cls-EURO-ts24-h8-config.yaml +191 -0
  32. lam_model_ckpts/firecastnet-cls-EURO-ts24-h8.ckpt +3 -0
  33. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h1-config.yaml +191 -0
  34. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h1.ckpt +3 -0
  35. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h16-config.yaml +191 -0
  36. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h16.ckpt +3 -0
  37. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h2-config.yaml +191 -0
  38. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h2.ckpt +3 -0
  39. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h24-config.yaml +191 -0
  40. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h24.ckpt +3 -0
  41. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h4-config.yaml +191 -0
  42. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h4.ckpt +3 -0
  43. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h8-config.yaml +191 -0
  44. lam_model_ckpts/firecastnet-cls-MIDE-ts24-h8.ckpt +3 -0
  45. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h1-config.yaml +191 -0
  46. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h1.ckpt +3 -0
  47. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h16-config.yaml +191 -0
  48. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h16.ckpt +3 -0
  49. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h2-config.yaml +191 -0
  50. lam_model_ckpts/firecastnet-cls-NHAF-ts24-h2.ckpt +3 -0
lam_model_ckpts/firecastnet-cls-BONA-ts24-h1-config.yaml ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: './'
13
+ callbacks:
14
+ - class_path: lightning.pytorch.callbacks.ModelSummary
15
+ init_args:
16
+ max_depth: 3
17
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
18
+ init_args:
19
+ logging_interval: 'epoch'
20
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
21
+ init_args:
22
+ save_last: true
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ mode: 'max'
26
+ monitor: 'val_auprc'
27
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
28
+ - class_path: seasfire.callbacks.DGLGraphToDevice
29
+ fast_dev_run: false
30
+ max_epochs: 50
31
+ min_epochs: null
32
+ max_steps: -1
33
+ min_steps: null
34
+ max_time: null
35
+ limit_train_batches: null
36
+ limit_val_batches: null
37
+ limit_test_batches: null
38
+ limit_predict_batches: null
39
+ overfit_batches: 0.0
40
+ val_check_interval: null
41
+ check_val_every_n_epoch: 1
42
+ num_sanity_val_steps: 1
43
+ log_every_n_steps: null
44
+ enable_checkpointing: null
45
+ enable_progress_bar: null
46
+ enable_model_summary: null
47
+ accumulate_grad_batches: 1
48
+ gradient_clip_val: 0.5
49
+ gradient_clip_algorithm: 'norm'
50
+ deterministic: null
51
+ benchmark: null
52
+ inference_mode: true
53
+ use_distributed_sampler: true
54
+ profiler: null
55
+ detect_anomaly: false
56
+ barebones: false
57
+ plugins: null
58
+ sync_batchnorm: false
59
+ reload_dataloaders_every_n_epochs: 0
60
+ default_root_dir: null
61
+ model:
62
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
63
+ init_args:
64
+ icospheres_graph_path: final_icospheres/icosphere_s3_BONA_6u.json
65
+ sp_res: 0.250
66
+ max_lat: 89.875
67
+ min_lat: -89.875
68
+ max_lon: 179.875
69
+ min_lon: -179.875
70
+ lat_lon_static_data: true
71
+ timeseries_len: 24
72
+ embed_cube: true
73
+ embed_cube_width: 4
74
+ embed_cube_height: 4
75
+ embed_cube_time: 24
76
+ embed_cube_dim: 64
77
+ embed_cube_layer_norm: true
78
+ embed_cube_vit_enable: false
79
+ embed_cube_vit_patch_size: 36
80
+ embed_cube_vit_dim: 64
81
+ embed_cube_vit_mlp_dim: 64
82
+ embed_cube_vit_depth: 1
83
+ embed_cube_vit_heads: 4
84
+ embed_cube_ltae_enable: false
85
+ embed_cube_ltae_num_heads: 4
86
+ embed_cube_ltae_d_k: 16
87
+ embed_cube_sp_res: 1.0
88
+ embed_cube_max_lat: 89.5
89
+ embed_cube_min_lat: -89.5
90
+ embed_cube_max_lon: 179.5
91
+ embed_cube_min_lon: -179.5
92
+ input_dim_grid_nodes: 11
93
+ output_dim_grid_nodes: 16
94
+ input_dim_mesh_nodes: 3
95
+ input_dim_edges: 4
96
+ processor_layers: 12
97
+ hidden_layers: 1
98
+ hidden_dim: 64
99
+ aggregation: sum
100
+ norm_type: LayerNorm
101
+ do_concat_trick: false
102
+ regression_loss: mse
103
+ cube_path: "cube.zarr"
104
+ gfed_region_enable_loss_weighting: true
105
+ gfed_region_var_name: "gfed_region"
106
+ gfed_region_weights:
107
+ OCEAN: 0.0
108
+ BONA: 1.0
109
+ TENA: 0.0
110
+ CEAM: 0.0
111
+ NHSA: 0.0
112
+ SHSA: 0.0
113
+ EURO: 0.0
114
+ MIDE: 0.0
115
+ NHAF: 0.0
116
+ SHAF: 0.0
117
+ BOAS: 0.0
118
+ CEAS: 0.0
119
+ SEAS: 0.0
120
+ EQAS: 0.0
121
+ AUST: 0.0
122
+ val_gfed_regions:
123
+ - BONA
124
+ test_gfed_regions:
125
+ - BONA
126
+ lsm_filter_enable: true
127
+ lsm_var_name: "lsm"
128
+ lsm_threshold: 0.1
129
+ lr: 0.001
130
+ weight_decay: 0.00000001
131
+ optimizer_apex: false
132
+ optimizer_fused: true
133
+ display_model_example: false
134
+ display_model_example_precision: null
135
+ data:
136
+ cube_path: "cube.zarr"
137
+ input_vars:
138
+ - mslp
139
+ - tp
140
+ - vpd
141
+ - sst
142
+ - t2m_mean
143
+ - ssrd
144
+ - swvl1
145
+ - lst_day
146
+ - ndvi
147
+ - pop_dens
148
+ static_vars:
149
+ - lsm
150
+ generate_only_positive_samples: true
151
+ oci_enabled: false
152
+ oci_input_vars:
153
+ - oci_censo
154
+ - oci_ea
155
+ - oci_epo
156
+ - oci_gmsst
157
+ - oci_nao
158
+ - oci_nina34_anom
159
+ - oci_pdo
160
+ - oci_pna
161
+ - oci_soi
162
+ - oci_wp
163
+ oci_lag: 14
164
+ log_preprocess_input_vars:
165
+ - tp
166
+ - pop_dens
167
+ target_var: gwis_ba
168
+ target_shift: 1
169
+ target_var_per_area: false
170
+ target_var_log_process: false
171
+ timeseries_weeks: 24
172
+ lat_dim: null
173
+ lon_dim: null
174
+ lat_dim_overlap: null
175
+ lon_dim_overlap: null
176
+ time_dim_overlap: null
177
+ task: classification
178
+ batch_size: 1
179
+ num_workers: 2
180
+ pin_memory: false
181
+ load_cube_in_memory: false
182
+ train_random_sample: null
183
+ mean_std_dict_prefix: "cube"
184
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-BONA-ts24-h1.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30562d3503e2097f8381a67ebc7f3f3233f9cf5f124b069556727fe9a547529e
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-BONA-ts24-h2-config.yaml ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: './'
13
+ callbacks:
14
+ - class_path: lightning.pytorch.callbacks.ModelSummary
15
+ init_args:
16
+ max_depth: 3
17
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
18
+ init_args:
19
+ logging_interval: 'epoch'
20
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
21
+ init_args:
22
+ save_last: true
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ mode: 'max'
26
+ monitor: 'val_auprc'
27
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
28
+ - class_path: seasfire.callbacks.DGLGraphToDevice
29
+ fast_dev_run: false
30
+ max_epochs: 50
31
+ min_epochs: null
32
+ max_steps: -1
33
+ min_steps: null
34
+ max_time: null
35
+ limit_train_batches: null
36
+ limit_val_batches: null
37
+ limit_test_batches: null
38
+ limit_predict_batches: null
39
+ overfit_batches: 0.0
40
+ val_check_interval: null
41
+ check_val_every_n_epoch: 1
42
+ num_sanity_val_steps: 1
43
+ log_every_n_steps: null
44
+ enable_checkpointing: null
45
+ enable_progress_bar: null
46
+ enable_model_summary: null
47
+ accumulate_grad_batches: 1
48
+ gradient_clip_val: 0.5
49
+ gradient_clip_algorithm: 'norm'
50
+ deterministic: null
51
+ benchmark: null
52
+ inference_mode: true
53
+ use_distributed_sampler: true
54
+ profiler: null
55
+ detect_anomaly: false
56
+ barebones: false
57
+ plugins: null
58
+ sync_batchnorm: false
59
+ reload_dataloaders_every_n_epochs: 0
60
+ default_root_dir: null
61
+ model:
62
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
63
+ init_args:
64
+ icospheres_graph_path: final_icospheres/icosphere_s3_BONA_6u.json
65
+ sp_res: 0.250
66
+ max_lat: 89.875
67
+ min_lat: -89.875
68
+ max_lon: 179.875
69
+ min_lon: -179.875
70
+ lat_lon_static_data: true
71
+ timeseries_len: 24
72
+ embed_cube: true
73
+ embed_cube_width: 4
74
+ embed_cube_height: 4
75
+ embed_cube_time: 24
76
+ embed_cube_dim: 64
77
+ embed_cube_layer_norm: true
78
+ embed_cube_vit_enable: false
79
+ embed_cube_vit_patch_size: 36
80
+ embed_cube_vit_dim: 64
81
+ embed_cube_vit_mlp_dim: 64
82
+ embed_cube_vit_depth: 1
83
+ embed_cube_vit_heads: 4
84
+ embed_cube_ltae_enable: false
85
+ embed_cube_ltae_num_heads: 4
86
+ embed_cube_ltae_d_k: 16
87
+ embed_cube_sp_res: 1.0
88
+ embed_cube_max_lat: 89.5
89
+ embed_cube_min_lat: -89.5
90
+ embed_cube_max_lon: 179.5
91
+ embed_cube_min_lon: -179.5
92
+ input_dim_grid_nodes: 11
93
+ output_dim_grid_nodes: 16
94
+ input_dim_mesh_nodes: 3
95
+ input_dim_edges: 4
96
+ processor_layers: 12
97
+ hidden_layers: 1
98
+ hidden_dim: 64
99
+ aggregation: sum
100
+ norm_type: LayerNorm
101
+ do_concat_trick: false
102
+ regression_loss: mse
103
+ cube_path: "cube.zarr"
104
+ gfed_region_enable_loss_weighting: true
105
+ gfed_region_var_name: "gfed_region"
106
+ gfed_region_weights:
107
+ OCEAN: 0.0
108
+ BONA: 1.0
109
+ TENA: 0.0
110
+ CEAM: 0.0
111
+ NHSA: 0.0
112
+ SHSA: 0.0
113
+ EURO: 0.0
114
+ MIDE: 0.0
115
+ NHAF: 0.0
116
+ SHAF: 0.0
117
+ BOAS: 0.0
118
+ CEAS: 0.0
119
+ SEAS: 0.0
120
+ EQAS: 0.0
121
+ AUST: 0.0
122
+ val_gfed_regions:
123
+ - BONA
124
+ test_gfed_regions:
125
+ - BONA
126
+ lsm_filter_enable: true
127
+ lsm_var_name: "lsm"
128
+ lsm_threshold: 0.1
129
+ lr: 0.001
130
+ weight_decay: 0.00000001
131
+ optimizer_apex: false
132
+ optimizer_fused: true
133
+ display_model_example: false
134
+ display_model_example_precision: null
135
+ data:
136
+ cube_path: "cube.zarr"
137
+ input_vars:
138
+ - mslp
139
+ - tp
140
+ - vpd
141
+ - sst
142
+ - t2m_mean
143
+ - ssrd
144
+ - swvl1
145
+ - lst_day
146
+ - ndvi
147
+ - pop_dens
148
+ static_vars:
149
+ - lsm
150
+ generate_only_positive_samples: true
151
+ oci_enabled: false
152
+ oci_input_vars:
153
+ - oci_censo
154
+ - oci_ea
155
+ - oci_epo
156
+ - oci_gmsst
157
+ - oci_nao
158
+ - oci_nina34_anom
159
+ - oci_pdo
160
+ - oci_pna
161
+ - oci_soi
162
+ - oci_wp
163
+ oci_lag: 14
164
+ log_preprocess_input_vars:
165
+ - tp
166
+ - pop_dens
167
+ target_var: gwis_ba
168
+ target_shift: 2
169
+ target_var_per_area: false
170
+ target_var_log_process: false
171
+ timeseries_weeks: 24
172
+ lat_dim: null
173
+ lon_dim: null
174
+ lat_dim_overlap: null
175
+ lon_dim_overlap: null
176
+ time_dim_overlap: null
177
+ task: classification
178
+ batch_size: 1
179
+ num_workers: 2
180
+ pin_memory: false
181
+ load_cube_in_memory: false
182
+ train_random_sample: null
183
+ mean_std_dict_prefix: "cube"
184
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-BONA-ts24-h2.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7adf83feac503c14a6d353a033950be88ae643998ae49a05345de6113555667c
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-BONA-ts24-h24-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-BONA-ts24-h24
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_BONA_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 1.0
140
+ TENA: 0.0
141
+ CEAM: 0.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - BONA
155
+ test_gfed_regions:
156
+ - BONA
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 24
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-BONA-ts24-h24/version_0/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-BONA-ts24-h24.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29c41f1acd45b75aa0d9d68487ff2cf256202479d441610e332c6bcd5ddba26e
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-BONA-ts24-h8-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-BONA-ts24-h8
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_BONA_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 1.0
140
+ TENA: 0.0
141
+ CEAM: 0.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - BONA
155
+ test_gfed_regions:
156
+ - BONA
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 8
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-BONA-ts24-h8/version_8/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-BONA-ts24-h8.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:482fc88b0c66d69e80e30e6458003681735069b9a3eb4995485236f7e835ffa4
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h1-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h1
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 1
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h1/version_8/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h1.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd3cce0807860f2074573ea2a70a1604f3f620cd34dcd73a37eb3fe1ce13dd83
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h16-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h16
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 16
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h16/version_9/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h16.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21a0002da9a96d4a37c2d93266e6a5c6fd90d89f43cf0ece2c89a83fed160678
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h2-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h2
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 2
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h2/version_7/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h2.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e47534513256ee13c26b80d3a4877639a130352f296e5a291c2f1078ce08456b
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h24-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h24
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 24
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h24/version_9/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h24.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d377e3b2d7d7587d7f2ba591a0503433f92cda05513b573a2545a90ac65a6fc
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h4-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h4
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 4
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h4/version_4/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h4.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65d715e8e4cd8d3bde9611e48978f2cf65ce492bc79d70fde513156fddfd065c
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h8-config.yaml ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.5.1.post0
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ - class_path: lightning.pytorch.loggers.CSVLogger
11
+ init_args:
12
+ save_dir: ./
13
+ name: firecastnet-cls-CEAM-ts24-h8
14
+ version: null
15
+ prefix: ''
16
+ flush_logs_every_n_steps: 100
17
+ callbacks:
18
+ - class_path: lightning.pytorch.callbacks.ModelSummary
19
+ init_args:
20
+ max_depth: 3
21
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
22
+ init_args:
23
+ logging_interval: epoch
24
+ log_momentum: false
25
+ log_weight_decay: false
26
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
27
+ init_args:
28
+ dirpath: null
29
+ filename: null
30
+ monitor: null
31
+ verbose: false
32
+ save_last: true
33
+ save_top_k: 1
34
+ save_weights_only: false
35
+ mode: min
36
+ auto_insert_metric_name: true
37
+ every_n_train_steps: null
38
+ train_time_interval: null
39
+ every_n_epochs: null
40
+ save_on_train_epoch_end: null
41
+ enable_version_counter: true
42
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
43
+ init_args:
44
+ dirpath: null
45
+ filename: '{epoch:03d}-{val_loss:.4f}-{val_auprc:.3f}'
46
+ monitor: val_auprc
47
+ verbose: false
48
+ save_last: null
49
+ save_top_k: 1
50
+ save_weights_only: false
51
+ mode: max
52
+ auto_insert_metric_name: true
53
+ every_n_train_steps: null
54
+ train_time_interval: null
55
+ every_n_epochs: null
56
+ save_on_train_epoch_end: null
57
+ enable_version_counter: true
58
+ - class_path: seasfire.callbacks.DGLGraphToDevice
59
+ fast_dev_run: false
60
+ max_epochs: 40
61
+ min_epochs: null
62
+ max_steps: -1
63
+ min_steps: null
64
+ max_time: null
65
+ limit_train_batches: null
66
+ limit_val_batches: null
67
+ limit_test_batches: null
68
+ limit_predict_batches: null
69
+ overfit_batches: 0.0
70
+ val_check_interval: null
71
+ check_val_every_n_epoch: 1
72
+ num_sanity_val_steps: 1
73
+ log_every_n_steps: null
74
+ enable_checkpointing: null
75
+ enable_progress_bar: null
76
+ enable_model_summary: null
77
+ accumulate_grad_batches: 1
78
+ gradient_clip_val: 0.5
79
+ gradient_clip_algorithm: norm
80
+ deterministic: null
81
+ benchmark: null
82
+ inference_mode: true
83
+ use_distributed_sampler: true
84
+ profiler: null
85
+ detect_anomaly: false
86
+ barebones: false
87
+ plugins: null
88
+ sync_batchnorm: false
89
+ reload_dataloaders_every_n_epochs: 0
90
+ default_root_dir: null
91
+ model_registry: null
92
+ model:
93
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
94
+ init_args:
95
+ icospheres_graph_path: final_icospheres/icosphere_s3_CEAM_6u.json
96
+ sp_res: 0.25
97
+ max_lat: 89.875
98
+ min_lat: -89.875
99
+ max_lon: 179.875
100
+ min_lon: -179.875
101
+ lat_lon_static_data: true
102
+ embed_cube: true
103
+ embed_cube_width: 4
104
+ embed_cube_height: 4
105
+ embed_cube_time: 24
106
+ embed_cube_dim: 64
107
+ embed_cube_layer_norm: true
108
+ embed_cube_vit_enable: false
109
+ embed_cube_vit_patch_size: 36
110
+ embed_cube_vit_dim: 64
111
+ embed_cube_vit_depth: 1
112
+ embed_cube_vit_heads: 4
113
+ embed_cube_vit_mlp_dim: 64
114
+ embed_cube_ltae_enable: false
115
+ embed_cube_ltae_num_heads: 4
116
+ embed_cube_ltae_d_k: 16
117
+ embed_cube_sp_res: 1.0
118
+ embed_cube_max_lat: 89.5
119
+ embed_cube_min_lat: -89.5
120
+ embed_cube_max_lon: 179.5
121
+ embed_cube_min_lon: -179.5
122
+ timeseries_len: 24
123
+ input_dim_grid_nodes: 11
124
+ output_dim_grid_nodes: 16
125
+ input_dim_mesh_nodes: 3
126
+ input_dim_edges: 4
127
+ processor_layers: 12
128
+ hidden_layers: 1
129
+ hidden_dim: 64
130
+ aggregation: sum
131
+ norm_type: LayerNorm
132
+ do_concat_trick: false
133
+ regression_loss: mse
134
+ cube_path: cube.zarr
135
+ gfed_region_enable_loss_weighting: true
136
+ gfed_region_var_name: gfed_region
137
+ gfed_region_weights:
138
+ OCEAN: 0.0
139
+ BONA: 0.0
140
+ TENA: 0.0
141
+ CEAM: 1.0
142
+ NHSA: 0.0
143
+ SHSA: 0.0
144
+ EURO: 0.0
145
+ MIDE: 0.0
146
+ NHAF: 0.0
147
+ SHAF: 0.0
148
+ BOAS: 0.0
149
+ CEAS: 0.0
150
+ SEAS: 0.0
151
+ EQAS: 0.0
152
+ AUST: 0.0
153
+ val_gfed_regions:
154
+ - CEAM
155
+ test_gfed_regions:
156
+ - CEAM
157
+ lsm_filter_enable: true
158
+ lsm_var_name: lsm
159
+ lsm_threshold: 0.1
160
+ lr: 0.001
161
+ weight_decay: 1.0e-08
162
+ max_epochs: 100
163
+ optimizer_apex: false
164
+ optimizer_fused: true
165
+ display_model_example: false
166
+ display_model_example_precision: null
167
+ data:
168
+ cube_path: cube.zarr
169
+ input_vars:
170
+ - mslp
171
+ - tp
172
+ - vpd
173
+ - sst
174
+ - t2m_mean
175
+ - ssrd
176
+ - swvl1
177
+ - lst_day
178
+ - ndvi
179
+ - pop_dens
180
+ static_vars:
181
+ - lsm
182
+ generate_only_positive_samples: true
183
+ oci_enabled: false
184
+ oci_input_vars:
185
+ - oci_censo
186
+ - oci_ea
187
+ - oci_epo
188
+ - oci_gmsst
189
+ - oci_nao
190
+ - oci_nina34_anom
191
+ - oci_pdo
192
+ - oci_pna
193
+ - oci_soi
194
+ - oci_wp
195
+ oci_lag: 14
196
+ log_preprocess_input_vars:
197
+ - tp
198
+ - pop_dens
199
+ target_var: gwis_ba
200
+ target_shift: 8
201
+ target_var_per_area: false
202
+ target_var_log_process: false
203
+ timeseries_weeks: 24
204
+ lat_dim: null
205
+ lon_dim: null
206
+ lat_dim_overlap: null
207
+ lon_dim_overlap: null
208
+ time_dim_overlap: null
209
+ task: classification
210
+ batch_size: 1
211
+ num_workers: 2
212
+ pin_memory: false
213
+ load_cube_in_memory: false
214
+ train_random_sample: null
215
+ mean_std_dict_prefix: cube
216
+ optimizer: null
217
+ lr_scheduler: null
218
+ ckpt_path: firecastnet-cls-CEAM-ts24-h8/version_6/checkpoints/last.ckpt
lam_model_ckpts/firecastnet-cls-CEAM-ts24-h8.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:538e2b3b95a6ab0bd19dc14da9dfbba1db152a745248c59211be86acbfa52f0d
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h1-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 1
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h1.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51ed8d5f3aeca9978eca41bec87af8271f1a2afd4ed5a0782fd8854fdf843788
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h16-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 16
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h16.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1389e242343ac47aeee3e5b9a94f30f1c588377b5ed257796010a9d6b2a6e684
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h2-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 2
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h2.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14e147347d838021a6e72f09953f16f24b6f35f2dfccb0dfcdb9422c6055f800
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h24-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 24
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h24.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de397b94948a36a4fd2bc2cef321764b69b5bac1b1e5393ec7056ae10fd92905
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h4-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 4
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h4.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:814f693b9eca141377eeb6c3d63cfd6dc811dfc044e6ed7cbeabf9ab38f565b1
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-EURO-ts24-h8-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/EURO
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/EURO/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_EURO_6u_layers.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ EURO: 1.0
120
+ SHSA: 0.0
121
+ MIDE: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - EURO
131
+ test_gfed_regions:
132
+ - EURO
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 8
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-EURO-ts24-h8.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfac1c224d2230548505583e36c7702a1888e5ee1b42f254f66526abceada5e0
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h1-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 1
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h1.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8986b3c8ea0ffcb7e192405c9d1adb3664ef01dba6778f34bb961dc23b5b4551
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h16-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 16
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h16.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1016e1877e6528440a0189c41b6557fb17c1642729ec428998197fcc40334485
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h2-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 2
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h2.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1109eb4440cc746d3f724d214a201317efb35b91e575c76f948dcf3b25f046f1
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h24-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 24
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h24.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ced9fbfb4a046832fc8abb2963f7c036e201c437634ec6eab77323ab277d4895
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h4-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 4
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h4.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f7b788ae724e8866a4c0fd924ba1e1ba6526a8dfb9a543f82a1be224615efca
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h8-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/MIDE
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/MIDE/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_MIDE_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ MIDE: 1.0
120
+ EURO: 0.0
121
+ SHSA: 0.0
122
+ NHAF: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - MIDE
131
+ test_gfed_regions:
132
+ - MIDE
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 8
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-MIDE-ts24-h8.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f2f2231fe31f34f85da67f8a1b03efc7da5948e200668c4374b22b6ebe5e416
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h1-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/NHAF
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_NHAF_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ NHAF: 1.0
120
+ EURO: 0.0
121
+ MIDE: 0.0
122
+ SHSA: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - NHAF
131
+ test_gfed_regions:
132
+ - NHAF
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 1
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h1.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94af5d93f4f3d14a8d7828e13d19c872865e88011d78860acc6cad6c95e9288f
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h16-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/NHAF
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_NHAF_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ NHAF: 1.0
120
+ EURO: 0.0
121
+ MIDE: 0.0
122
+ SHSA: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - NHAF
131
+ test_gfed_regions:
132
+ - NHAF
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 16
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h16.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:febaa70a8857d352f09f5be70da093ffd7c92ff7e2e51543a8b0449a2e9d002f
3
+ size 114511767
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h2-config.yaml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.1
2
+ seed_everything: 17
3
+ trainer:
4
+ accelerator: auto
5
+ strategy: auto
6
+ devices: auto
7
+ num_nodes: 1
8
+ precision: null
9
+ default_root_dir: ./lightning_logs/local_firecastnet/NHAF
10
+ logger:
11
+ - class_path: lightning.pytorch.loggers.WandbLogger
12
+ init_args:
13
+ project: local_firecastnet
14
+ log_model: all
15
+ save_dir: ./lightning_logs
16
+ callbacks:
17
+ - class_path: lightning.pytorch.callbacks.ModelSummary
18
+ init_args:
19
+ max_depth: 3
20
+ - class_path: lightning.pytorch.callbacks.LearningRateMonitor
21
+ init_args:
22
+ logging_interval: 'epoch'
23
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
24
+ init_args:
25
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
26
+ filename: last
27
+ save_last: true
28
+ save_top_k: 0 # we’re only using this one to keep track of last
29
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
30
+ init_args:
31
+ dirpath: ./lightning_logs/local_firecastnet/NHAF/checkpoints
32
+ filename: '{epoch:03d}-{val_auprc:.4f}'
33
+ monitor: val_auprc
34
+ mode: max
35
+ save_top_k: 1
36
+ - class_path: seasfire.callbacks.DGLGraphToDevice
37
+ fast_dev_run: false
38
+ max_epochs: 50
39
+ min_epochs: null
40
+ max_steps: -1
41
+ min_steps: null
42
+ limit_train_batches: null
43
+ max_time: null
44
+ limit_val_batches: null
45
+ limit_test_batches: null
46
+ limit_predict_batches: null
47
+ overfit_batches: 0.0
48
+ val_check_interval: null
49
+ check_val_every_n_epoch: 1
50
+ num_sanity_val_steps: 1
51
+ log_every_n_steps: null
52
+ enable_checkpointing: null
53
+ enable_progress_bar: null
54
+ enable_model_summary: null
55
+ accumulate_grad_batches: 1
56
+ gradient_clip_val: 0.5
57
+ gradient_clip_algorithm: 'norm'
58
+ deterministic: null
59
+ benchmark: null
60
+ inference_mode: true
61
+ use_distributed_sampler: true
62
+ profiler: null
63
+ detect_anomaly: false
64
+ barebones: false
65
+ plugins: null
66
+ sync_batchnorm: false
67
+ reload_dataloaders_every_n_epochs: 0
68
+ model:
69
+ class_path: seasfire.firecastnet_lit.FireCastNetLit
70
+ init_args:
71
+ icospheres_graph_path: icospheres-lam/icospheres/icosphere_s3_NHAF_6u.json.gz
72
+ sp_res: 0.250
73
+ max_lat: 89.875
74
+ min_lat: -89.875
75
+ max_lon: 179.875
76
+ min_lon: -179.875
77
+ lat_lon_static_data: true
78
+ timeseries_len: 24
79
+ embed_cube: true
80
+ embed_cube_width: 4
81
+ embed_cube_height: 4
82
+ embed_cube_time: 24
83
+ embed_cube_dim: 64
84
+ embed_cube_layer_norm: true
85
+ embed_cube_vit_enable: false
86
+ embed_cube_vit_patch_size: 36
87
+ embed_cube_vit_dim: 64
88
+ embed_cube_vit_mlp_dim: 64
89
+ embed_cube_vit_depth: 1
90
+ embed_cube_vit_heads: 4
91
+ embed_cube_ltae_enable: false
92
+ embed_cube_ltae_num_heads: 4
93
+ embed_cube_ltae_d_k: 16
94
+ embed_cube_sp_res: 1.0
95
+ embed_cube_max_lat: 89.5
96
+ embed_cube_min_lat: -89.5
97
+ embed_cube_max_lon: 179.5
98
+ embed_cube_min_lon: -179.5
99
+ input_dim_grid_nodes: 11
100
+ output_dim_grid_nodes: 16
101
+ input_dim_mesh_nodes: 3
102
+ input_dim_edges: 4
103
+ processor_layers: 12
104
+ hidden_layers: 1
105
+ hidden_dim: 64
106
+ aggregation: sum
107
+ norm_type: LayerNorm
108
+ do_concat_trick: false
109
+ regression_loss: mse
110
+ cube_path: "../cube_v3.zarr"
111
+ gfed_region_enable_loss_weighting: true
112
+ gfed_region_var_name: "gfed_region"
113
+ gfed_region_weights:
114
+ OCEAN: 0.0
115
+ BONA: 0.0
116
+ TENA: 0.0
117
+ CEAM: 0.0
118
+ NHSA: 0.0
119
+ NHAF: 1.0
120
+ EURO: 0.0
121
+ MIDE: 0.0
122
+ SHSA: 0.0
123
+ SHAF: 0.0
124
+ BOAS: 0.0
125
+ CEAS: 0.0
126
+ SEAS: 0.0
127
+ EQAS: 0.0
128
+ AUST: 0.0
129
+ val_gfed_regions:
130
+ - NHAF
131
+ test_gfed_regions:
132
+ - NHAF
133
+ lsm_filter_enable: true
134
+ lsm_var_name: "lsm"
135
+ lsm_threshold: 0.1
136
+ lr: 0.001
137
+ weight_decay: 0.00000001
138
+ optimizer_apex: false
139
+ optimizer_fused: true
140
+ display_model_example: false
141
+ display_model_example_precision: null
142
+ data:
143
+ cube_path: "../cube_v3.zarr"
144
+ input_vars:
145
+ - mslp
146
+ - tp
147
+ - vpd
148
+ - sst
149
+ - t2m_mean
150
+ - ssrd
151
+ - swvl1
152
+ - lst_day
153
+ - ndvi
154
+ - pop_dens
155
+ static_vars:
156
+ - lsm
157
+ generate_only_positive_samples: true
158
+ oci_enabled: false
159
+ oci_input_vars:
160
+ - oci_censo
161
+ - oci_ea
162
+ - oci_epo
163
+ - oci_gmsst
164
+ - oci_nao
165
+ - oci_nina34_anom
166
+ - oci_pdo
167
+ - oci_pna
168
+ - oci_soi
169
+ - oci_wp
170
+ oci_lag: 14
171
+ log_preprocess_input_vars:
172
+ - tp
173
+ - pop_dens
174
+ target_var: gwis_ba
175
+ target_shift: 2
176
+ target_var_per_area: false
177
+ target_var_log_process: false
178
+ timeseries_weeks: 24
179
+ lat_dim: null
180
+ lon_dim: null
181
+ lat_dim_overlap: null
182
+ lon_dim_overlap: null
183
+ time_dim_overlap: null
184
+ task: classification
185
+ batch_size: 1
186
+ num_workers: 2
187
+ pin_memory: false
188
+ load_cube_in_memory: false
189
+ train_random_sample: null
190
+ mean_std_dict_prefix: "cube"
191
+ ckpt_path: null
lam_model_ckpts/firecastnet-cls-NHAF-ts24-h2.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7eb3f6c6f61caed7cdd3cff3ff3f6d4bd8899e5d1a8ba4f35d5c244f9e6389d7
3
+ size 114511767