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 Jan 10, 2024
1 parent 6f196a2 commit e8c60ed
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ conda create -n ocf_datapipes python=3.10
Then go inside the ocf_datapipes repo to add packages

```bash
pip install -r requirements.txt requirements-dev.txt
pip install -r requirements.txt requirements-dev.txt
```

Then exit this environment, and enter back into the pvnet conda environment and install ocf_datapies in editable mode (-e). This means the package is directly linked to the source code in the ocf_datapies repo.
Expand Down Expand Up @@ -144,7 +144,7 @@ This should be given the whole path to the config on your local machine, such as

Where `FULL-PATH-TO-REPO` represent the whole path to the PVNet repo on your local machine.

### Running the batch creation script
### Running the batch creation script

Run the save_batches.py script to create batches with the following example arguments as:

Expand All @@ -167,7 +167,7 @@ For files stored in multiple locations they can be added as list. For example fr
```
satellite:
satellite_zarr_path: gs://solar-pv-nowcasting-data/satellite/EUMETSAT/SEVIRI_RSS/v4/2020_nonhrv.zarr
```

To satellite data hosted by Google:
Expand All @@ -178,7 +178,7 @@ satellite:
- "gs://public-datasets-eumetsat-solar-forecasting/satellite/EUMETSAT/SEVIRI_RSS/v4/2020_nonhrv.zarr"
- "gs://public-datasets-eumetsat-solar-forecasting/satellite/EUMETSAT/SEVIRI_RSS/v4/2021_nonhrv.zarr"
```
Datapipes is currently set up to use 12 channels from the satellite data which is the YEAR_nonhrv.zarr rather than YEAR_hrv.zarr.
Datapipes is currently set up to use 12 channels from the satellite data which is the YEAR_nonhrv.zarr rather than YEAR_hrv.zarr.


### Training PVNet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ input_data:
forecast_minutes: 120
time_resolution_minutes: 60
nwp_channels: # comment out channels as appropriate
- 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
- vis # visability
- r # relative humidity
- prate # precipitation rate
- si10 # 10-metre wind speed | live = unknown
- 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
- vis # visability
- r # relative humidity
- prate # precipitation rate
- si10 # 10-metre wind speed | live = unknown
nwp_image_size_pixels_height: 24
nwp_image_size_pixels_width: 24
nwp_provider: ukv
Expand All @@ -42,7 +42,7 @@ input_data:
- label: solar_sheffield_passiv
pv_filename: gs://solar-pv-nowcasting-data/PV/Passive/ocf_formatted/v0/passiv.netcdf
pv_metadata_filename: gs://solar-pv-nowcasting-data/PV/Passive/ocf_formatted/v0/system_metadata_OCF_ONLY.csv
# This is the list of pv_ml_ids to be sliced from the PV site level data
# This is the list of pv_ml_ids to be sliced from the PV site level data
pv_ml_ids:
[
154,
Expand Down Expand Up @@ -409,7 +409,7 @@ input_data:
satellite:
satellite_zarr_path:
- "gs://public-datasets-eumetsat-solar-forecasting/satellite/EUMETSAT/SEVIRI_RSS/v4/2020_nonhrv.zarr"
- "gs://public-datasets-eumetsat-solar-forecasting/satellite/EUMETSAT/SEVIRI_RSS/v4/2021_nonhrv.zarr"
- "gs://public-datasets-eumetsat-solar-forecasting/satellite/EUMETSAT/SEVIRI_RSS/v4/2021_nonhrv.zarr"
history_minutes: 60
forecast_minutes: 0
live_delay_minutes: 30
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ hydra-core
python-dotenv
hydra-optuna-sweeper
rich
gcsfs
gcsfs

0 comments on commit e8c60ed

Please sign in to comment.