Skip to content
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

[REVIEW]: PySDM v1: particle-based cloud modelling package for warm-rain microphysics and aqueous chemistry #3219

Closed
40 tasks done
whedon opened this issue Apr 26, 2021 · 171 comments
Assignees
Labels
accepted Jupyter Notebook published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review

Comments

@whedon
Copy link

whedon commented Apr 26, 2021

Submitting author: @piotrbartman (Piotr Bartman)
Repository: https://github.com/atmos-cloud-sim-uj/PySDM.git
Branch with paper.md (empty if default branch):
Version: v1.27
Editor: @dhhagan
Reviewers: @darothen, @josephhardinee
Archive: 10.5281/zenodo.6321270

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/62cad07440b941f73f57d187df1aa6e9"><img src="https://joss.theoj.org/papers/62cad07440b941f73f57d187df1aa6e9/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/62cad07440b941f73f57d187df1aa6e9/status.svg)](https://joss.theoj.org/papers/62cad07440b941f73f57d187df1aa6e9)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@josephhardinee & @darothen, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @dhhagan know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Review checklist for @josephhardinee

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@piotrbartman) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of Need' that clearly states what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @darothen

Conflict of interest

  • I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@piotrbartman) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of Need' that clearly states what problems the software is designed to solve and who the target audience is?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
@whedon
Copy link
Author

whedon commented Apr 26, 2021

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @jwuttke, @darothen it looks like you're currently assigned to review this paper 🎉.

⚠️ JOSS reduced service mode ⚠️

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

@whedon
Copy link
Author

whedon commented Apr 26, 2021

PDF failed to compile for issue #3219 with the following error:

 Can't find any papers to compile :-(

@whedon
Copy link
Author

whedon commented Apr 26, 2021

Software report (experimental):

github.com/AlDanial/cloc v 1.88  T=0.41 s (534.1 files/s, 31905.4 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                         212           2053           1184           7548
SVG                              1              0             19           1402
Jupyter Notebook                 3              0            207            336
Markdown                         1             38              0            280
YAML                             4             20              4            112
-------------------------------------------------------------------------------
SUM:                           221           2111           1414           9678
-------------------------------------------------------------------------------


Statistical information for the repository 'ee5fa7f3802655beaf36d792' was
gathered on 2021/04/26.
The following historical commit information, by author, was found:

Author                     Commits    Insertions      Deletions    % of changes
Anna Jaruga                      1             3              1            0.01
Bartosz Piasecki                 1            42             23            0.08
Michael                         18           443            170            0.80
Michaeldz36                     37          2661           2424            6.64
Piotr Bartman                   10            14             19            0.04
Sylwester Arabas               417         11939           7609           25.54
piotrbartman                    61          2072           2853            6.44
prbartman                      438         26379          19740           60.27
tehAgitto                        4            84             51            0.18

Below are the number of rows from each author that have survived and are still
intact in the current revision:

Author                     Rows      Stability          Age       % in comments
Bartosz Piasecki             30           71.4          5.1                0.00
Michael                     289           65.2         15.1               10.03
Sylwester Arabas           4438           37.2          3.2                4.35
piotrbartman               6011          290.1          9.3                7.97
tehAgitto                    42           50.0          4.5                2.38

@slayoo
Copy link

slayoo commented Apr 26, 2021

@whedon generate pdf from branch JOSS

@whedon
Copy link
Author

whedon commented Apr 26, 2021

Attempting PDF compilation from custom branch JOSS. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Apr 26, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@darothen
Copy link

Review - @darothen

PySDM is a new open-source package for particle-resolved modeling of the physics and chemistry of cloud and aerosol microphysics. It provides high-performance reference implementations of state-of-the-science process models in a flexible, highly-configurable package that is relatively easy to manipulate and modify to suit a wide variety of cloud and aerosol modeling tasks. It also ships with a back-end for running certain processes on GPUs, although this functionality does not seem to be fully implemented for all configurations which a user may seek to leverage.

Overall this is a high quality and valuable contribution to the field. Many researchers leverage simple box and parcel models for critical work into fundamental aerosol/cloud microphysics, and PySDM provides extremely useful tooling for exploring this domain and for replicating the results of other researchers. However, the library is lacking in documentation, both formally (in clearly defining the complex structure of the objects which comprise the code and how they interact) and informally (through docstrings and other comments/annotations in the code which may allow users to better understand arguments to key functions and how to manipulate and extend them). At present, the authors provide a nice "Hello world" example with some prose on how to configure it, as well as a basic section on package structure and API. But a more comprehensive listing of the arguments, attributes, and parameters that the user should know about in order to configure or extend this example would go a very long way to promote practical usability.

I would encourage the authors to improve or augment this documentation before the final publication of this software paper. However, in all other aspects I find this to be a comprehensive and uniquely valuable software contribution to the cloud and aerosol microphysical modeling community and an ideal candidate for publication in JOSS.

Please note the handful of detailed comments below on specific changes necessary to meet JOSS standards.

General Checks

  • Two authors on the paper (Grzegorz Lazarski and Aleksandra Talar) do not seem to appear as contributors to the repo and aren't listed in "Author Contributions." I don't really believe there is any issue here - for long-incubated software projects like this with lots of research interfaces there have to be many contributors over time! But I do want to note this for the editors.

Functionality

  • A simple install recipe using PyPI is provided, but given the capability to run on the GPU a conda-forge recipe or something which can help readers understand requirements - or provide a turnkey installation with necessary dependencies - would be very helpful! (Issue 494)

  • Installation using the documented instructions misses out on installing pystrict, a required dependency (Issue/PR 495)

Documentation

  • The automated tests seem to work out of the box, but the smoke tests seem to take a very long time to run. Even one of the unit tests (namely attributes/chemistry/test_pH.py) took a disproportionate amount of time compared to the others. Please note that I was not able to run the GPU tests as I did not have immediate access to a GPU-powered machine.

  • While there is extensive, excellent demonstration and example code available from the authors in related, clearly-linked repositories, the API documentation leaves much to be desired. There is a high degree of customizability and configuration exposed to the user, but very little in the way of curated documentation for the APIs and data structures in the software, or docstrings and annotations. As a motivating example, consider the spectra module; in this module, a nice base class for building probability distributions is exposed, but there are no docstrings describing the required and optional arguments for either the base class or any of the sub-classes which implement it. An effort to improve the documentation with basic docstrings for all the core methods and functionality would greatly improve the quality of the software and the user experience when adapting it for a specialized research task. Ideally, a simple Sphinx-based documentation for the key API and configurations exposed to users would follow very plainly from such an effort, greatly improving the ease of access of the software.

  • Community / contribution guidelines are not provided with the repo; the JOSS reviewer guidelines suggest that such documentattion should clearly indicate how third-parties may contribute to the software, report issues, and seek support should they need to do so.

Software Paper

  • The software paper does not include a section which explicitly explains a "Statement of Need." However, I do believe that the prose in the paper covers this topic with the necessary detail. I will defer to the editors whether a stand-alone "Statement of Need" section is required to meet JOSS guidelines.

  • It's much appreciated that the authors include links to open source software which attempts to tackle subsets of the broad functionality that PySDM provides. I would strongly encourage the author to include a brief discussion of each package (particularly pyrcel and PyBox) and compare/contrast the unique or improved functionalities of PySDM relative to each. My take (as the author of one of those libraries, pyrcel!) is that PySDM offers a substantial improvement over each in terms of the breadth of calculations and science/research that can be performed with it as well as the cleanliness of its interface and design for future improvements and extensions. These are all very positive things for PySDM and I would strongly encourage the authors to lean into the fantastic work here to promote the capabilities and utility of their library relative to the competition!

@slayoo
Copy link

slayoo commented Apr 27, 2021

@darothen, on behalf of all authors, let me thank for the feedback!

Let me just address one comment right away:

Two authors on the paper (Grzegorz Lazarski and Aleksandra Talar) do not seem to appear as contributors to the repo and aren't listed in "Author Contributions." I don't really believe there is any issue here - for long-incubated software projects like this with lots of research interfaces there have to be many contributors over time! But I do want to note this for the editors.

GŁ's (@Golui) and AT's (@aleksandratal) contributions were subject to refactors during which we've not preserved commit authorship, yet these can be traced back, e.g., here: open-atmos/PySDM#157 & open-atmos/PySDM#142 Both are mentioned in the "Author Contributions" section:

image

Thanks!

@slayoo
Copy link

slayoo commented May 10, 2021

@whedon generate pdf from branch JOSS

@whedon
Copy link
Author

whedon commented May 10, 2021

Attempting PDF compilation from custom branch JOSS. Reticulating splines etc...

@slayoo
Copy link

slayoo commented May 10, 2021

@whedon generate pdf from branch JOSS

This was just to reflect an API change within one of the code snippets presented in the text:
open-atmos/PySDM@ca4d821

@whedon
Copy link
Author

whedon commented May 10, 2021

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@whedon
Copy link
Author

whedon commented May 10, 2021

👋 @jwuttke, please update us on how your review is going (this is an automated reminder).

@whedon
Copy link
Author

whedon commented May 10, 2021

👋 @darothen, please update us on how your review is going (this is an automated reminder).

@darothen
Copy link

@dhhagan Just checking in here - anything immediately needed from me here?

@slayoo please let me know if there are any PRs or other updates I've missed.

@slayoo
Copy link

slayoo commented May 24, 2021

We are almost done with preparing a release and will soon after post here a point-by-point reply to the review detailing how the points were addressed in the release. Thanks, S.

@dhhagan
Copy link

dhhagan commented May 31, 2021

@darothen Thanks for checking in -> you should be good for now. Just waiting on the other reviewer and updated/patches from the authors before any next steps are needed. Thanks for checking in!

@dhhagan
Copy link

dhhagan commented May 31, 2021

@jwuttke Can you please update us on the status of your review? Thanks!

@piotrbartman
Copy link

@whedon generate pdf from branch JOSS

@whedon
Copy link
Author

whedon commented Jun 25, 2021

Attempting PDF compilation from custom branch JOSS. Reticulating splines etc...

@dhhagan
Copy link

dhhagan commented Jun 26, 2021

@whedon reming @jwuttke in 1 day

@whedon
Copy link
Author

whedon commented Jun 26, 2021

I'm sorry human, I don't understand that. You can see what commands I support by typing:

@whedon commands

@dhhagan
Copy link

dhhagan commented Jun 27, 2021

@whedon remind @jwuttke in 1 day

@editorialbot editorialbot added the recommend-accept Papers recommended for acceptance in JOSS. label Apr 24, 2022
@arfon
Copy link
Member

arfon commented Apr 24, 2022

@editorialbot accept

@editorialbot
Copy link
Collaborator

Doing it live! Attempting automated processing of paper acceptance...

@editorialbot
Copy link
Collaborator

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦

@editorialbot
Copy link
Collaborator

🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited 👉 Creating pull request for 10.21105.joss.03219 joss-papers#3168
  2. Wait a couple of minutes, then verify that the paper DOI resolves https://doi.org/10.21105/joss.03219
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! 🎉🌈🦄💃👻🤘

Any issues? Notify your editorial technical team...

@editorialbot editorialbot added accepted published Papers published in JOSS labels Apr 24, 2022
@arfon
Copy link
Member

arfon commented Apr 24, 2022

@darothen, @josephhardinee – many thanks for your reviews here and to @dhhagan for editing this submission! JOSS relies upon the volunteer effort of people like you and we simply wouldn't be able to do this without you ✨

@piotrbartman – your paper is now accepted and published in JOSS ⚡🚀💥

@arfon arfon closed this as completed Apr 24, 2022
@editorialbot
Copy link
Collaborator

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.03219/status.svg)](https://doi.org/10.21105/joss.03219)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.03219">
  <img src="https://joss.theoj.org/papers/10.21105/joss.03219/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.03219/status.svg
   :target: https://doi.org/10.21105/joss.03219

This is how it will look in your documentation:

DOI

We need your help!

The Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

@slayoo
Copy link

slayoo commented Apr 24, 2022

@arfon Thank you!
In the final paper page that one is redirected to by using the DOI the author list is full of unescaped HTML non-braking space:
image
Is it possible to do correct it?
Thanks

@arfon
Copy link
Member

arfon commented Apr 25, 2022

@slayoo - please remove all of the &nsbp; characters and I'll re-deposit the paper.

@arfon arfon reopened this Apr 25, 2022
@piotrbartman
Copy link

@dhhagan @darothen @josephhardinee @arfon @slayoo Thank you all! 🎉🎉🎉

@slayoo
Copy link

slayoo commented Apr 25, 2022

@slayoo - please remove all of the &nsbp; characters and I'll re-deposit the paper.

Removed: open-atmos/PySDM@cf59297

(note, we have changed the branch name from master to main)

Thank you, @arfon!

@arfon
Copy link
Member

arfon commented Apr 25, 2022

@editorialbot re-accept

@editorialbot
Copy link
Collaborator

I'm sorry human, I don't understand that. You can see what commands I support by typing:

@editorialbot commands

@arfon
Copy link
Member

arfon commented Apr 25, 2022

@editorialbot reaccept

@editorialbot
Copy link
Collaborator

Rebuilding paper!

@editorialbot
Copy link
Collaborator

🌈 Paper updated!

New PDF and metadata files 👉 openjournals/joss-papers#3173

@slayoo
Copy link

slayoo commented Apr 25, 2022

Thank you, @arfon!

@arfon
Copy link
Member

arfon commented Apr 25, 2022

👍 looks like this is now fixed. Closing.

@arfon arfon closed this as completed Apr 25, 2022
@editorialbot
Copy link
Collaborator

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](https://joss.theoj.org/papers/10.21105/joss.03219/status.svg)](https://doi.org/10.21105/joss.03219)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.03219">
  <img src="https://joss.theoj.org/papers/10.21105/joss.03219/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.03219/status.svg
   :target: https://doi.org/10.21105/joss.03219

This is how it will look in your documentation:

DOI

We need your help!

The Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Jupyter Notebook published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review
Projects
None yet
Development

No branches or pull requests