This legacy helper retries `ncdf4::nc_open()` when opening remote HTTPS/OPeNDAP-served NetCDF files. It is retained for backward compatibility with older workflows that still rely on the `ncdf4` stack.

safe_nc_open(filename, tries = 4)

Arguments

filename

Filename or URL to open.

tries

Maximum number of retry iterations for remote files.

Value

An open `ncdf4` handle.