Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaits committed Dec 17, 2024
1 parent f411cc4 commit 78dd46f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions scripts/wet_bulb/generate_wet_bulb_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 3 additions & 2 deletions scripts/wet_bulb/wet_bulb_events_pipeline_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
'aggregate':
'max',
'rename_columns': {
'band:1': 'T2MWET',
'band:1': 'T2MWET',
},
'input_data_filter': {
# Convert WetBulbTemperature to Celsius
Expand Down Expand Up @@ -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':
Expand Down

0 comments on commit 78dd46f

Please sign in to comment.