Earth's bow shock and magnetopause in the case of a field-aligned upstream flow: Observation and model comparison