I think you can used matlab software, it is simple to use by plsregress function. The weblink: https://cn.mathworks.com/help/stats/plsregress.html. I hope that it will help you!
Can you please send a dummy example of inputs (i.e. X,Y and ncomp) so that i can use it in matlab expression i.e. [XL,YL] = plsregress(X,Y,ncomp) and understand the concept also. If you can please take an example of hyperspectral reflectance values for chlorophyll estimation.