From f0540652f92503cb9fb82678d3f5c725a6509feb Mon Sep 17 00:00:00 2001 From: shail-parekh Date: Mon, 27 Jan 2025 11:30:10 +0000 Subject: [PATCH 1/2] Fixed --dry-run flag is in weather-mv ee tool --- weather_mv/loader_pipeline/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather_mv/loader_pipeline/pipeline.py b/weather_mv/loader_pipeline/pipeline.py index 6cb6729d..8b11c744 100644 --- a/weather_mv/loader_pipeline/pipeline.py +++ b/weather_mv/loader_pipeline/pipeline.py @@ -81,7 +81,7 @@ def pipeline(known_args: argparse.Namespace, pipeline_args: t.List[str]) -> None # all_args stores all arguments passed to the pipeline. # This is necessary because pipeline_args are later used by # the CreateTimeSeries DoFn in the AddMetrics transform. - all_args = {**vars(known_args), **pipeline_options_dict} + all_args = {**pipeline_options_dict, **vars(known_args)} paths | "MoveToEarthEngine" >> ToEarthEngine.from_kwargs(**all_args) else: raise ValueError('invalid subcommand!') From 1795769437c197efbdfb9f646091dfc9b4ec28ac Mon Sep 17 00:00:00 2001 From: shail-parekh Date: Wed, 29 Jan 2025 07:29:47 +0000 Subject: [PATCH 2/2] change the patch version --- weather_mv/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather_mv/setup.py b/weather_mv/setup.py index 047a93c6..2c74a8bd 100644 --- a/weather_mv/setup.py +++ b/weather_mv/setup.py @@ -65,7 +65,7 @@ packages=find_packages(), author='Anthromets', author_email='anthromets-ecmwf@google.com', - version='0.2.33', + version='0.2.34', url='https://weather-tools.readthedocs.io/en/latest/weather_mv/', description='A tool to load weather data into BigQuery.', install_requires=beam_gcp_requirements + base_requirements,