-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi, I have already downloaded SLC burst data to my destination folder, so I'd like to specify it to the data directory in sweets. However, when I specify it, sweets returns error massages which look to forbid me from adding a new path. On the other hand, "--orbit-dir" accepts a new input. Could this be a bug? (I can edit .yaml file afterwards, but this looks like worth to be reported)
Traceback (most recent call last):
File "/usr/local/bin/sweets", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/sweets/cli.py", line 237, in main
func(arg_dict)
File "/usr/local/lib/python3.11/site-packages/sweets/cli.py", line 229, in create_config
workflow = Workflow(**kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sweets/core.py", line 218, in init
super().init(**data)
File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 253, in init
validated_self = self.pydantic_validator.validate_python(data, self_instance=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for Workflow
asf_query.data_dir
Extra inputs are not permitted [type=extra_forbidden, input_value='/content/drive/MyDrive/S...InSAR-Jakarta/BurstData', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/extra_forbidden