Skip to content

Commit

Permalink
updates for resubmission to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaconet committed Jul 12, 2024
1 parent 4f62db2 commit 2aa1c24
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@
^.github$
^\.github$
^cran-comments\.md$
^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.9.0
Date: 2024-07-10 13:54:46 UTC
SHA: 4a79b55d56cfbad28376df227dbedd44333d922a
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: modisfast
Title: Fast and Efficient Access to 'MODIS' Earth Observation Data
Version: 0.9.0
Title: Fast and Efficient Access to MODIS Earth Observation Data
Version: 0.9.1
Authors@R:
c(person(given = "Paul",
family = "Taconet",
Expand All @@ -12,8 +12,8 @@ Authors@R:
email="nicolas.moiroux@ird.fr",
role = "fnd",
comment = c(ORCID = "0000-0001-6755-6167")),
person("French Research Institute for Sustainable Development, IRD", role = "fnd"))
Description: Programmatic interface to several NASA Earth Observation 'OPeNDAP' servers (Open-source Project for a Network Data Access Protocol) (<https://www.opendap.org/>). Allows for easy downloads of 'MODIS' subsets, as well as other Earth Observation datacubes, in a time-saving and efficient way : by sampling it at the very downloading phase (spatially, temporally and dimensionally).
person("French National Research Institute for Sustainable Development, IRD", role = "fnd"))
Description: Programmatic interface to several NASA Earth Observation 'OPeNDAP' servers (Open-source Project for a Network Data Access Protocol) (<https://www.opendap.org/>). Allows for easy downloads of MODIS subsets, as well as other Earth Observation datacubes, in a time-saving and efficient way : by sampling it at the very downloading phase (spatially, temporally and dimensionally).
License: GPL (>= 3)
URL: https://github.com/ptaconet/modisfast
BugReports: https://github.com/ptaconet/modisfast/issues
Expand Down
2 changes: 1 addition & 1 deletion R/mf_import_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param path character string. mandatory. The path to the local directory where the data are stored.
#' @param output_class character string. Output object class. Currently only "SpatRaster" implemented.
#' @param proj_epsg numeric. EPSG of the desired projection for the output raster (default : source projection of the data).
#' @param roi_mask \code{SpatRaster}, \code{SpatVector}, \code{sf}. Area beyond which data will be masked. Typically, the input ROI of \link{mf_get_url} (default : NULL (no mask))
#' @param roi_mask \code{SpatRaster} or \code{SpatVector} or \code{sf}. Area beyond which data will be masked. Typically, the input ROI of \link{mf_get_url} (default : NULL (no mask))
#' @param vrt boolean. Import virtual raster instead of SpatRaster. Useful for very large files. (default : FALSE)
#' @inheritParams mf_get_url
#'
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ urls <- mf_get_url(
)
## Download the data. By default the data is downloaded in a temporary directory, but you can specify a folder
res_dl <- mf_download_data(urls)
res_dl <- mf_download_data(urls, parallel = T)
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ urls <- mf_get_url(
)

## Download the data. By default the data is downloaded in a temporary directory, but you can specify a folder
res_dl <- mf_download_data(urls)
res_dl <- mf_download_data(urls, parallel = T)
```

**3/ And finally, open the data in R as a `terra::SpatRaster` object
Expand Down
9 changes: 7 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Resubmission
This is a resubmission. In this version I have:

* Removed the single quotes from the word MODIS in title and description in the DESCRIPTION file

## R CMD check results

0 errors | 0 warnings | 1 note
0 errors | 0 warnings | 0 note


* This is a new release.
2 changes: 1 addition & 1 deletion man/mf_import_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/modisfast-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2aa1c24

Please sign in to comment.