rho0 = 1027.0 # reference density [kg m**-3] grav = 9.81 # gravity [m s**-2] r_earth = 6.4e06 # earth radis [m] gbuo = -grav/rho0 #