Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Error #32

Closed
cmarshak opened this issue Feb 18, 2025 · 1 comment
Closed

CLI Error #32

cmarshak opened this issue Feb 18, 2025 · 1 comment

Comments

@cmarshak
Copy link
Collaborator

For 0.0.4,

(dist-s1-env) dist_user@cf499d5c3ead:~$ dist-s1 run_sas_prep --post_date '2025-01-02' --track_number 137 --dst_dir /tmp/data/  --memory_strategy high  --moderate_confidence_threshold 3.5 --high_confidence_threshold 5.5 --post_date_buffer_days 1 --apply_water_mask false --n_lookbacks 3 --product_dst_dir '/PLACEHOLDER' --mgrs_tile_id 10SGD
Traceback (most recent call last):
  File "/opt/conda/envs/dist-s1-env/bin/dist-s1", line 8, in <module>
    sys.exit(cli())
             ~~~^^
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/envs/dist-s1-env/lib/python3.13/site-packages/dist_s1/__main__.py", line 111, in wrapper
    return func(*args, **kwargs)
TypeError: run_sas_prep() got an unexpected keyword argument 'bucket'
(dist-s1-env) dist_user@cf499d5c3ead:~$

@taliboliver @RKuttruff

@cmarshak
Copy link
Collaborator Author

Resolved by #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant