Download list of zip data from .meta4 file extension
Show older comments
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 Comments
Sulaymon Eshkabilov
on 10 Sep 2023
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.
MAT NIZAM UTI
on 11 Sep 2023
Answers (1)
Walter Roberson
on 10 Sep 2023
0 votes
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 Comments
MAT NIZAM UTI
on 11 Sep 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.
MAT NIZAM UTI
on 11 Sep 2023
Walter Roberson
on 11 Sep 2023
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.
Categories
Find more on Historical Contests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!