sofacoustics / SOFAtoolbox

SOFA Toolbox (API for Matlab, Octave)
http://sofaconventions.org
European Union Public License 1.2
116 stars 31 forks source link

NETCDFsave does not recognize SourceUp and probably SourceView #44

Closed under-funk closed 2 years ago

under-funk commented 2 years ago

When I try to save a file with the new convention which has SourceUp and SourceView in the .API.Dimensions it complains. If I delete this two it saves them correctly.

Error using NETCDFsave Error processing SourceUp Error message: Unrecognized field name "SourceUp".

Error in SOFAsave (line 96) NETCDFsave(filename,Obj,Compression);

Error in supdeq_helper (line 119) SOFAsave(sprintf('KU100.sofa',FinalIRlength),Obj2,0);

under-funk commented 2 years ago

It was my mistake, one of the processes I was doing was deleting it from the file while keeping it in API. My bad, sorry for inconvenience.