Regarding Matlab online data reading
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 4 Ago 2022
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?
CODER
il 4 Ago 2022
Modificato: Walter Roberson
il 4 Ago 2022
Walter Roberson
il 4 Ago 2022
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
il 4 Ago 2022
Walter Roberson
il 4 Ago 2022
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
il 4 Ago 2022
Walter Roberson
il 4 Ago 2022
... and I got another system reboot while still waiting for the reading to finish :(
CODER
il 4 Ago 2022
Walter Roberson
il 4 Ago 2022
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
il 5 Ago 2022
Walter Roberson
il 5 Ago 2022
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)
Risposte (0)
Categorie
Scopri di più su NetCDF Files in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!