subroutine sampleBinnedAttitude(binnedAtt, time, outAtt, attIsGood& , attIsNew) type(attBinType), intent(in) :: binnedAtt(:) real(double), intent(in) :: time type(SpacecraftAttitudeType), intent(out) :: outAtt logical, intent(out) :: attIsGood, attIsNew end subroutine