@@ -12,7 +12,7 @@ export NO_PLUGINS=1
12
12
13
13
# Compile libs for macOS 10.9 or later
14
14
export MACOSX_DEPLOYMENT_TARGET=" 10.9"
15
- export NETCDF_VERSION=" 4.9.1 "
15
+ export NETCDF_VERSION=" 4.9.2 "
16
16
export HDF5_VERSION=" 1.12.2"
17
17
export OPENSSL_ROOT=openssl-1.1.1t
18
18
export OPENSSL_HASH=8dee9b24bdb1dcbf0c3d1e9b02fb8f6bf22165e807f45adeb7c9677536859d3b
@@ -290,14 +290,14 @@ function run_tests {
290
290
# add test for netcdf4-python issue #1246 (opendap with ssl)
291
291
export CURLOPT_VERBOSE=1
292
292
URL=' https://icdc.cen.uni-hamburg.de/thredds/dodsC/ftpthredds/hamtide/m2.hamtide11a.nc'
293
- if [ -z " $IS_MACOS " ]; then # only needed for Linux
294
- # these should work, but don't
295
- # echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > $HOME/.ncrc
296
- # export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
297
- # echo "cacert=/etc/ssl/certs/ca-certificates.crt" > $HOME/.curlrc
298
- # this works
299
- mkdir -p /etc/pki/tls/certs
300
- ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
301
- fi
293
+ # if [ -z "$IS_MACOS" ]; then # only needed for Linux
294
+ # # these should work, but don't
295
+ # #echo "HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt" > $HOME/.ncrc
296
+ # #export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
297
+ # #echo "cacert=/etc/ssl/certs/ca-certificates.crt" > $HOME/.curlrc
298
+ # # this works
299
+ # mkdir -p /etc/pki/tls/certs
300
+ # ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
301
+ # fi
302
302
python -c " from netCDF4 import Dataset; nc=Dataset(\" ${URL} \" ); print(nc)"
303
303
}
0 commit comments