% Change Variable Names
uris{1}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Ike.egl3.SWI.tidal.nc';
uris{2}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Ike.egm3.SWI.tidal.nc';
uris{3}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Ike.egl3.OWI.tidal.nc';
uris{4}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Ike.egm3.OWi.tidal.nc';
uris{5}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Rita.ebp3.SWI.tidal.nc';
uris{6}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Rita.egm3.SWI.tidal.nc';
uris{7}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Rita.ebp3.OWI.tidal.nc';
uris{8}='X:\chluser1\CHL-Current-Projects\SURA-IOOS\slosh_tropical\sloshND\Runs\Rita.egm3.OWi.tidal.nc';

for i = 1:length(uris)
    ncid = netcdf.open(uris{i},'NC_WRITE');        % Open netCDF file.
    netcdf.reDef(ncid)                          % Put file is define mode.
    dimid = netcdf.inqDimID(ncid,'lon');        % Get the identifer of a dimension to rename.
    netcdf.renameDim(ncid,dimid,'Longitude')    % Rename the dimension.
    dimid = netcdf.inqDimID(ncid,'lat');        % Get the identifer of a dimension to rename.
    netcdf.renameDim(ncid,dimid,'Latitude')     % Rename the dimension.    
    dimid = netcdf.inqDimID(ncid,'time');       % Get the identifer of a dimension to rename.
    netcdf.renameDim(ncid,dimid,'Time')         % Rename the dimension.        
    netcdf.close(ncid)
end