From 78dd46f11b0bf44287cb2a1d477e5ccb1d446e61 Mon Sep 17 00:00:00 2001 From: Ajai Tirumali Date: Tue, 17 Dec 2024 19:57:04 +0530 Subject: [PATCH] lint --- scripts/wet_bulb/generate_wet_bulb_events.py | 5 ++--- scripts/wet_bulb/wet_bulb_events_pipeline_config.py | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/wet_bulb/generate_wet_bulb_events.py b/scripts/wet_bulb/generate_wet_bulb_events.py index ad832251a..688b13da2 100644 --- a/scripts/wet_bulb/generate_wet_bulb_events.py +++ b/scripts/wet_bulb/generate_wet_bulb_events.py @@ -77,10 +77,9 @@ def main(_): - config=ConfigMap( - filename=_FLAGS.wet_bulb_pipeline_config) + config = ConfigMap(filename=_FLAGS.wet_bulb_pipeline_config) if _FLAGS.start_date: - config.get('defaults', {})['start_date'] = _FLAGS.start_date + config.get('defaults', {})['start_date'] = _FLAGS.start_date pipeline = EventPipeline(config=config) pipeline.run(run_stages=_FLAGS.wet_bulb_pipeline_stages) diff --git a/scripts/wet_bulb/wet_bulb_events_pipeline_config.py b/scripts/wet_bulb/wet_bulb_events_pipeline_config.py index 1bf01bf8b..e7c281ed9 100644 --- a/scripts/wet_bulb/wet_bulb_events_pipeline_config.py +++ b/scripts/wet_bulb/wet_bulb_events_pipeline_config.py @@ -60,7 +60,7 @@ 'aggregate': 'max', 'rename_columns': { - 'band:1': 'T2MWET', + 'band:1': 'T2MWET', }, 'input_data_filter': { # Convert WetBulbTemperature to Celsius @@ -92,7 +92,8 @@ 'events', # Process all data files for the whole year. - 'input_files': 'tmp/fixed-temp/*.csv', + 'input_files': + 'tmp/fixed-temp/*.csv', #'input_files': # 'gs://{gcs_bucket}/{gcs_folder}/raster_csv/{year}/*{year}*raster_csv.csv', 'output_dir':