Regarding Matlab online data reading

I was trying to open netcdf file of size 3GB (ncdisp) using MATLAB online and also using matlab drive connector.
But Iam getting an issue
ncdisp airtemp.nc
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of 'open' function - 'Unknown file format (NC_ENOTNC)'.
Error in netcdf.open (line 77)
[varargout{:}] = matlab.internal.imagesci.netcdflib('open', ...
Error in internal.matlab.imagesci.nc/openToRead (line 1290)
this.ncRootid = netcdf.open(this.Filename,'NOWRITE');
Error in internal.matlab.imagesci.nc (line 124)
this.openToRead();
Error in ncdisp (line 69)
ncObj = internal.matlab.imagesci.nc(ncFile);
Can anyone suggest on this. Is it due to restriction of size. I could read and display the same file with lower size.
Thanking you

댓글 수: 11

Walter Roberson
Walter Roberson 2022년 8월 4일
No, you would get a different error if it was due to size.
Are you comfortable in making the file public in MATLAB Drive so we can test?
Walter Roberson
Walter Roberson 2022년 8월 4일
I have no problem accessing the data on my desktop when I am reading it out of the shared drive (other than it being somewhat slow.)
I am testing for reading it using MATLAB Online (my system happened to crash in the middle of my previous test, for reasons probably not related.)
CODER
CODER 2022년 8월 4일
Sure.
So this is the issue with MATLAB online?
Kindly let me know if it is resolve
Thanking you
Walter Roberson
Walter Roberson 2022년 8월 4일
The reading has been proceeding since my last post, about 2 hours ago. No error message, but so slow as to be completely ridiculous . I am going to file a bug about the reading speed.
CODER
CODER 2022년 8월 4일
Yes Iam facing the same issue. It seems online MATLAB has an issue with file greater than 2GB. Initially it could not read now the issue is reading speed.
Kindly let me know if the issue is resolved.
Walter Roberson
Walter Roberson 2022년 8월 4일
... and I got another system reboot while still waiting for the reading to finish :(
CODER
CODER 2022년 8월 4일
It mean it has RAM issue on cloud ?
Walter Roberson
Walter Roberson 2022년 8월 4일
My system has been unstable lately, and I have been running some large computations. But my crashes this morning were something I have never seen before, something about my display manager became unresponsive. It should not have anything to do with running on the cloud.
CODER
CODER 2022년 8월 5일
Any update ?
Walter Roberson
Walter Roberson 2022년 8월 5일
Mathworks is investigating. In the meantime they recommend using desktop matlab to deal with the file. If you use desktop and access the file through MATLAB Connector it can read the file in a small number of minutes (depending on your network connection speed)

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2022년 8월 4일

댓글:

2022년 8월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by