Accessing .cdf files

조회 수: 1 (최근 30일)
Ahmed Abdulla
Ahmed Abdulla 2021년 5월 25일
댓글: Ahmed Abdulla 2021년 5월 25일
I have downloaded some space science data from the following link,however, the file format is .cdf and I have no experience with such file format. I have tried both cdflib.open() and cdfread() with no luck. Any help is appreciated
  댓글 수: 2
per isakson
per isakson 2021년 5월 25일
Did you try cdfinfo()?
Ahmed Abdulla
Ahmed Abdulla 2021년 5월 25일
yes with no luck

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

채택된 답변

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 25일
Hi,
You would need additional patch installed to read .cdf extension files. Here is the source:
Good luck
  댓글 수: 1
Ahmed Abdulla
Ahmed Abdulla 2021년 5월 25일
I have looked into this solution, however I am not sure where the downloaded patch file should go (its currently in my downloads file) and I also gt stuck in the following step because im not sure where Matlab's environment variables are:
"If you have downloaded the leap second table, then set the environment variable CDF_LEAPSECONDSTABLE to the table.set CDF_LEAPSECONDSTABLE='<patch_install_dir>\CDFLeapSeconds.txt'
This table will be used, instead of the hard-coded one embedded in the released library. Not setting the environment variable will result in the use of the table from the library. The step is necessary when the leap second table is different from the one in the library. Need to set the environment variable before running CDF modules under MATLAB."

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by