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

fix: extract USGS tarfiles #759

Merged
merged 1 commit into from Aug 25, 2023
Merged

fix: extract USGS tarfiles #759

merged 1 commit into from Aug 25, 2023

Conversation

anesson-cs
Copy link
Collaborator

Fixes #758

The command prompt shows products are indeed not gzip compressed archives:

file /home/anesson/workspace/eodag-debug/downloads/LC09_L1TP_198030_20230310_20230310_02_T1.tar.gz

/home/anesson/workspace/eodag-debug/downloads/LC09_L1TP_198030_20230310_20230310_02_T1.tar.gz: POSIX tar archive (GNU)

r must replace r:gz for tarfile.open() compression mode during archive extractions then.

@github-actions
Copy link
Contributor

Test Results

       4 files  ±    0         4 suites  ±0   4m 42s ⏱️ +2s
   388 tests ±    0     386 ✔️ +    2    2 💤 ±  0  0  - 2 
1 552 runs  +178  1 496 ✔️ +155  56 💤 +25  0  - 2 

Results for commit cd4183d. ± Comparison against base commit c38d36e.

@github-actions
Copy link
Contributor

Code Coverage (Ubuntu)

File Coverage
All files 82%

Minimum allowed coverage is 70%

Generated by 🐒 cobertura-action against cd4183d

@github-actions
Copy link
Contributor

Code Coverage (Windows)

File Coverage
All files 77%

Minimum allowed coverage is 70%

Generated by 🐒 cobertura-action against cd4183d

@sbrunato sbrunato merged commit 9062756 into develop Aug 25, 2023
12 checks passed
@sbrunato sbrunato deleted the extract-usgs-tarfiles branch August 25, 2023 07:48
@sbrunato sbrunato added this to the 2.11.0 milestone Nov 21, 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

Successfully merging this pull request may close these issues.

Extraction of .tar.gz archives with USGS is not working
2 participants