The excitation and abundance of HDO toward W3(OH)/(H2O)