-
-
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: smapr #231
Comments
Thanks for you submission, @mbjoseph! This fits well within our scope. Editor checks:
Editor comments
One real spelling error from
A note: There's a poorly documented CRAN feature for including bioconductor packages using a I'll go ahead and seek reviewers. Reviewers: @ldecicco-USGS @marcosci |
See ropensci/software-review#231 - tyop in vignette - include biocViews for hdf5 - add URL and BugReports links - fix long lines in tests
Reviewers @ldecicco-USGS and @marcosci assigned. Due date 2008-07-19. Note our review guidelines have recently been consolidated in our development guide. |
@mbjoseph You can now add a review badge to your package README:
|
Great - thanks Noam! |
Hi @marcosci and @ldecicco-USGS! Just a friendly reminder that your reviews are due in 1 week. |
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
Final approval (post-review)
Estimated hours spent reviewing: 2.5-3 hrs Review CommentsGeneral commentsI really like smapr - great work! It was a very pleasant review, the package The package documentation is comprehensive and well written, the code is neat 1. Installation
2. DocumentationGeneral
README
pkgdownIs there a reason why don't use it? It wouldn't be a necessity from my side, VignetteWhile you provide good examples on how to use the functions in smapr, I can just speak for the field I am working in, but I think a lot of people there us <- raster::getData("GADM", country="USA", level=1)
california <- subset(us, NAME_1 == "California")
california <- sp::spTransform(california, proj4string(sm_raster))
sm_crop <- raster::crop(sm_raster, raster::extent(california))
sm_mask <- raster::mask(sm_crop , california)
raster::plot(sm_mask) I would consider this whole point a bonus, but when I think back starting with 3. Code.RprofileSomething for lazy people like me: set_credentials <- function(ed_un, ed_pw){
write(paste0("Sys.setenv(ed_un = \"",ed_un,"\", ed_pw = \"", ed_pw, "\")"),
file=file.path(Sys.getenv("HOME"), ".Rprofile"),append=TRUE)
} An auxiliary function like that would help to simplify the need for setting the oauth credentials. Plus, new users don't have to locate .Rprofile and/or one can set it easily on remote machines. 4. Future proofingJust to bring that on your radar: https://github.com/r-spatial/stars/. This also came up in our submission here and I only found an issue discussing sf over sp for packages onboarding rOpenSci. 5. Smaller ToDosTo save @noamross some work:
6. ConclusionThat's a rather short review 😮 ... I would blame the quality of the package 😉 |
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:
The description is clear of what the package does. It wouldn't hurt to add a sentence or two right at the beginning expanding on the type of data and type of processing.
My eyes swept over the Bioconductor instructions, so at first, it took me a bit to figure out how to install the
Before Finding the data, it would probably be a good idea to have a short section on going to the NASA page to get a user name and password. The error message however was very useful, so I knew exactly what to do. When I ran:
Debuging, I got to this line:
and it appeared to be a 401. I eventually realized I had typed the wrong password. I think you could check on that response and make the error message there more clear. Once I got that straighted up, it was off to the races...I thought. The The README explains what id to use, but the vignette does not. I'm not a big fan of copy/paste, but it's easier to access the vignette once I'm already in R (compared to the readme). Could you add that "Dataset id" table (with the id's) so I can think about looking for more data? The vignette provided exactly the information needed to run the functions in the package. That being said...I was really curious what I could do next. Could you show how to filter the data into some region?
In the
The examples worked!
Functionality
Final approval (post-review)
Estimated hours spent reviewing: 2 Review CommentsNice package! Do you have a connection to the data? I'm going to guess you'll get lots of questions on the data itself and why the services are down (if they go down!). Those requests usually are phrased "smapr is broken!!!!". No matter what your relationship is, it would be a good idea to make sure you the data providers know this package is out there. They may be interested in having you add a "user agent" for example, so they (and you) can get an idea of how often data is downloaded from the Otherwise, the code looks nice, the style is consistent, the test coverage is excellent. |
As suggested by @marcosci in ropensci/software-review#231 This also adds a repo status badge as recommended by the codemetar package.
Thanks @marcosci and @ldecicco-USGS for your reviews! This is all great feedback. |
Thanks your review @ldecicco-USGS! @mbjoseph, if you use issues in your own repo to track how you address the reviews, please summarize the changes here when you are done. |
Will do @noamross - thanks! |
Thanks again @marcosci, @ldecicco-USGS, and @noamross for your time and reviews. Here are the point-by-point changes: Review 1 from @marcosci1. Installation
2. Documentation
3. Code
4. Future proofingThanks for pointing out the stars package! I'll keep my eye on it as a potential replacement for rhdf5 and raster. 5. Smaller ToDos
Review 2 from @ldecicco-USGSDocumentation
Shoot! Fortunately this shouldn't be needed anymore with the
Not really - other that we work in the same city! The National Snow and Ice Data Center (which hosts the data) is aware of the package, however. |
Sorry - just accidentally hit "Close and comment"! The above summarizes the changes that were made. I really appreciate everyone's help with this - the package is much improved now thanks to these detailed (and friendly 😃) reviews! |
Thanks, @mbjoseph! @marcosci and @ldecicco-USGS, please let us know if Max's changes address your comments. |
They sure do. Great job @mbjoseph ! |
Superb @mbjoseph ! Just had a look at everything, looks perfect! Well done. |
Quick note from a final set of package checks, @mbjoseph: Please add Once you've done that, approved! Thanks for submitting and @marcosci and @ldecicco-USGS for your reviews! To-dos:
Should you want to awknowledge your reviewers in your package DESCRIPTION, you can do so by making them Welcome aboard! We'd also love a blog post about your package, either a short-form intro to it (https://ropensci.org/tech-notes/) or long-form post with more narrative about its development. (https://ropensci.org/blog/). If you are interested, @stefaniebutland will be in touch about content and timing. We've started putting together a gitbook with our best practices and tips, this chapter starts the 3d section that's about guidance for after onboarding. Please tell us what could be improved, the corresponding repo is here. |
Great - thanks @noamross! I have updated the .Rbuildignore file (ropensci/smapr@9a6e31c), transferred the repo to the ropensci org, added the footer (ropensci/smapr@a8f9198), updated badges (ropensci/smapr@acfe300), and updated the Codemeta file (ropensci/smapr@dbf3db6). I'd love to add @ldecicco-USGS and @marcosci as reviewers if they are comfortable with it. I'd also be happy to write a blog post about smapr, and I'll take a look at the onboarding section of the gitbook! |
Excellent. @stefaniebutland will be in touch about the blog schedule, in the meantime instructions for putting together post are here. https://github.com/ropensci/roweb2/blob/master/readme.md. I'm closing the issue but feel free to carry on that conversation here. I've made you admin of the repo over the the rOpenSci org. Your other collaborators have write permissions. Feel free to increase their permission levels if needed be. |
Hello @mbjoseph. Glad to hear you're interested in contributing a post. Our hope is that it gets more eyes on your work! This link will give you many examples of blog posts by authors of onboarded packages so you can get an idea of the style and length you prefer: https://ropensci.org/tags/review/. Technotes are here: https://ropensci.org/technotes/. As Noam said, here are some technical and editorial guidelines for contributing a blog post: https://github.com/ropensci/roweb2#contributing-a-blog-post. We ask that you submit your draft post via pull request a week before the planned publication date so we can give you some feedback. At this point I have open publication slots in September. Do you want to pick a date for draft submission? Happy to answer any questions. |
Heya @stefaniebutland - September sounds great! How about Sep 15 deadline to submit a draft? |
draft Sep 15 sounds great. I'll mark my calendar to ping you here then. Don't hesitate to ask questions here, or on Slack now that you're there :-) |
@mbjoseph Are you still good with a Sep 15 draft for publication 2018-09-25? |
@stefaniebutland yes - thanks for checking! |
Summary
The smapr package discovers, downloads, and extracts global soil moisture data from the NASA SMAP mission, producing
raster
objects from HDF5 files.URL for the package (the development repository, not a stylized html page): https://github.com/earthlab/smapr
Please indicate which category or categories from our package fit policies this package falls under *and why(? (e.g., data retrieval, reproducibility. If you are unsure, we suggest you make a pre-submission inquiry.):
[e.g., "data extraction, because the package parses a scientific data file format"]
data retrieval and munging - smapr finds and downloads data, and extracts gridded spatial from HDF5 files with the correct projection information.
Soil scientists, ecologists, and people working in the remote sensing domain could use the package to quantify changes in soil moisture, detect droughts, generate covariate layers for species distribution models, and validate other soil moisture data products.
yours differ or meet our criteria for best-in-category?
There is another smapr package, but it does not support the breadth of SMAP data products that this package does, and development seems to have ceased ~3 years ago: https://github.com/strongh/smapr. This smapr package has more thorough documentation and tests, allows extraction of multiple soil moisture data products, and has been on CRAN since 2016.
Requirements
Confirm each of the following by checking the box. This package:
Publication options
paper.md
matching JOSS's requirements with a high-level description in the package root or ininst/
.Detail
[ x ] Does
R CMD check
(ordevtools::check()
) succeed? Paste and describe any errors or warnings:[ x ] Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
If this is a resubmission following rejection, please explain the change in circumstances:
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
Anyone with experience in programmatically finding and getting data from a https server, and/or working with HDF5 raster data would be great - perhaps:
The text was updated successfully, but these errors were encountered: