rwinlib / netcdf

2 stars 1 forks source link

opendap on win32 #1

Closed mjwoods closed 7 years ago

mjwoods commented 7 years ago

Many thanks to @jeroen for building netcdf with opendap support.

The build has been tested successfully with RNetCDF on 64-bit Windows. On 32-bit Windows, most features of netcdf work as expected, but attempting to read data from opendap causes a crash. The crash does not occur on 32-bit (or 64-bit) versions of Linux.

I don't know if many people still use 32-bit Windows, but it would be nice to avoid crashes if possible.

As a starting point, it would help if we can check that opendap support works in the netcdf package on its own. When netcdf is built, a program ncdump is usually created somewhere. If so, it is possible to check the basic opendap functionality using the following command:

ncdump http://remotetest.unidata.ucar.edu/dts/test.01

If someone has access to the rwinlib builds of netcdf on 32-bit Windows, can they please try this command?

mjwoods commented 7 years ago

@jeroen has implemented a work around for this problem. OPeNDAP support is only enabled in 64-bit builds of netcdf, so that crashes in 32-bit builds are avoided. I think this is a good enough solution, because most OPeNDAP users would have access to 64-bit machines by now.