-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
submission: rsat #437
Comments
@ropensci-review-bot assign @jhollist as editor |
Assigned! @jhollist is now the editor |
@noamross Thanks for setting me up! @unai-perez Just wanted to let you know that I am new to this editor role. So bare with me as I figure things out. Also, my next week is pretty booked. I'll start digging in where I can, but it'll be first of April before I will be able to make real progress on coordinating the review. Any questions, let me know. |
Thank for the heads-up @jhollist. Looking forward to receiving your comments and the comments from the reviewers. We will both learn along the way. |
@unai-perez Thanks for your patience. I finally was able to get some time to run through this (and learn what needed to be done!). See below for my comments. Let me know if you have questions. Editor checks:
Editor commentsThis looks to be very useful package and builds nicely on existing functionality. It fits well with the ROpenSci criteria. Installation proceeds as expected from both local and GitHub sources. During my checks I did find a number of items that need to be addressed before we can move along with the review process. Pay close attention to https://devguide.ropensci.org/building.html as you revise your submission but see also my comments below for a detailed list. If you have any questions, let me know. Items marked with a Lastly, I do want to reiterate that I think this will be a very useful package. Having a one stop shop for gathering and preparing satellite data is needed and kudos for taking that on! Automated Tests
Masked function names
Checks and TestsTests (e.g.
GoodpracticeMany issues are raised with
Spelling
Tests
|
@jhollist thanks for your comments. I think we can deal with most of the changes in a short period of time. I think the biggest change is the testing. We will try to get to the 70% that you mention. I was wondering if I could send the current version of the package to CRAN. It would be great for us to report that for a project. However, we are concerned about the change of the name of the package during the ropensci revision. Therefore, we would like to receive your advice on this regard. |
Sounds good. Let me get some other opinions on the pre-review CRAN
submission. Stay tuned.
…On Fri, Apr 9, 2021 at 1:05 PM Unai Pérez-Goya ***@***.***> wrote:
@jhollist <https://github.com/jhollist> thanks for your comments.
I think we can deal with most of the changes in a short period of time. I
think the biggest change is the testing. We will try to get to the 70% that
you mention.
I was wondering if I could send the current version of the package to
CRAN. It would be great for us to report that for a project. However, we
are concerned about the change of the name of the package during the
ropensci revision. Therefore, we would like to receive your advice on this
regard.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJPYSYZCZK7SVJO4ILYSRLTH4XWRANCNFSM4ZSADESA>
.
--
Jeffrey W. Hollister
email: ***@***.***
cell: 401 556 4087
https://jwhollister.com
|
@unai-perez, the decision to submit to CRAN is ultimately going to be up to you and your co-authors. That being said the ROpenSci recommendation is to to wait until after review because of the possibility of changes to your package's interface and also because the reviewers will often find problems that could complicate the CRAN submission process. I would like to encourage you to wait a bit on the submission, if you can. I already have a few reviewers in mind and will do my best to speed that part of the process along. As I said, the decision is yours to make, but I think waiting until after the reviews come in will be an easier path in the long run. |
@jhollist thanks for your comments. We decided not to send the package to CRAN until the review process is completed. Automated Tests
Done, we integrated the package in GitHub Actions. Additionally, we change the minimum R version supported by the package to 4.0.0. Packages we depend on have experienced major changes since the 4.0.0. R version, which means that rsat is no longer backward compatible for earlier versions. Masked function names
These masked functions are developed to add functionalities to the new classes created by the package. For example, rsat::subset gets a subset from Checks and TestsTests (e.g.
Done. Now only a few warnings related to modis image projections are displayed
Done.
GoodpracticeMany issues are raised with
Done. The function was divided into smaller functions.
Done. All the packages as Depends were passed to imports. Now the package only uses importFrom.
Done.
Done.
Done.
Done. There are some lines with more than 80 characters, but these are URLs that it is not possible to cut.
Done. We fixed this.
Done. Now the package uses vapply.
Done. Now the package uses seq_len or seq_along.
Done, now we only use importFrom.
Fixed.
Running goodpractice::gc(), there is no warning anymore.
Fixed! We changed all T and F as TRUE and FALSE.
Spelling
We check all the misspellings Tests
Testing APIs and large datasets is challenging and time consuming. We propose an alternative solution to meet this requirement while keeping it simple and computationally fast. We added a new argument called test.mode in some functions. This argument allows to run a few more lines of code to speed-up the testing process and avoid very specific errors that very difficult to anticipate (e.g., omitting calls to the API and replacing them with calls to GitHub mimicking the API response). In addition, we added a new function to test internal methods of the package, which are usually omitted by the test, such as functions designed to order images, etc... With these changes we have managed to exceed the 70% of lines executed in codecov. |
@ropensci-review-bot assign @jhollist as editor |
Assigned! @jhollist is now the editor |
@unai-perez Thanks for addressing these issues. I think we are very close. I have one last thing that needs to be addressed prior to starting review. The tests, as currently constructed, don't finish on my machine. I dug into it a little and it looks like lines 59-70 in test-download.r (https://github.com/spatialstatisticsupna/rsat/blob/381d12de6d974eee0e99e0b41f7fd2931c0b6c15/tests/testthat/test-download.R#L59-L70) are the source of the problem. If I comment those out and re-run the tests everything completes in about 20 minutes on my machine. These do appear to run on CI (at least GitHub Actions didn't throw any errors) so that is a little weird. Full disclosure, I didn't spend too much time trying find the underlying issue. I would like you and your co-authors to do the following:
Any questions or concerns about this, just let me know. |
Dear @jhollist, There is an error with those images at the moment and the API shows that they are not available. The package interprets that images will be available soon and waits for the images to be ready. However, this is not the case and the process gets stuck. We have decided to remove those lines from the test and keep only the lines in test.mode=TRUE. |
Ahh! The fun of API packages. Sounds like this is something that won't be a long-term issue and once fixed you can add that test back in. I think holding that particular test back is a good short-term solution and we can move forward with the review. |
@ropensci-review-bot seeking reviewers |
Please add this badge to the README of your package repository: [](https://github.com/ropensci/software-review/issues/437) Furthermore, if your package does not have a NEWS.md file yet, please create one to capture the changes made during the review process. See https://devguide.ropensci.org/releasing.html#news |
@ropensci-review-bot add @khondula to reviewers |
@khondula added to the reviewers list. Review due date is 2021-05-25. Thanks @khondula for accepting to review! Please refer to our reviewer guide. |
@khondula As we discussed via email, if you need additional time on the review, just let me know. |
@unai-perez Just wanted to give you a quick update and let you know that I haven't forgotten! As you can see in the thread, we have one reviewer. I am working on getting a second. |
@ropensci-review-bot add @mhweber to reviewers |
@ropensci-review-bot reviewers assigned |
@jhollist , @unai-perez, here is my review of Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Estimated hours spent reviewing: 10
Review Comments
|
Hi @jhollist and @unai-perez , please find my review below. Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Estimated hours spent reviewing:
Review CommentsOverall comments This package has nice functionality to help work with satellite data. I was able to reproduce the functionality in most of the vignettes and examples, but outside of the vignettes I found it somewhat difficult to navigate the documentation. This could be improved with more adherence to ropensci's packaging guidelines about function documentation (e.g. should be more obvious to find what an rtoi object is). Second, given the numerous other packages that have overlapping functionality (listed below), the documentation should describe how this package compares whether it is compatible (e.g. can you convert between objects with class rtoi and satellite?). Additionally, there are several functions where warnings are produced based on underlying changes to rspatial packages (ie. phase out of proj4strings), which may affect functionality in the future. I'd recommend revising to address the warnings and if possible add support for terra in addition to or in favor of raster package. Specific comments
Other comments
|
@unai-perez Sorry for late notice on this (on vacation last week!) but both of the reviewers have submitted their reviews. If you have any questions about next steps let me know. Look forward to your responses. |
@unai-perez Just checking in on this. Been about three weeks since the last review came in. Let me know if you have any questions about the process or the reviews. |
Dear @hollis We are working on the main comments from the reviewers; however, these changes require several checks before publication as bugs may arise. The main lines we are addressing are:
In addition, we have detected some problems with the latest versions of R and its dependencies. For example, @khondula has detected some tests that take a long time to finish. Those examples should take only a few seconds, at least the searching commands. Some of the coding used in the modis image search, although it works correctly, should not take more than 1 second to give the result. We have detected that it is a problem that appears with the new version of R and we are solving it. As soon as we have all these changes made and we will comment one by one all the recommendations. |
@unai-perez Sounds like a good plan. I'll check on your progress in a few weeks. |
@unai-perez Just checking in to see how things are going with your response. If there is anything you need on my end, just let me know. |
Dear @jhollist, @khondula and @mhweber. We have finally answered all the comments you have made. The most important and costly question has been the use of terra instead of raster. Now the raster package is only used in a few exceptional code pieces. The user manual has been substantially improved, especially the examples that now allow unitary tests without having to show the whole package workflow over and over again.
Thank you very much, we think your comments have been very accurate and we have implemented all of them. We have corrected the issues and added the contributing section.
Fixed! this does not happen anymore
DONE. We have added new examples that generate different indexes. Some of them are build-in and others are user defined.
DONE. We have decided to change the order of these parameters.
DONE. We have added an example of downloading some records.
DONE. The most important functions in the package now are named as “rsat_”
DONE. We fixed this typo
DONE. We have added this section with a little remote sensing package comparison. Thank you very much for your helpful comments.
Thank you very much for your review, we have followed your indications and we have recoded the package to use terra. We have also revised the entire manual and improved all the entries to make the package easier to use.
DONE. We added this section to the package
DONE. We added a comparison in the readme.
DONE. We added how to create a user account that was missing in the readme
DONE. We rename the vignettes and we add a link in the rsat section of the manual
DONE. We fixed these references.
DONE. We rewrite all the examples in plot to ease its usability
DONE. Now we use 'rsat_’ prefix in the main functions
DONE. We redefine all the examples to show the use of the package
DONE. The function now prints the number of records found in each API.
DONE. Now the example shows more variations of these functions and we add a new function rsat_get_spatRaster to get terra raster class
DONE. We redefine the function to run IMA using terra package and show its different user
FIXED! this does not happen anymore
FIXED! this does not happen anymore
Thank you very much for your helpful comments. |
@unai-perez thank you for getting these edits in! @khondula and @mhweber could you take a look at the edits an the comments above and indicate that your comments have been addressed to your approval/satisfaction? And sorry for the delay in responding to your edits. We are almost there! |
@jhollist , @unai-perez my comments and suggestions have all been addressed - appreciate the work in making these updates! |
Thanks, @mhweber! |
@khondula Do these edits address the suggestions in your review? |
Wow, impressive work @unai-perez!
|
@khondula, I have just checked the vignettes and they are right. Maybe you have installed the package without the argument "build_vignettes=TRUE". Anyway, I have changed the installation guide for installing "rmarkdown" in case it is not already installed, and to compile the vignettes by default. Thank you very much for your comments. |
I can confirm that with |
Thank you, that fixed it! The example in the readme workflow produces an error when I get to the first plot - is it possible that making the toi a range of 2 dates avoids this?
I think everything else I checked looks good. The additional documentation really improves usability! |
@khondula, you're right! I fixed that bug. Now, the single images are displayed correctly with plot. |
@jhollist, @unai-perez has addressed everything from my review |
@ropensci-review-bot approve rsat |
Approved! Thanks @unai-perez for submitting and @khondula, @mhweber for your reviews! 😁 To-dos:
Should you want to acknowledge your reviewers in your package DESCRIPTION, you can do so by making them Welcome aboard! We'd love to host a post about your package - either a short introduction to it with an example for a technical audience or a longer post with some narrative about its development or something you learned, and an example of its use for a broader readership. If you are interested, consult the blog guide, and tag @stefaniebutland in your reply. She will get in touch about timing and can answer any questions. We maintain an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding. Please tell us what could be improved. Last but not least, you can volunteer as a reviewer via filling a short form. |
Yee haw! This one is approved! There are a number tasks that we need to take of now to get this "officially" approved (see #437 (comment)). As this is my first time doing this, we will probably need to learn together on some of these tasks. I'll do my best to keep the process moving along. As you are working on these, let me know if you have any questions or concerns. I also had a few additions for you to think about:
|
@hollis, thank you very much for all the advices and comments. Finally, we have completed all the to-dos. Next, we will submit the package to CRAN and if is accepted we will add the badges to the readme. The final changes made on the repository are the following: To-dos:
|
@unai-perez Fantastic! Great work on the package. One last small thing to update is the suggested citation at the bottom of the README. The CRAN citation that you currently have in the CITATION file is fine, but if rsat wont be on CRAN for a while (e.g. more than a month out) go ahead and update this citation to point to the ropensci repo. Again, nice working with you on this and congratulations! |
Date accepted: 2021-09-30
Due date for @khondula: 2021-05-25Submitting Author: Unai Pérez-Goya (@unai-perez)
Other Authors: Manuel Montesino-SanMartin (@mmontesinosanmartin), Ana F Militino (@militino), María Dolores Ugarte (@lolaugartemartinez)
Repository: https://github.com/spatialstatisticsupna/rsat
Version submitted: 0.1.14
Editor: @jhollist
Reviewers: @khondula, @mhweber
Due date for @mhweber: 2021-06-23
Archive: TBD
Version accepted: TBD
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
The package is focuses on searching, downloading, and preprocessing imagery data from Landsat, Modis, and Sentinel. It also include procedures for deriving variables and cloud filling.
Who is the target audience and what are scientific applications of this package?
Anyone interested in Remote Sensing or researchers looking for satellite imagery data.
Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category?
Nothing that is functionally similar. Many source-specific packages exist, but none that aggregate across sources.
The most similar package could be MODIStsp. But the package only contemplates the use of Modis satellite images, while 'rsat' is focuses on the standardization and homogenization of data between different satellite programs. 'rsat' supports Modis, Landsat and Sentinel data, handling multi platform data in a database and optimizing its processing.
(If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research?
If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted.
Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
Do you intend for this package to go on CRAN?
Do you intend for this package to go on Bioconductor?
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: