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 CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by