Netcdf is not saving as the format I specify

1 回表示 (過去 30 日間)
Pablo Morcillo Pallarés
Pablo Morcillo Pallarés 2020 年 5 月 2 日
I've been using netcdf for a while now, but always within the matlab environment. Now I was creating a netcdf file that later must be read by another python program, and my surprise, is that when reading it with python I have seen that the file is not being saved as I am specifying.
When I create the netcdf file in matlab with the format "NETCDF4" as explained in this web (https://es.mathworks.com/help/matlab/ref/netcdf.create.html) , when reading it with python it recognizes it as HDF5 file. Likewise, if I try to save it with the "CLASSIC_MODEL" format, instead of saving it as NETCDF4-Classic, it saves it as NETCDF3.
I open these files with the program "panoply" and get the same result, matlab is not paying attention to the specifications I am writing.
How can I solve this?

回答 (0 件)

カテゴリ

Help Center および File ExchangeNetCDF についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by