Accessing .cdf files

3 visualizzazioni (ultimi 30 giorni)
Ahmed Abdulla
Ahmed Abdulla il 25 Mag 2021
Commentato: Ahmed Abdulla il 25 Mag 2021
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 Commenti
per isakson
per isakson il 25 Mag 2021
Did you try cdfinfo()?
Ahmed Abdulla
Ahmed Abdulla il 25 Mag 2021
yes with no luck

Accedi per commentare.

Risposta accettata

Sulaymon Eshkabilov
Sulaymon Eshkabilov il 25 Mag 2021
Hi,
You would need additional patch installed to read .cdf extension files. Here is the source:
Good luck
  1 Commento
Ahmed Abdulla
Ahmed Abdulla il 25 Mag 2021
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."

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by