Skip to content

Commit 55cdff7

Browse files
authored
Merge pull request #48 from rodekruis/fix/various
Fix/various
2 parents c63ce8d + fc2224d commit 55cdff7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

retrievalpipeline/config/somalia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def drought_data_request(self) -> EcmwfDataRequest:
7878
self.datetime_config.recent_start_year, self.datetime_config.recent_end_year + 1
7979
)
8080
],
81-
"month": ["01", "07"],
81+
"month": [f"{m:02d}" for m in range(1, 13)],
8282
"time": ["00:00"],
8383
"data_format": "netcdf",
8484
# "download_format": "zip",

run_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ def construct_pipeline(run_id: str, iso3: str) -> ETLPipeline:
8181

8282
extractors = [
8383
ChirpsExtractor(
84-
name="Drought Extractor",
84+
name="Flood Extractor",
8585
storage=storage,
8686
path_to_output=f"{path_to_bronze_global}/chirps/rainfall/",
8787
data_request=config.chirps_data_request,
8888
),
8989
EcmwfExtractor(
9090
name="Drought Extractor",
9191
storage=storage,
92-
path_to_output=f"{path_to_bronze}/ecmwf/rainfall/",
92+
path_to_output=f"{path_to_bronze}/ecmwf/rainfall/drought.zip",
9393
data_request=config.drought_data_request,
9494
),
9595
EcmwfExtractor(

0 commit comments

Comments
 (0)