Study of a nonlinear boundary-value problem of geophysical relevance