My guess is that the unencoded square brackets are the problem. I believe
this was fixed in netCDF-C last summer - what version of netCDF-C are you
using in your python environment on the Ubuntu and Windows machines?
On Fri, May 22, 2020 at 6:55 AM TANGJian@tanguy2200.gmail <
> Hi there,
> I googled and find the similar problem
> code is as follows:
> import xarray as xr
> data = xr.open_dataset(files,cache=False,engine='netcdf4')
> xarray version 0.15.1
> in ubuntu, failed with NetCDF Access failure
> and I use echo "HTTP.VERBOSE=1" > .dodsrc to show the URL as you guys told in
> * Hostname thredds.atmos.albany.edu was found in DNS cache
> * Trying 184.108.40.206...
> * TCP_NODELAY set
> * Connected to thredds.atmos.albany.edu (220.127.116.11) port 8080 (#14)
> > GET /thredds/dodsC/CFSR/2016/u.2016.0p5.anl.nc.dods?u.u HTTP/1.1
> Host: thredds.atmos.albany.edu:8080
> it appears to send  to server.
> So is this the problem? how can I bypass this?
> But why the same code works fine on my windows machine?
> Thank you very much!
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web. Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
> thredds mailing list
> For list information or to unsubscribe, visit: