Improved handling of multiple netCDF modules