Tides in subsurface oceans with meridional varying thickness