Applying an accurate spherical model to gamma-ray burst afterglow observations