james-ocf commited on
Commit
bbe244d
·
verified ·
1 Parent(s): 7f3d447

Migrate model (HF commit bcd7035) to pvnet version 5.2.2.post15+git.fc89eaa7.dirty

Browse files
Files changed (4) hide show
  1. README.md +7 -5
  2. data_config.yaml +155 -157
  3. model_config.yaml +14 -19
  4. model_weights.safetensors +2 -2
README.md CHANGED
@@ -14,7 +14,7 @@ Do not remove elements like the above surrounded by two curly braces and do not
14
  ## Model Description
15
 
16
  <!-- Provide a longer summary of what this model is/does. -->
17
- This model class uses satellite data, numerical weather predictions, and recent Grid Service Point( GSP) PV power output to forecast the near-term (~8 hours) PV power output at all GSPs. More information can be found in the model repo [1] and experimental notes in [this google doc](https://docs.google.com/document/d/1fbkfkBzp16WbnCg7RDuRDvgzInA6XQu3xh4NCjV-WDA/edit?usp=sharing).
18
 
19
  - **Developed by:** openclimatefix
20
  - **Model type:** Fusion model
@@ -46,14 +46,16 @@ Data is prepared with the `ocf_data_sampler/torch_datasets/datasets/pvnet_uk` Da
46
 
47
  <!-- Do not remove the lines below -->
48
  The training logs for the current model can be found here:
49
- - [https://wandb.ai/openclimatefix/pvnet2.1/runs/u0bc3fi9](https://wandb.ai/openclimatefix/pvnet2.1/runs/u0bc3fi9)
50
 
51
 
52
  <!-- The hardware section is also just nice to have -->
53
- ### Hardware
54
 
55
  Trained on a single NVIDIA Tesla T4
56
 
 
 
57
  <!-- Do not remove the section below -->
58
  ### Software
59
 
@@ -64,8 +66,8 @@ This model was trained using the following Open Climate Fix packages:
64
 
65
  <!-- Especially do not change the two lines below -->
66
  The versions of these packages can be found below:
67
- - pvnet==5.0.0.post1+git.f4f6bfed.dirty
68
- - ocf-data-sampler==0.3.1
69
 
70
 
71
  ---
 
14
  ## Model Description
15
 
16
  <!-- Provide a longer summary of what this model is/does. -->
17
+ This model class uses satellite data, and numerical weather predictions to forecast the near-term (~8 hours) PV power output at all GSPs. More information can be found in the model repo [1].
18
 
19
  - **Developed by:** openclimatefix
20
  - **Model type:** Fusion model
 
46
 
47
  <!-- Do not remove the lines below -->
48
  The training logs for the current model can be found here:
49
+ - [https://wandb.ai/openclimatefix/pvnet2.1/runs/49nlmpdy](https://wandb.ai/openclimatefix/pvnet2.1/runs/49nlmpdy)
50
 
51
 
52
  <!-- The hardware section is also just nice to have -->
53
+ <!-- ### Hardware
54
 
55
  Trained on a single NVIDIA Tesla T4
56
 
57
+ -->
58
+
59
  <!-- Do not remove the section below -->
60
  ### Software
61
 
 
66
 
67
  <!-- Especially do not change the two lines below -->
68
  The versions of these packages can be found below:
69
+ - pvnet==5.0.6.post1+git.f02c06e6.dirty
70
+ - ocf-data-sampler==0.5.26.post2+git.90ee263d.dirty
71
 
72
 
73
  ---
data_config.yaml CHANGED
@@ -1,75 +1,23 @@
1
  general:
2
- description: Config for producing batches for training PVNet+cloudcasting
3
  input_data:
 
 
 
 
4
  nwp:
5
- ecmwf:
6
- accum_channels:
7
- - dswrf
8
- - dlwrf
9
- - sr
10
- - duvrs
11
- channels:
12
- - t2m
13
- - dswrf
14
- - dlwrf
15
- - hcc
16
- - mcc
17
- - lcc
18
- - tcc
19
- - sd
20
- - sr
21
- - duvrs
22
- - u10
23
- - v10
24
- dropout_fraction: 1.0
25
- dropout_timedeltas_minutes:
26
- - -360
27
- image_size_pixels_height: 12
28
- image_size_pixels_width: 12
29
- interval_end_minutes: 480
30
  interval_start_minutes: -120
31
- max_staleness_minutes: null
32
- normalisation_constants:
33
- diff_dlwrf:
34
- mean: 1136464.0
35
- std: 131942.03125
36
- diff_dswrf:
37
- mean: 420584.6875
38
- std: 715366.3125
39
- diff_duvrs:
40
- mean: 48265.4765625
41
- std: 81605.25
42
- diff_sr:
43
- mean: 469169.5
44
- std: 818950.6875
45
- hcc:
46
- mean: 0.3961029052734375
47
- std: 0.42244860529899597
48
- lcc:
49
- mean: 0.44901806116104126
50
- std: 0.3791404366493225
51
- mcc:
52
- mean: 0.3288780450820923
53
- std: 0.38039860129356384
54
- sd:
55
- mean: 8.107526082312688e-05
56
- std: 0.000913831521756947
57
- t2m:
58
- mean: 283.48333740234375
59
- std: 3.692270040512085
60
- tcc:
61
- mean: 0.7049227356910706
62
- std: 0.37487083673477173
63
- u10:
64
- mean: 1.7677178382873535
65
- std: 5.531515598297119
66
- v10:
67
- mean: 0.985887885093689
68
- std: 5.411230564117432
69
- provider: ecmwf
70
  time_resolution_minutes: 60
71
- zarr_path: PLACEHOLDER.zarr
72
- ukv:
 
 
 
 
73
  channels:
74
  - t
75
  - dswrf
@@ -82,116 +30,166 @@ input_data:
82
  - vis
83
  - si10
84
  - prate
85
- dropout_fraction: 1.0
86
- dropout_timedeltas_minutes:
87
- - -180
88
- image_size_pixels_height: 24
89
- image_size_pixels_width: 24
90
- interval_end_minutes: 480
91
- interval_start_minutes: -120
92
- max_staleness_minutes: null
93
  normalisation_constants:
94
- dlwrf:
95
- mean: 325.03130139
96
- std: 39.45988077
97
  dswrf:
98
  mean: 111.28265039
99
  std: 190.47216887
 
 
 
100
  hcc:
101
  mean: 29.11949682
102
  std: 38.07184418
103
- lcc:
104
- mean: 50.08362643
105
- std: 39.33210726
106
  mcc:
107
  mean: 40.88984494
108
  std: 41.91144559
109
- prate:
110
- mean: 3.45793433e-05
111
- std: 0.00021497
112
- r:
113
- mean: 81.79229501
114
- std: 11.45012499
115
  sde:
116
  mean: 0.00289545
117
  std: 0.1029753
118
- si10:
119
- mean: 6.88348448
120
- std: 3.94718813
121
- t:
122
- mean: 283.64913206
123
- std: 4.38818501
124
  vis:
125
  mean: 32262.03285118
126
  std: 21578.97975625
127
- provider: ukv
128
- time_resolution_minutes: 60
129
- zarr_path: PLACEHOLDER.zarr
130
- sat_pred:
131
- provider: cloudcasting
 
 
 
132
  zarr_path: PLACEHOLDER.zarr
133
- interval_start_minutes: 15
134
- interval_end_minutes: 180
135
- time_resolution_minutes: 15
136
- image_size_pixels_height: 24
137
- image_size_pixels_width: 24
138
- dropout_timedeltas_minutes: []
139
- dropout_fraction: 0
 
140
  max_staleness_minutes: null
141
  channels:
142
- - IR_016
143
- - IR_039
144
- - IR_087
145
- - IR_097
146
- - IR_108
147
- - IR_120
148
- - IR_134
149
- - VIS006
150
- - VIS008
151
- - WV_062
152
- - WV_073
 
 
 
 
 
 
153
  normalisation_constants:
154
- IR_016:
155
- mean: 0.17594202
156
- std: 0.21462157
157
- IR_039:
158
- mean: 0.86167645
159
- std: 0.04618041
160
- IR_087:
161
- mean: 0.7719318
162
- std: 0.06687243
163
- IR_097:
164
- mean: 0.8014212
165
- std: 0.0468558
166
- IR_108:
167
- mean: 0.71254843
168
- std: 0.17482725
169
- IR_120:
170
- mean: 0.89058584
171
- std: 0.06115861
172
- IR_134:
173
- mean: 0.944365
174
- std: 0.04492306
175
- VIS006:
176
- mean: 0.09633306
177
- std: 0.12184761
178
- VIS008:
179
- mean: 0.11426069
180
- std: 0.13090034
181
- WV_062:
182
- mean: 0.7359355
183
- std: 0.16111417
184
- WV_073:
185
- mean: 0.62479186
186
- std: 0.12924142
187
- solar_position:
188
- interval_end_minutes: 480
189
- interval_start_minutes: -120
190
- time_resolution_minutes: 30
191
- generation:
192
- dropout_fraction: 0
 
 
 
 
193
  dropout_timedeltas_minutes: []
194
- interval_end_minutes: 480
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  interval_start_minutes: -120
 
196
  time_resolution_minutes: 30
197
- zarr_path: PLACEHOLDER.zarr
 
 
1
  general:
2
+ description: na
3
  input_data:
4
+ solar_position:
5
+ interval_start_minutes: -120
6
+ interval_end_minutes: 480
7
+ time_resolution_minutes: 30
8
  nwp:
9
+ ukv:
10
+ provider: ukv
11
+ zarr_path: PLACEHOLDER.zarr
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  interval_start_minutes: -120
13
+ interval_end_minutes: 480
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  time_resolution_minutes: 60
15
+ image_size_pixels_height: 24
16
+ image_size_pixels_width: 24
17
+ dropout_timedeltas_minutes:
18
+ - -180
19
+ dropout_fraction: 1.0
20
+ max_staleness_minutes: null
21
  channels:
22
  - t
23
  - dswrf
 
30
  - vis
31
  - si10
32
  - prate
 
 
 
 
 
 
 
 
33
  normalisation_constants:
34
+ t:
35
+ mean: 283.64913206
36
+ std: 4.38818501
37
  dswrf:
38
  mean: 111.28265039
39
  std: 190.47216887
40
+ dlwrf:
41
+ mean: 325.03130139
42
+ std: 39.45988077
43
  hcc:
44
  mean: 29.11949682
45
  std: 38.07184418
 
 
 
46
  mcc:
47
  mean: 40.88984494
48
  std: 41.91144559
49
+ lcc:
50
+ mean: 50.08362643
51
+ std: 39.33210726
 
 
 
52
  sde:
53
  mean: 0.00289545
54
  std: 0.1029753
55
+ r:
56
+ mean: 81.79229501
57
+ std: 11.45012499
 
 
 
58
  vis:
59
  mean: 32262.03285118
60
  std: 21578.97975625
61
+ si10:
62
+ mean: 6.88348448
63
+ std: 3.94718813
64
+ prate:
65
+ mean: 3.45793433e-05
66
+ std: 0.00021497
67
+ ecmwf:
68
+ provider: ecmwf
69
  zarr_path: PLACEHOLDER.zarr
70
+ interval_start_minutes: -120
71
+ interval_end_minutes: 480
72
+ time_resolution_minutes: 60
73
+ image_size_pixels_height: 12
74
+ image_size_pixels_width: 12
75
+ dropout_timedeltas_minutes:
76
+ - -360
77
+ dropout_fraction: 1.0
78
  max_staleness_minutes: null
79
  channels:
80
+ - t2m
81
+ - dswrf
82
+ - dlwrf
83
+ - hcc
84
+ - mcc
85
+ - lcc
86
+ - tcc
87
+ - sd
88
+ - sr
89
+ - duvrs
90
+ - u10
91
+ - v10
92
+ accum_channels:
93
+ - dswrf
94
+ - dlwrf
95
+ - sr
96
+ - duvrs
97
  normalisation_constants:
98
+ t2m:
99
+ mean: 283.48333740234375
100
+ std: 3.692270040512085
101
+ diff_dswrf:
102
+ mean: 420584.6875
103
+ std: 715366.3125
104
+ diff_dlwrf:
105
+ mean: 1136464.0
106
+ std: 131942.03125
107
+ hcc:
108
+ mean: 0.3961029052734375
109
+ std: 0.42244860529899597
110
+ mcc:
111
+ mean: 0.3288780450820923
112
+ std: 0.38039860129356384
113
+ lcc:
114
+ mean: 0.44901806116104126
115
+ std: 0.3791404366493225
116
+ tcc:
117
+ mean: 0.7049227356910706
118
+ std: 0.37487083673477173
119
+ sd:
120
+ mean: 8.107526082312688e-05
121
+ std: 0.000913831521756947
122
+ diff_sr:
123
+ mean: 469169.5
124
+ std: 818950.6875
125
+ diff_duvrs:
126
+ mean: 48265.4765625
127
+ std: 81605.25
128
+ u10:
129
+ mean: 1.7677178382873535
130
+ std: 5.531515598297119
131
+ v10:
132
+ mean: 0.985887885093689
133
+ std: 5.411230564117432
134
+ satellite:
135
+ zarr_path: PLACEHOLDER.zarr
136
+ interval_start_minutes: -60
137
+ interval_end_minutes: 0
138
+ time_resolution_minutes: 5
139
+ image_size_pixels_height: 24
140
+ image_size_pixels_width: 24
141
  dropout_timedeltas_minutes: []
142
+ dropout_fraction: 0.0
143
+ channels:
144
+ - IR_016
145
+ - IR_039
146
+ - IR_087
147
+ - IR_097
148
+ - IR_108
149
+ - IR_120
150
+ - IR_134
151
+ - VIS006
152
+ - VIS008
153
+ - WV_062
154
+ - WV_073
155
+ normalisation_constants:
156
+ IR_016:
157
+ mean: 0.17594202
158
+ std: 0.21462157
159
+ IR_039:
160
+ mean: 0.86167645
161
+ std: 0.04618041
162
+ IR_087:
163
+ mean: 0.7719318
164
+ std: 0.06687243
165
+ IR_097:
166
+ mean: 0.8014212
167
+ std: 0.0468558
168
+ IR_108:
169
+ mean: 0.71254843
170
+ std: 0.17482725
171
+ IR_120:
172
+ mean: 0.89058584
173
+ std: 0.06115861
174
+ IR_134:
175
+ mean: 0.944365
176
+ std: 0.04492306
177
+ VIS006:
178
+ mean: 0.09633306
179
+ std: 0.12184761
180
+ VIS008:
181
+ mean: 0.11426069
182
+ std: 0.13090034
183
+ WV_062:
184
+ mean: 0.7359355
185
+ std: 0.16111417
186
+ WV_073:
187
+ mean: 0.62479186
188
+ std: 0.12924142
189
+ generation:
190
+ zarr_path: PLACEHOLDER.zarr
191
  interval_start_minutes: -120
192
+ interval_end_minutes: 480
193
  time_resolution_minutes: 30
194
+ dropout_timedeltas_minutes: []
195
+ dropout_fraction: 0
model_config.yaml CHANGED
@@ -7,7 +7,6 @@ output_quantiles:
7
  - 0.75
8
  - 0.9
9
  - 0.98
10
- add_image_embedding_channel: false
11
  nwp_encoders_dict:
12
  ukv:
13
  _target_: pvnet.models.late_fusion.encoders.encoders3d.DefaultPVNet
@@ -25,18 +24,18 @@ nwp_encoders_dict:
25
  number_of_conv3d_layers: 4
26
  conv3d_channels: 32
27
  image_size_pixels: 12
28
- sat_pred:
29
- _target_: pvnet.models.late_fusion.encoders.encoders3d.ResConv3DNet
30
- _partial_: true
31
- in_channels: 11
32
- out_features: 256
33
- image_size_pixels: 24
34
- hidden_channels: 32
35
- n_res_blocks: 3
36
- res_block_layers: 3
37
- batch_norm: true
38
- dropout_frac: 0.0
39
- sat_encoder: null
40
  pv_encoder: null
41
  output_network:
42
  _target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
@@ -49,18 +48,14 @@ embedding_dim: 16
49
  include_sun: true
50
  forecast_minutes: 480
51
  history_minutes: 120
 
 
52
  nwp_history_minutes:
53
  ukv: 120
54
  ecmwf: 120
55
- sat_pred: -15
56
  nwp_forecast_minutes:
57
  ukv: 480
58
  ecmwf: 480
59
- sat_pred: 180
60
- nwp_interval_minutes:
61
- ukv: 60
62
- ecmwf: 60
63
- sat_pred: 15
64
  location_id_mapping:
65
  1: 1
66
  2: 2
 
7
  - 0.75
8
  - 0.9
9
  - 0.98
 
10
  nwp_encoders_dict:
11
  ukv:
12
  _target_: pvnet.models.late_fusion.encoders.encoders3d.DefaultPVNet
 
24
  number_of_conv3d_layers: 4
25
  conv3d_channels: 32
26
  image_size_pixels: 12
27
+ sat_encoder:
28
+ _target_: pvnet.models.late_fusion.encoders.encoders3d.ResConv3DNet
29
+ _partial_: true
30
+ in_channels: 11
31
+ out_features: 256
32
+ image_size_pixels: 24
33
+ hidden_channels: 32
34
+ n_res_blocks: 3
35
+ res_block_layers: 3
36
+ batch_norm: true
37
+ dropout_frac: 0.0
38
+ add_image_embedding_channel: false
39
  pv_encoder: null
40
  output_network:
41
  _target_: pvnet.models.late_fusion.linear_networks.networks.ResFCNet
 
48
  include_sun: true
49
  forecast_minutes: 480
50
  history_minutes: 120
51
+ min_sat_delay_minutes: 0
52
+ sat_history_minutes: 60
53
  nwp_history_minutes:
54
  ukv: 120
55
  ecmwf: 120
 
56
  nwp_forecast_minutes:
57
  ukv: 480
58
  ecmwf: 480
 
 
 
 
 
59
  location_id_mapping:
60
  1: 1
61
  2: 2
model_weights.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e4c41f2ed9186132832d1e15cdb96062248180f9da828cff8bb837ea1678008
3
- size 35975432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb28ee3d8e13f28b3310054e702ba70732d67f916ee4cbcdd483ae0215ab777f
3
+ size 36269456