Can I adapt asam cdfx write() settings?
Show older comments
Hello everyone,
The generated file can be re-read by matlab, but the tags include "cdfx:" and there are other dissimilarities when comparing with a file generated by another calibration generation product. I can also not read the generated cdfx file in other products, receiving an error "Unsupported cdf version; Check xsd/DTD declaration".
Is there a possibility to adapt the asam cdfx export settings somewhere in Matlab?
Thank you!
1 Comment
Kristóf Levente
on 15 Sep 2025
Answers (1)
Aditya
on 29 Sep 2025
0 votes
Hi Kristof,
MATLAB’s `write()` function for exporting ASAM CDFX files does not allow customization of XML namespaces or schema declarations, which can cause compatibility issues with other calibration tools expecting different formats. This is why you see tags like “cdfx:” and receive errors about unsupported CDF versions. Currently, there is no built-in way in MATLAB to change these export settings. As a workaround, you can use a script to edit the XML file and remove or modify the problematic parts, or use third-party tools to convert the file.
Thanks and Regards,
Aditya
Categories
Find more on Weather and Atmospheric Science 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!