Don't reopen a netcdf4-python dataset if it is already open.

Some large datasets can take many seconds to load and we were reopening
them every call.  This was designed as a function to be called fairly
often to ensure the datasets was open.