Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 22, 2023
1 parent d6a6a22 commit 13253e1
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 47 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ configs directory:
cp -r configs.example configs
```

You will be making local amendments to these configs. See the README in
You will be making local amendments to these configs. See the README in
`configs.example` for more info.

### Datasets
Expand Down Expand Up @@ -339,5 +339,3 @@ python run.py
## Testing

You can use `python -m pytest tests` to run tests


69 changes: 34 additions & 35 deletions configs.example/datamodule/configuration/gcp_configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,43 +381,42 @@ input_data:
time_resolution_minutes: 5

nwp:

ukv:
nwp_zarr_path:
# Path(s) to UKV NWP data in zarr format
# e.g. gs://solar-pv-nowcasting-data/NWP/UK_Met_Office/UKV_intermediate_version_7.zarr
- PLACEHOLDER.zarr
history_minutes: 120
forecast_minutes: 480
time_resolution_minutes: 60
nwp_channels:
- t # 2-metre temperature
- dswrf # downwards short-wave radiation flux
- dlwrf # downwards long-wave radiation flux
- hcc # high cloud cover
- mcc # medium cloud cover
- lcc # low cloud cover
nwp_image_size_pixels_height: 24
nwp_image_size_pixels_width: 24
nwp_provider: ukv
nwp_zarr_path:
# Path(s) to UKV NWP data in zarr format
# e.g. gs://solar-pv-nowcasting-data/NWP/UK_Met_Office/UKV_intermediate_version_7.zarr
- PLACEHOLDER.zarr
history_minutes: 120
forecast_minutes: 480
time_resolution_minutes: 60
nwp_channels:
- t # 2-metre temperature
- dswrf # downwards short-wave radiation flux
- dlwrf # downwards long-wave radiation flux
- hcc # high cloud cover
- mcc # medium cloud cover
- lcc # low cloud cover
nwp_image_size_pixels_height: 24
nwp_image_size_pixels_width: 24
nwp_provider: ukv

ecmwf:
# Path to ECMWF NWP data in zarr format
# n.b. It is not necessary to use multiple or any NWP data. These entries can be removed
nwp_zarr_path: PLACEHOLDER.zarr
history_minutes: 120
forecast_minutes: 480
time_resolution_minutes: 60
nwp_channels:
- t2m # 2-metre temperature
- dswrf # downwards short-wave radiation flux
- dlwrf # downwards long-wave radiation flux
- hcc # high cloud cover
- mcc # medium cloud cover
- lcc # low cloud cover
nwp_image_size_pixels_height: 12 # roughtly equivalent to ukv 24 pixels
nwp_image_size_pixels_width: 12
nwp_provider: ecmwf
# Path to ECMWF NWP data in zarr format
# n.b. It is not necessary to use multiple or any NWP data. These entries can be removed
nwp_zarr_path: PLACEHOLDER.zarr
history_minutes: 120
forecast_minutes: 480
time_resolution_minutes: 60
nwp_channels:
- t2m # 2-metre temperature
- dswrf # downwards short-wave radiation flux
- dlwrf # downwards long-wave radiation flux
- hcc # high cloud cover
- mcc # medium cloud cover
- lcc # low cloud cover
nwp_image_size_pixels_height: 12 # roughtly equivalent to ukv 24 pixels
nwp_image_size_pixels_width: 12
nwp_provider: ecmwf

satellite:
satellite_zarr_path:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,5 @@ input_data:
satellite_image_size_pixels_height: 24
satellite_image_size_pixels_width: 24



output_data:
filepath: "not-needed"
12 changes: 6 additions & 6 deletions configs.example/datamodule/streamed_batches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ num_workers: 20
prefetch_factor: 2
batch_size: 8
train_period:
- null
- '2022-05-07'
- null
- "2022-05-07"
val_period:
- '2022-05-08'
- '2023-05-08'
- "2022-05-08"
- "2023-05-08"
test_period:
- '2022-05-08'
- '2023-05-08'
- "2022-05-08"
- "2023-05-08"
2 changes: 1 addition & 1 deletion configs.example/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This directory contains example configuration files for the PVNet project. Many paths will need to
be each user. YOu can find these paths by searching for PLACEHOLDER within these logs. Not all of
the values with a placeholder need to be set. For example in the logger subdirectory there are
the values with a placeholder need to be set. For example in the logger subdirectory there are
many different loggers with PLACEHOLDERS. If only one logger is used, then only that placeholder
need be set.

Expand Down

0 comments on commit 13253e1

Please sign in to comment.