Assessment of some wood properties by near infrared spectroscopy