Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit e7acdd5

Browse files
Merge pull request #413 from lenassero/fix/remove-unused-global-variables
Remove unused global variables
2 parents 17d1b52 + 7e25cf8 commit e7acdd5

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

nowcasting_dataset/consts.py

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,13 @@
55
import numpy as np
66
import xarray as xr
77

8-
# DEFAULT PATHS
9-
10-
# TODO: Issue #386. Remove this?
11-
BUCKET = Path("solar-pv-nowcasting-data")
12-
138
# Satellite data
14-
# TODO: Issue #386. Remove this?
9+
# TODO: remove this?
1510
SAT_FILENAME = "gs://" + str(
16-
BUCKET / "satellite/EUMETSAT/SEVIRI_RSS/OSGB36/all_zarr_int16_single_timestep.zarr"
11+
Path("solar-pv-nowcasting-data")
12+
/ "satellite/EUMETSAT/SEVIRI_RSS/OSGB36/all_zarr_int16_single_timestep.zarr"
1713
)
1814

19-
# Solar PV data
20-
# TODO: Issue #386. Remove these?
21-
PV_PATH = BUCKET / "PV/PVOutput.org"
22-
PV_FILENAME = PV_PATH / "UK_PV_timeseries_batch.nc"
23-
PV_METADATA_FILENAME = PV_PATH / "UK_PV_metadata.csv"
24-
25-
# Numerical weather predictions.
26-
# TODO: Issue #386. Remove this?
27-
NWP_FILENAME = "gs://" + str(BUCKET / "NWP/UK_Met_Office/UKV_zarr")
28-
2915
# Typing
3016
Array = Union[xr.DataArray, np.ndarray]
3117
PV_SYSTEM_ID: str = "pv_system_id"

0 commit comments

Comments
 (0)