akinremisa / rfsed

Package for standard and sediment correction receiver functions analysis
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

JOSS Review Comment #1 #2

Closed paudetseis closed 1 month ago

paudetseis commented 4 months ago

Hi @akinremisa,

Thank you for making your code public. It looks like an interesting and useful application, and I would likely end up using it myself or recommending it to collaborators. However, I found the package to be deficient in several regards, and I strongly encourage you to address the following comments and suggestions:

This issue relates to https://github.com/openjournals/joss-reviews/issues/6612

akinremisa commented 3 months ago

Hi @paudetseis

Thank you for your review of our repository. Your comments are very helpful in improving the accessibility of the software.

  1. A local installation of the notebook examples is added after installation of rfsed via PyPI. The notebooks are now more detailed step-by-step of how to use the modules.
  2. The environment.yml has been excluded from the repository. And a guide on how to create an environment and install the packages is described in the documentation.
  3. A proper and extended documentation is now done for rfsed. Although the html files are still in the repository
  4. The docstring for the modules are now extended to include what the function does, the parameters, how to initialize/import the function, and a simple demonstration of how to use it. This is also included in the documentation.
  5. The readability of the code has been improved using pep8
paudetseis commented 2 months ago

Thank you, @akinremisa, for making those revisions to the software. I can now install rfsed without a glitch using both pip and cloning. The documentation is also much improved, and the html doc is highly appreciated. I still have a few suggestions for improving the user's experience:

paudetseis commented 2 months ago

Note, I am leaving a couple of checkboxes open in my review, that I will check once these comments have been addressed.

elbeejay commented 2 months ago

Perfect, thanks @paudetseis

akinremisa commented 1 month ago

Hi @paudetseis

Thank you for the new comments. I now addressed them in the repository and also provide the details of the change made below.

  1. The results of the automated tests (waveform fitting) look as such because they use smaller discretization to make them run faster. On running the tests, this is now more clearly described in the documentation. The pytest can be used in the package directory when rfsed is installed by cloning the repository. There is an option to install the automated files locally and then run the tests. This is described in the documentation.

  2. 'tqdm' is a dependency of rf and should be installed automatically along side other dependencies. However, it is also now included in the setup.cfg file.

  3. Because I use Jupyter notebook viewer that is directly linked to the example files in the repository, the same version (executed) is kept for both the online viewing and the repository itself.

  4. I now use a single station data for all the examples (Station OPLO). The station is overlying sedimentary rock and the estimation of the Moho depth and Vp/Vs is poorly constrained when using one-layer H-k stacking, Sequential H-k stacking and the resonance filtering methods. This effect of sediment on the estimation in the examples is not clearly described in the notebook. Also, the waveform fitting approach estimate a more reliable Moho depth and Vp/Vs estimates.

  5. Now, same data (single station - OPLO) is used for all the examples and tests.

paudetseis commented 1 month ago

Tahnk you @akinremisa I appreciate these changes and can now recommend publication at JOSS. I will now close this comment and mark it as complete. Good work!