Filter löschen
Filter löschen

netcdf file won't load

10 Ansichten (letzte 30 Tage)
Robert am 12 Jul. 2016
Beantwortet: Walter Roberson am 12 Jul. 2016
I have 3 netcdf files all from the same source. 2 of them are loading fine using ncload (after running the nc toolbox) but one has an error which I don't understand. The file is too big to attach, but the error message is this as follows
data = ncload('');
Error using ncdataset/readdata (line 460)
Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
at ucar.ma2.ArrayDouble.<init>(
at ucar.ma2.ArrayDouble$D3.<init>(
at ucar.ma2.ArrayDouble$D3.<init>(
at ucar.ma2.ArrayDouble.factory(
at ucar.ma2.ArrayDouble.factory(
at ucar.ma2.Array.factory(
at ucar.ma2.Array.factory(
at ucar.nc2.dataset.EnhanceScaleMissingImpl.convertScaleOffset(
at ucar.nc2.dataset.EnhanceScaleMissingImpl.convertScaleOffsetMissing(
at ucar.nc2.dataset.VariableDS.convertScaleOffsetMissing(
at ucar.nc2.dataset.VariableDS._read(
Error in ncdataset/data (line 159)
d = obj.readdata(variable);
Error in ncgeodataset/subsref (line 378)
B = builtin('subsref',obj,g);
Error in ncload (line 21)
Thanks you in advance for any help.

Antworten (1)

Walter Roberson
Walter Roberson am 12 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by