So I am working on a project which requires specific data from the cosmic-2 satellite.
The data is stored in compressed tar.gz and there are thousands of files so I don't want to download them all and then process them one by one due to time and storage constraints.
Instead I would like to look for an alternative way that allow me to read data from files directly without having to download them first.
Maybe requests or urllib can do that
Currently I tried
url = https://sitename.com/data.tar.gz
File = response.get(url, stream= True)
With tarfile.open(file, "r:gz") as f: f.extractall()
I looked up a few options and found this - https://extract.me/
You can use the url directly, so maybe just right click on the link of the file for ftp and copy and paste to check.
Hope it helps