Download list of zip data from .meta4 file extension

Hi, I have a .meta4 file that contain list of datasets that I want to download. The file contain with file name and url for data download.
Since, this is my first time working with .meta4 file, may I know if possible to run a matlab coding for download the data? if yes can somebody who expert in this provide me idea how to build and run the code.

2 Commenti

I never worked with meta4 files. But a general advice is: check if your downloaded .meta4 file can be seen/opened using notepad or any other apps. If so, save as an .txt or .dat file, then you can read/process it using MATLAB.
Do you have any reference coding that I can look up for?

Accedi per commentare.

Risposte (1)

I find information that indicates that .meta4 files are XML files. As such you could potentially read them using xmlread or the fairly new readstruct

4 Commenti

Here I attached the data/link arragement in the meta4 file. I already try the aria2c application using the cmd, but the downloaded file is not contain any information. So, I want to try if Matlab is possible to do this bulk-download from the meta4 file. May I know if you have any coding that can read this type of file that I can use to download all the data from the given url of this meta4 file?
DGM
DGM il 11 Set 2023
Modificato: DGM il 11 Set 2023
It's probably safe to say that nobody has bespoke code ready for downloading files stored in a screenshot of a partial display of an XML file. If you want someone to wrangle XML on your behalf, attach the actual file, not a screenshot. The forum probably will be an obstacle in that effort, but you should be able to throw it in a zip file.
Otherwise, you have a file that's made to be fed to a downloader utility. Why not feed it to a downloader instead of trying to reinvent every wheel in MATLAB? In theory, this should be able to be handled by wget, but again, I don't have any files to test.
I do try download with a third party downloader. However, the retrieve data (.nc) is only 23kb where it should be 50-60MB. I am using aria2c. But there is an error to the download data. So, I need to try other sources like Matlab if there is a way to download all the data that have been listed in the metalink file (.meta4). I share to you the meta4 file.
My suspicion is that you are running into a credentials or field issue. I suspect that if you look at the 23 kb .nc file that you will find it is HTML giving some error message or refusal to download.

Accedi per commentare.

Categorie

Scopri di più su Historical Contests in Centro assistenza e File Exchange

Richiesto:

il 10 Set 2023

Commentato:

il 11 Set 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by