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

No orbit data downloaded #45

Closed
ditafaith opened this issue Oct 26, 2023 · 8 comments · Fixed by #46
Closed

No orbit data downloaded #45

ditafaith opened this issue Oct 26, 2023 · 8 comments · Fixed by #46

Comments

@ditafaith
Copy link

ditafaith commented Oct 26, 2023

Hi,
I have the S1 data from Jan to Oct 2023 and when T execute the eof command got following message,
eof.scihubclient.ValidityError: none of the input products completely covers the requested time interval: [t0=2023-10-13 11:15:11, t1=2023-10-13 11:16:11]
Is it related to the latest images that I downloaded?
if yes, I expect still possible to continue downloading the restitute one.

@scottstanie
Copy link
Owner

Can you post the actual Sentinel file name that failed?

@ditafaith
Copy link
Author

Can you post the actual Sentinel file name that failed?

Here is the filename, however there is no available precise orbit
S1A_IW_SLC__1SDV_20230110T111503_20230110T111533_046720_0599CC_3164

@scottstanie
Copy link
Owner

I think it might have been a different one that failed, as that one is from January:


In [1]: from eof import products

In [2]: products.Sentinel('S1A_IW_SLC__1SDV_20230110T111503_20230110T111533_046720_0599CC_3164')
Out[2]: Sentinel S1A, path 98 from 2023-01-10

But I entered the exact date time 2023-10-13 11:15:11 from your error message, it that works now (whereas before it was failing). Please let me know if it still doesn't work with the latest release

@ditafaith
Copy link
Author

Sorry for my mistake. The correct one is S1A_IW_SLC__1SDV_20231013T111511_20231013T111541_050745_061D79_65D3.zip
The data should be on 20231013. However, there is encounter an error, which means no orbit was downloaded.
Is it possible to read particular directory and put the orbit data in the desired path ?

@scottstanie
Copy link
Owner

Have you installed the latest version? That file is working for me

(mapping) staniewi:sentineleof$ touch S1A_IW_SLC__1SDV_20231013T111511_20231013T111541_050745_061D79_65D3
(mapping) staniewi:sentineleof$ eof
[10/30 22:55:32] [INFO download.py] Downloading precise orbits for S1A on 2023-10-13
[10/30 22:55:33] [INFO download.py] Attempting download from SciHub
Downloading S1A_OPER_AUX_RESORB_OPOD_20231013T133254_V20231013T093852_20231013T125622.EOF: 100%|███████████████████████████| 590k/590k [00:02<00:00, 268kB/s]
Downloading products: 100%|████████████████████████████████████| 1/1 [00:03<00:00,  3.21s/product]

@scottstanie
Copy link
Owner

scottstanie commented Oct 31, 2023

Is it possible to read particular directory and put the orbit data in the desired path ?

use --search-path and --save-dir

(mapping) staniewi:sentineleof$ eof --search-path in_dir/ --save-dir out_dir/
[10/30 22:58:04] [INFO download.py] Downloading precise orbits for S1A on 2023-10-13
[10/30 22:58:05] [INFO download.py] Attempting download from SciHub
Downloading S1A_OPER_AUX_RESORB_OPOD_20231013T133254_V20231013T093852_20231013T125622.EOF: 100%|██████████████████████████████████████████████████████████████████████████████████| 590k/590k [00:02<00:00, 230kB/s]
Downloading products: 100%
$ eof --help
Usage: eof [OPTIONS]

  Download Sentinel precise orbit files.

  Saves files to `save-dir` (default = current directory)

  Download EOFs for specific date, or searches for Sentinel files in --path.
  Will find both ".SAFE" and ".zip" files matching Sentinel-1 naming
  convention. With no arguments, searches current directory for Sentinel 1
  products

Options:
  -p, --search-path DIRECTORY     Path of interest for finding Sentinel
                                  products.   [default: .]
  --save-dir DIRECTORY            Directory to save output .EOF files into
                                  [default: .]
  --sentinel-file PATH            Specify path to download only 1 .EOF for a

@ditafaith
Copy link
Author

I make sure use the latest version.
Here is the error log as attached.
log.txt

@scottstanie
Copy link
Owner

Ok just to make sure, what version does it say 0.8.3 for this?

$ python -c 'from importlib.metadata import version; print(version("sentineleof"))'
0.8.3

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

Successfully merging a pull request may close this issue.

2 participants