Download list of zip data from .meta4 file extension

조회 수: 9 (최근 30일)
MAT NIZAM UTI
MAT NIZAM UTI 2023년 9월 10일
댓글: Walter Roberson 2023년 9월 11일
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
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 9월 10일
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
MAT NIZAM UTI 2023년 9월 11일
Do you have any reference coding that I can look up for?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2023년 9월 10일
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
MAT NIZAM UTI
MAT NIZAM UTI 2023년 9월 11일
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.
Walter Roberson
Walter Roberson 2023년 9월 11일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by