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

Order placed without calling --submit-order #9

Closed
hiredgoon8118 opened this issue Jul 3, 2023 · 3 comments
Closed

Order placed without calling --submit-order #9

hiredgoon8118 opened this issue Jul 3, 2023 · 3 comments

Comments

@hiredgoon8118
Copy link

hiredgoon8118 commented Jul 3, 2023

When ordering with the --record-id option (only) the order was placed without having set the --submit-order option.

e.g. eodms -c RCM --record-id 6887647

@m9brady
Copy link
Owner

m9brady commented Jul 3, 2023

Hi there, that is intended behaviour (see the help text below). --submit-order should be used when defining a full query instead of passing a given granule's recordid. The purpose of the --record-id and --record-ids arguments is a kind of shortcut for when I already knew the granules so just needed to skip right to ordering.

  --record-id INTEGER             Specific Record Id to order from the desired
                                  collection
  --record-ids PATH               File of line-separated Record Ids to order
                                  from the desired collection
  --order-id INTEGER              Specific Order Id to download from EODMS
  --order-ids PATH                File of line-separated Order Ids to download
                                  from EODMS

@hiredgoon8118
Copy link
Author

hiredgoon8118 commented Jul 4, 2023 via email

@m9brady
Copy link
Owner

m9brady commented Aug 11, 2023

Hi Chris I'm going to close this, but if you have a use-case for passing --record-id without also submitting an order then please re-open the issue and let me know more about that kind of scenario. Thanks

@m9brady m9brady closed this as completed Aug 11, 2023
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

2 participants