#Downloading HYCOM
ncks -d time,10900,11651 -d lon,240.0,246.0 -d lat,8.0,12.0 'http://tds.hycom.org/thredds/dodsC/GLBy0.08/expt_93.0' all.nc
ncwa -O -a depth -w depth -v water_u all_HYCOM.nc ubar.nc
ncwa -O -a depth -w depth -v water_u all_HYCOM.nc ubar.nc
ncrename -h -O -v water_u,ubar ubar.nc
ncrename -h -O -v water_v,vbar vbar.nc
ncks -v ubar ubar.nc ubar2.nc
ncks -v vbar vbar.nc vbar2.nc
ncks -h -A ubar2.nc all_HYCOM.nc
ncks -h -A vbar2.nc all_HYCOM.nc
ncrename -h -O -v salinity,salt all_HYCOM.nc
ncrename -h -O -v water_temp,temp all_HYCOM.nc
ncrename -h -O -v water_u,u all_HYCOM.nc
ncrename -h -O -v water_v,v all_HYCOM.nc
ncks 'https://tds.hycom.org/thredds/dodsC/GLBy0.08/expt_93.0/ts3z?lon[3000:1:3100],lat[2200:1:2300],time[11000:1:11750],depth[0:1:39],water_temp[11000:1:11750][0:1:39][3000:1:3100][2200:1:2300]' water_temp.nc