OpenDAP error when using R2021, none with R2019

5 views (last 30 days)
I have used matlab to access OpenDAP data succcessfully up until R2021a was released. I just used the old R2019a till the next release was installed, thinking it would be fixed. Now we have instralled R2021b and it is still broken. I can load URLs in R2019a, but they fail in R2021b. an example
In R20219a
>> ncinfo('http://gliders.ioos.us/thredds/dodsC/deployments/zerickson/SG539-20141208T0000/SG539-20141208T0000.nc3.nc')
ans =
struct with fields:
Filename: 'http://gliders.ioos.us/thredds/dodsC/deployments/zerickson/SG539-20141208T0000/SG539-20141208T0000.nc3.nc'
Name: '/'
Dimensions: [1×4 struct]
Variables: [1×50 struct]
Attributes: [1×60 struct]
Groups: []
Format: 'classic'
in R2021b
>> ncinfo('http://gliders.ioos.us/thredds/dodsC/deployments/zerickson/SG539-20141208T0000/SG539-20141208T0000.nc3.nc')
Error using matlab.internal.imagesci.netcdflib
The NetCDF library encountered an error during execution of 'open' function - 'I/O failure (NC_EIO)'. If
the data source was an OPeNDAP URL, see the OPeNDAP Troubleshooting section in the Users Guide.
Error in netcdf.open (line 67)
[varargout{:}] = matlab.internal.imagesci.netcdflib ( 'open', filename, varargin{1} );
Error in internal.matlab.imagesci.nc/openToRead (line 1280)
this.ncRootid = netcdf.open(this.Filename,'NOWRITE');
Error in internal.matlab.imagesci.nc (line 124)
this.openToRead();
Error in ncinfo (line 88)
ncObj = internal.matlab.imagesci.nc(ncFile);
In the window that matlab was launched from there is a message "curl error details:" This is using-
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.11.0.1769968 (R2021b)
Operating System: Linux 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
for the R2019a version that works
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.6.0.1135713 (R2019a) Update 3
Operating System: Linux 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64
Java Version: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
I can give other examples that fail. R2021 can read the exampled supplied in the opendap hyrex documentation http://test.opendap.org/dap/data/nc/ , but fails for the data I am trying to read. Like here is another example
ncdisp('https://psl.noaa.gov/thredds/dodsC/Datasets/nodc.woa98/temperat/annual/otemp.anal1deg.nc')
Thanks for any guidance.
  2 Comments
Reggie Walters
Reggie Walters on 1 Sep 2023
Hello,
Just curious if you ever found a solution to this? I have a coworker who had nc commands working fine in 2018a and is now experiencing similar errors with 2022a.
Erik
Erik on 1 Sep 2023
No solution. Our IT people weren't interested in finding a solution, since I was the only person using opendap . It might involve some linux security issue.

Sign in to comment.

Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!