-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Licensing conflict with xclim #12
Comments
Just to clarify that @faph is Florenz A.P. Hollebrandse! |
In the code I can also see these J. R. M. Hosking, William Asquith, Pierre Gérard-Marchant mentioned do you by any chance have contact details for any of them? |
Unfortunately, no. I have no idea how to contact them. |
I think those names are associated with the Fortran code, which has a much more permissive licence, no ? |
They are mentioned in distr.py: https://github.com/Ouranosinc/lmoments3/blob/main/lmoments3/distr.py#L2 |
I have no problem with that as far as my own contributions are concerned. |
Good for me as well. |
I've already expressed this elsewhere, but just for official purposes, I am comfortable with the licensing changes so long as the other authors are on board! |
FYI William Asquith is active on github as @wasquith, for the R code. His code is under GPL v3.0. I'm not sure who provided the translation, it doesn't appear to be in Sam Gillespie's original translation (https://github.com/samgillespie/Python-L-Moments). Sam Gillespie is also on github @samgillespie, they might be able to be contacted through there, but from what I understand their licensing is more permissive, IANAL, but simply including their license would likely be sufficient. |
Thanks. Two good resources but yeah seems pretty hard to deduce who needs to give their consent. I added both to the list above for now. |
I'm also comfortable with these licensing changes, I'm happy for this code to be as freely distributable as possible. |
I'm going to send an email directly to @monocongo to see if we can get his OK on this. I'll ask if he can weigh in on the issue here. Unfortunately, I'm still not sure what we can do about gaining @wasquith's approval. Perhaps we could also email him directly? |
Great. I just emailed @wasquith |
Email sent to @monocongo
And his response:
All good! |
Due to missing approbation from William Asquith, whose work is cited in the code as the source for part of the implementation, we decided to remove One can now pass a We can easily add |
### What kind of change does this PR introduce? * Remove `lmoments3` from xclim's dependencies. * Accept `rv_continuous` instances for the `dist` arguments of the statistical indices ### Does this PR introduce a breaking change? Yes. Passing a mere string and `method='PWM'` is now broken. It will raise a ValueError with a message asking to pass an instance of `lmoments3` instead. This also makes some functions awkward to use. Before, we relied on the `scipy_dist` attribute of `params` to retrieve the distribution when computing statistics. As one can now pass an object that has nothing to do with scipy, those functions (`parametric_quantile` for example) must now also accept the dist as an argument. ### Other information: See Ouranosinc/lmoments3#12. I kinda cheated and made it so the `dist` argument would show up as a "String" parameter to the indicator. This only changes the metadata, distributions objects can still be passed to indicators.
Just as an FYI, We'll leave this issue open for the time being. |
I just found out that most of the L-moments fortran code is implemented here : https://cran.r-project.org/web/packages/lmom/index.html. This package is (actively) maintained by Hosking himself and is released under the CPL 1.0. Thus a solution for this issue would be to say that this package is a derivative of that R package, and we could go forward with #14. I think. |
But is that accurate? My understanding was that this repo is a derivative of this https://github.com/wasquith/lmomco ? |
You are right, I kinda read our license too fast, it does mention « Additional code » from R's |
As mentioned in this discussion on the xclim forum. There currently is a licensing conflict with xclim's Apache 2.0 license and lmoments3 GPL 3 license. The easiest way to resolve this conflict would be to change lmoments 3 license to a more permissive license (e.g. like Apache 2.0). I am using this issue to reach to all lmoments3 contributors and ask whether they'd be willing to change lmoments3 license?
The repo mentions
The text was updated successfully, but these errors were encountered: