I am a physical oceanography PhD student at Stony Brook University and I am trying to obtain hourly verified water level data (MSL) from tide gauge 8534720 in Atlantic City, NJ between January 1, 1996 and January 1, 2016. I am using the DODS access form
http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Hourly_Height_Verified_Water_Level.html and selecting the variables DATE_TIME, WL_VALUE, SIGMA, and I to get the provided OPeNDAP url
http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Hourly_Height_Verified_Water_Level?WATERLEVEL_HOURLY_VFD_PX._STATION_ID,WATERLEVEL_HOURLY_VFD_PX._DATUM,WATERLEVEL_HOURLY_VFD_PX._BEGIN_DATE,WATERLEVEL_HOURLY_VFD_PX._END_DATE,WATERLEVEL_HOURLY_VFD_PX.DATE_TIME,WATERLEVEL_HOURLY_VFD_PX.WL_VALUE,WATERLEVEL_HOURLY_VFD_PX.SIGMA,WATERLEVEL_HOURLY_VFD_PX.I&WATERLEVEL_HOURLY_VFD_PX._STATION_ID=8534720&WATERLEVEL_HOURLY_VFD_PX._DATUM=MSL&WATERLEVEL_HOURLY_VFD_PX._BEGIN_DATE=19960101&WATERLEVEL_HOURLY_VFD_PX._END_DATE=20160101. However, when I attempt to access and download the data in Matlab (using either ncdisp to simply display information about the data or ncread to actually access the data), the OPeNDAP URL is not recognized and I get the following error message: "Error using netcdflib. Unable to open file. File may be corrupt or filename may have invalid characters. If the data source was an OPeNDAP URL, see the OPeNDAP Troubleshooting section in the Users Guide.” I would appreciate any help in determining the source of the error. I have used Matlab to access OPenDAP data in the past without any issues.