Closed IevgenVovk closed 9 months ago
Thanks for the PR, @IevgenVovk. I will test it in ~2 weeks.
For now, I just have one minor comment.
Since "Saldaña-Lopez" is a composite surname, perhaps the model could be named IRB_SaldanaLopez21
instead of IRB_Saldana21
.
To me it makes no difference at all , so the choice would ultimately depend on the preference of the author of the EBL model (who might just not care about it).
What I can say is that, as someone with two surnames, I do prefer to be cited with both of them instead of just one.
Thanks for the comment, @rafaelab . IRB_SaldanaLopez21
was my preference too, but then I've noticed the data files shared by the authors are called *saldana21*
; I've then decided to follow their naming.
Perfect, @IevgenVovk . I didn't know that, so I think that settles the issue and we keep the current names :)
Hi @IevgenVovk
Everything looks good to me.
Could you just add to CHANGELOG.md
, under "New features", the information that you added IRB_Saldana21
EBL model?
Hi @rafaelab , thanks for checking.
Sure, have updated the CHANGELOG.md
I guess it would be good to include the new model into the default CRPropa models. That means we have to update the default data that is downloaded during the installation process.
I will run the necessary scripts of CRPropa-data and edit this PR accordingly. Afterwards we can approve and merge.
I have updated the data download to a new data package that includes the Saldana 21 data. This is now also reflected in an update to the CRPropa-Data repository (https://github.com/CRPropa/CRPropa3-data/pull/19).
Thanks for the contribution, @IevgenVovk. It works just fine with me.
I have also double checked the CRPropa-data repository modified by @lukasmerten, just to make sure there are no inconsistencies.
I think we can merge this and just open another PR to fix the minor inconsistency in the information displayed when running CMake, as pointed by @JulienDoerner. I don't suppose Ievgen will have this information (like file size) to implement the change himself.
I‘ll update it later today. Thanks for taking a look at it.
This PR adds the recent Saldana-Lopez 2021 EBL model - along with its lower and upper limits - to CRPropa. The model data files are part of the related PR to the CRPropa-data repository.