Repository: Unidata/netcdf-c
Pull request #1897 (2020-12-02 18:21:27)

Disable use of opendap2.oceanbrowser.net
The opendap2.oceanbrowser.net server is temporarily unavailable.
So modify ncdap_test/tst_encode.sh to not use it.
Will re-enable in the future.

p.s. ignore the .yml files they are experiments. I wish I knew
how to avoid having them included in check-ins.



Patch:
diff --git a/.github/workflows/conda-env/1.10.7.txt b/.github/workflows/conda-env/1.10.7.txt
new file mode 100644
index 000000000..527910d50
--- /dev/null
+++ b/.github/workflows/conda-env/1.10.7.txt
@@ -0,0 +1,22 @@
+# This file may be used to create an environment using:
+# $ conda create --name <env> --file <this file>
+# platform: linux-64
+_libgcc_mutex=0.1=main
+binutils_impl_linux-64=2.31.1=h6176602_1
+binutils_linux-64=2.31.1=h6176602_9
+ca-certificates=2020.10.14=0
+curl=7.71.1=hbc83047_1
+gcc_impl_linux-64=7.3.0=habb00fd_1
+gcc_linux-64=7.3.0=h553295d_9
+hdf5=1.10.7=hb1b8bf9_0
+krb5=1.18.2=h173b8e3_0
+libcurl=7.71.1=h20c2e04_1
+libedit=3.1.20191231=h14c3975_1
+libgcc=7.2.0=h69d50b8_2
+libgcc-ng=9.1.0=hdf63c60_0
+libgfortran-ng=7.3.0=hdf63c60_0
+libssh2=1.9.0=h1ba5d50_1
+libstdcxx-ng=9.1.0=hdf63c60_0
+ncurses=6.2=he6710b0_1
+openssl=1.1.1h=h7b6447c_0
+zlib=1.2.11=h7b6447c_3
diff --git a/.github/workflows/conda-env/1.8.20.txt b/.github/workflows/conda-env/1.8.20.txt
new file mode 100644
index 000000000..ed49267aa
--- /dev/null
+++ b/.github/workflows/conda-env/1.8.20.txt
@@ -0,0 +1,29 @@
+# This file may be used to create an environment using:
+# $ conda create --name <env> --file <this file>
+# platform: linux-64
+_libgcc_mutex=0.1=main
+binutils_impl_linux-64=2.31.1=h6176602_1
+binutils_linux-64=2.31.1=h6176602_9
+bzip2=1.0.8=h7b6447c_0
+ca-certificates=2020.10.14=0
+cmake=3.18.2=ha30ef3c_0
+expat=2.2.10=he6710b0_2
+gcc_impl_linux-64=7.3.0=habb00fd_1
+gcc_linux-64=7.3.0=h553295d_9
+hdf5=1.8.20=hba1933b_1
+krb5=1.18.2=h173b8e3_0
+libcurl=7.71.1=h20c2e04_1
+libedit=3.1.20191231=h14c3975_1
+libgcc=7.2.0=h69d50b8_2
+libgcc-ng=9.1.0=hdf63c60_0
+libgfortran-ng=7.3.0=hdf63c60_0
+libssh2=1.9.0=h1ba5d50_1
+libstdcxx-ng=9.1.0=hdf63c60_0
+libuv=1.40.0=h7b6447c_0
+lz4-c=1.9.2=heb0550a_3
+ncurses=6.2=he6710b0_1
+openssl=1.1.1h=h7b6447c_0
+rhash=1.4.0=h1ba5d50_0
+xz=5.2.5=h7b6447c_0
+zlib=1.2.11=h7b6447c_3
+zstd=1.4.5=h9ceee32_0
diff --git a/.travis.yml b/.travis.yml
index 86a07ae3e..01a6c3824 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
 # blocklist
 branches:
   except:
-  - /.*[.]dmh/
+#  - /.*[.]dmh/
   - /.*[.]wif/
 
 sudo: required
diff --git a/appveyor.yml b/appveyor.yml
index c9f0e51c8..acbb9d50a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,7 +13,7 @@ platform:
 
 branches:
   except:
-    - /.*[.]dmh/
+#    - /.*[.]dmh/
     - /.*[.]wif/
 
 # Do not build feature branch with open Pull Requests
diff --git a/libhdf5/hdf5file.c b/libhdf5/hdf5file.c
index 45d344a23..bdb4ddcb4 100644
--- a/libhdf5/hdf5file.c
+++ b/libhdf5/hdf5file.c
@@ -225,7 +225,6 @@ nc4_close_netcdf4_file(NC_FILE_INFO_T *h5, int abort, NC_memio *memio)
 
 #if defined(ENABLE_BYTERANGE) || defined(ENABLE_HDF5_ROS3) || defined(ENABLE_S3_SDK)
     /* Free the http info */
-#ifdef ENABLE_HDF5_ROS3
     ncurifree(hdf5_info->http.uri);
     NC_authfree(hdf5_info->http.auth);
 #endif


Test patch:
diff --git a/ncdap_test/tst_encode.sh b/ncdap_test/tst_encode.sh
index 784dbef18..5b7458794 100644
--- a/ncdap_test/tst_encode.sh
+++ b/ncdap_test/tst_encode.sh
@@ -8,7 +8,7 @@ set -e
 echo ""
 echo "*** Testing #encode=" mechanism
 
-${NCDUMP} -h 'http://opendap2.oceanbrowser.net/thredds/dodsC/data/emodnet1-domains/tmp%20test.nc?lon[0:8]#encode=none'
+#${NCDUMP} -h 'http://opendap2.oceanbrowser.net/thredds/dodsC/data/emodnet1-domains/tmp%20test.nc?lon[0:8]#encode=none'
 ${NCDUMP} -h 'http://iridl.ldeo.columbia.edu/SOURCES/.Indices/.soi/.c8110/.anomaly/T/%28Jan%201979%29/VALUE/dods?anomaly[0]'