From 334a24c6a618bffab1074af7a7342b3d26f99556 Mon Sep 17 00:00:00 2001 From: Luigi Ranghetti <6874239+ranghetti@users.noreply.github.com> Date: Tue, 9 Apr 2019 11:27:44 +0200 Subject: [PATCH] Update documentation to v.1.0.1 (#170) --- DESCRIPTION | 2 +- README.md | 4 +- docs/LICENSE-text.html | 2 +- docs/articles/docker.html | 2 +- docs/articles/index.html | 2 +- docs/articles/installation.html | 2 +- docs/authors.html | 6 +-- docs/index.html | 6 +-- docs/reference/abs2rel.html | 2 +- docs/reference/add_rgb_image.html | 2 +- docs/reference/check_gdal.html | 2 +- docs/reference/check_param_list.html | 2 +- docs/reference/check_sen2r_deps.html | 2 +- docs/reference/compute_s2_paths.html | 2 +- docs/reference/comsub.html | 2 +- docs/reference/create_indices_db.html | 2 +- docs/reference/create_s2_dop.html | 2 +- docs/reference/editModPoly.html | 2 +- docs/reference/expand_path.html | 2 +- docs/reference/gdal_abs2rel_rel2abs.html | 2 +- docs/reference/gdal_formats_db.html | 2 +- docs/reference/gdal_warp.html | 2 +- docs/reference/gdalwarp_grid.html | 2 +- docs/reference/geograbber_process.html | 2 +- docs/reference/get_rastype.html | 2 +- docs/reference/get_spatype.html | 2 +- docs/reference/get_vectype.html | 2 +- docs/reference/import_s2download.html | 2 +- docs/reference/index.html | 2 +- docs/reference/init_python.html | 2 +- docs/reference/install_aria2.html | 2 +- docs/reference/install_s2download.html | 2 +- docs/reference/install_sen2cor.html | 2 +- docs/reference/install_wget.html | 2 +- docs/reference/list_indices.html | 2 +- docs/reference/load_binpaths.html | 2 +- docs/reference/load_extent.html | 2 +- docs/reference/maskapply_parallel.html | 2 +- docs/reference/mountpoint.html | 2 +- docs/reference/nn.html | 2 +- docs/reference/normalize_path.html | 2 +- docs/reference/print_message.html | 2 +- docs/reference/projpar.html | 2 +- docs/reference/raster2rgb.html | 2 +- docs/reference/s2_calcindices.html | 2 +- docs/reference/s2_defNA.html | 2 +- docs/reference/s2_dop.html | 54 ++++++++++++------------ docs/reference/s2_download.html | 2 +- docs/reference/s2_gui.html | 2 +- docs/reference/s2_list.html | 2 +- docs/reference/s2_mask.html | 2 +- docs/reference/s2_merge.html | 2 +- docs/reference/s2_rgb.html | 2 +- docs/reference/s2_thumbnails.html | 2 +- docs/reference/s2_tiles.html | 2 +- docs/reference/s2_translate.html | 2 +- docs/reference/safe_getMetadata.html | 2 +- docs/reference/safe_shortname.html | 2 +- docs/reference/scihub_login.html | 2 +- docs/reference/sen2cor.html | 2 +- docs/reference/sen2r.html | 2 +- docs/reference/sen2r_getElements.html | 39 +++-------------- docs/reference/smooth_mask.html | 2 +- docs/reference/st_crs2.html | 2 +- docs/reference/stack2rgb.html | 2 +- docs/reference/tiles_intersects.html | 39 ++++++++++------- docs/reference/trace_function.html | 2 +- index.md | 4 +- inst/CITATION | 6 +-- inst/extdata/indices.json | 4 +- man/tiles_intersects.Rd | 4 +- 71 files changed, 135 insertions(+), 153 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index a3b71be2..5449e60c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: sen2r Type: Package Title: An R toolbox to find, download and preprocess Sentinel-2 data -Version: 1.0.0 +Version: 1.0.1 Authors@R: c(person("Luigi", "Ranghetti", email = "ranghetti.l@irea.cnr.it", role = c("aut", "cre"), diff --git a/README.md b/README.md index efc98432..33a5877b 100644 --- a/README.md +++ b/README.md @@ -89,14 +89,14 @@ The functionalities to search and download SAFE tiles are based on the Python to To cite this library, please use the following entry: -Ranghetti, L. and Busetto, L. (2019). *sen2r: an R toolbox to find, download and preprocess Sentinel-2 data*. R package version 1.0.0. DOI: [10.5281/zenodo.1240384](https://dx.doi.org/10.5281/zenodo.1240384). URL: . +Ranghetti, L. and Busetto, L. (2019). *sen2r: an R toolbox to find, download and preprocess Sentinel-2 data*. R package version 1.0.1. DOI: [10.5281/zenodo.1240384](https://dx.doi.org/10.5281/zenodo.1240384). URL: . ``` bibtex @Manual{sen2r, title = {sen2r: an R toolbox to find, download and preprocess Sentinel-2 data}, author = {Luigi Ranghetti and Lorenzo Busetto}, year = {2019}, - note = {R package version 1.0.0}, + note = {R package version 1.0.1}, doi = {10.5281/zenodo.1240384}, url = {http://sen2r.ranghetti.info}, } diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 805e4835..13f27bf2 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -70,7 +70,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/articles/docker.html b/docs/articles/docker.html index 6b5b7899..73927592 100644 --- a/docs/articles/docker.html +++ b/docs/articles/docker.html @@ -36,7 +36,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/articles/index.html b/docs/articles/index.html index 80e017a9..b6f057b5 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -70,7 +70,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/articles/installation.html b/docs/articles/installation.html index c2a37193..79d95777 100644 --- a/docs/articles/installation.html +++ b/docs/articles/installation.html @@ -36,7 +36,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/authors.html b/docs/authors.html index 2b02f568..8525c38a 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -70,7 +70,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 @@ -109,13 +109,13 @@

Citation

Ranghetti L, Busetto L (2019). sen2r: an R toolbox to find, download and preprocess Sentinel-2 data. -doi: 10.5281/zenodo.1240384, R package version 1.0.0, http://sen2r.ranghetti.info. +doi: 10.5281/zenodo.1240384, R package version 1.0.1, http://sen2r.ranghetti.info.

@Manual{,
   author = {Luigi Ranghetti and Lorenzo Busetto},
   title = {sen2r: an R toolbox to find, download and preprocess Sentinel-2 data},
   year = {2019},
-  note = {R package version 1.0.0},
+  note = {R package version 1.0.1},
   doi = {10.5281/zenodo.1240384},
   url = {http://sen2r.ranghetti.info},
 }
diff --git a/docs/index.html b/docs/index.html index bad98b4b..32f86148 100644 --- a/docs/index.html +++ b/docs/index.html @@ -37,7 +37,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 @@ -150,12 +150,12 @@

The sen2r logo, partially derived from the R logo, is released under the Creative Commons Attribution-ShareAlike 4.0 International license (CC-BY-SA 4.0).

The functionalities to search and download SAFE tiles are based on the Python tool Sentinel-download by Olivier Hagolle, released under the GNU General Public License version 2 (GPL‑2).

To cite this library, please use the following entry:

-

Ranghetti, L. and Busetto, L. (2019). sen2r: an R toolbox to find, download and preprocess Sentinel-2 data. R package version 1.0.0. DOI: 10.5281/zenodo.1240384. URL: http://sen2r.ranghetti.info.

+

Ranghetti, L. and Busetto, L. (2019). sen2r: an R toolbox to find, download and preprocess Sentinel-2 data. R package version 1.0.1. DOI: 10.5281/zenodo.1240384. URL: http://sen2r.ranghetti.info.

@Manual{sen2r,
   title  = {sen2r: an R toolbox to find, download and preprocess Sentinel-2 data},
   author = {Luigi Ranghetti and Lorenzo Busetto},
   year   = {2019},
-  note   = {R package version 1.0.0},
+  note   = {R package version 1.0.1},
   doi    = {10.5281/zenodo.1240384},
   url    = {http://sen2r.ranghetti.info},
 }
diff --git a/docs/reference/abs2rel.html b/docs/reference/abs2rel.html index c22f0ff6..75a7321e 100644 --- a/docs/reference/abs2rel.html +++ b/docs/reference/abs2rel.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/add_rgb_image.html b/docs/reference/add_rgb_image.html index a4cd56ba..edcfdb9e 100644 --- a/docs/reference/add_rgb_image.html +++ b/docs/reference/add_rgb_image.html @@ -73,7 +73,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/check_gdal.html b/docs/reference/check_gdal.html index 522ecd74..163ffddf 100644 --- a/docs/reference/check_gdal.html +++ b/docs/reference/check_gdal.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/check_param_list.html b/docs/reference/check_param_list.html index 92d15d2f..128722cf 100644 --- a/docs/reference/check_param_list.html +++ b/docs/reference/check_param_list.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/check_sen2r_deps.html b/docs/reference/check_sen2r_deps.html index 7a355bbf..2319f5e9 100644 --- a/docs/reference/check_sen2r_deps.html +++ b/docs/reference/check_sen2r_deps.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/compute_s2_paths.html b/docs/reference/compute_s2_paths.html index 91f30843..fe0ae046 100644 --- a/docs/reference/compute_s2_paths.html +++ b/docs/reference/compute_s2_paths.html @@ -82,7 +82,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/comsub.html b/docs/reference/comsub.html index 9ef60adc..a6c4d548 100644 --- a/docs/reference/comsub.html +++ b/docs/reference/comsub.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/create_indices_db.html b/docs/reference/create_indices_db.html index 58926767..80841689 100644 --- a/docs/reference/create_indices_db.html +++ b/docs/reference/create_indices_db.html @@ -79,7 +79,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/create_s2_dop.html b/docs/reference/create_s2_dop.html index 2814a549..5145fbe0 100644 --- a/docs/reference/create_s2_dop.html +++ b/docs/reference/create_s2_dop.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/editModPoly.html b/docs/reference/editModPoly.html index 9a1b6f78..ca4b866a 100644 --- a/docs/reference/editModPoly.html +++ b/docs/reference/editModPoly.html @@ -73,7 +73,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/expand_path.html b/docs/reference/expand_path.html index e3eedd7c..84a32334 100644 --- a/docs/reference/expand_path.html +++ b/docs/reference/expand_path.html @@ -78,7 +78,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/gdal_abs2rel_rel2abs.html b/docs/reference/gdal_abs2rel_rel2abs.html index 8e2fe2bc..aa1a7b5a 100644 --- a/docs/reference/gdal_abs2rel_rel2abs.html +++ b/docs/reference/gdal_abs2rel_rel2abs.html @@ -82,7 +82,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/gdal_formats_db.html b/docs/reference/gdal_formats_db.html index aaef11f5..39d4d9a9 100644 --- a/docs/reference/gdal_formats_db.html +++ b/docs/reference/gdal_formats_db.html @@ -81,7 +81,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/gdal_warp.html b/docs/reference/gdal_warp.html index 241c8f12..ea29d214 100644 --- a/docs/reference/gdal_warp.html +++ b/docs/reference/gdal_warp.html @@ -78,7 +78,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/gdalwarp_grid.html b/docs/reference/gdalwarp_grid.html index 7588b794..631cdcd9 100644 --- a/docs/reference/gdalwarp_grid.html +++ b/docs/reference/gdalwarp_grid.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/geograbber_process.html b/docs/reference/geograbber_process.html index c35b0c98..69b2e2d9 100644 --- a/docs/reference/geograbber_process.html +++ b/docs/reference/geograbber_process.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/get_rastype.html b/docs/reference/get_rastype.html index df597530..682bf947 100644 --- a/docs/reference/get_rastype.html +++ b/docs/reference/get_rastype.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/get_spatype.html b/docs/reference/get_spatype.html index 52505397..dc8ca186 100644 --- a/docs/reference/get_spatype.html +++ b/docs/reference/get_spatype.html @@ -77,7 +77,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/get_vectype.html b/docs/reference/get_vectype.html index 5ea97ae2..e7a2a30a 100644 --- a/docs/reference/get_vectype.html +++ b/docs/reference/get_vectype.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/import_s2download.html b/docs/reference/import_s2download.html index dc3bab0e..ece71cc7 100644 --- a/docs/reference/import_s2download.html +++ b/docs/reference/import_s2download.html @@ -77,7 +77,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/index.html b/docs/reference/index.html index f6d478ca..eb13de2a 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -70,7 +70,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/init_python.html b/docs/reference/init_python.html index 4a409d18..f405639a 100644 --- a/docs/reference/init_python.html +++ b/docs/reference/init_python.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/install_aria2.html b/docs/reference/install_aria2.html index a1dca810..de187b5b 100644 --- a/docs/reference/install_aria2.html +++ b/docs/reference/install_aria2.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/install_s2download.html b/docs/reference/install_s2download.html index 656c543e..4a88216c 100644 --- a/docs/reference/install_s2download.html +++ b/docs/reference/install_s2download.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/install_sen2cor.html b/docs/reference/install_sen2cor.html index d97cdab0..5c234bc0 100644 --- a/docs/reference/install_sen2cor.html +++ b/docs/reference/install_sen2cor.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/install_wget.html b/docs/reference/install_wget.html index f4b6af8f..7211efe0 100644 --- a/docs/reference/install_wget.html +++ b/docs/reference/install_wget.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/list_indices.html b/docs/reference/list_indices.html index fa968f9f..54c1bc25 100644 --- a/docs/reference/list_indices.html +++ b/docs/reference/list_indices.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/load_binpaths.html b/docs/reference/load_binpaths.html index 79f9f971..4520ad11 100644 --- a/docs/reference/load_binpaths.html +++ b/docs/reference/load_binpaths.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/load_extent.html b/docs/reference/load_extent.html index 39a3c200..56dab4cf 100644 --- a/docs/reference/load_extent.html +++ b/docs/reference/load_extent.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/maskapply_parallel.html b/docs/reference/maskapply_parallel.html index a1a18d29..8cf11a56 100644 --- a/docs/reference/maskapply_parallel.html +++ b/docs/reference/maskapply_parallel.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/mountpoint.html b/docs/reference/mountpoint.html index 0923376a..b6fc7061 100644 --- a/docs/reference/mountpoint.html +++ b/docs/reference/mountpoint.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/nn.html b/docs/reference/nn.html index a06a5d56..2e1afb71 100644 --- a/docs/reference/nn.html +++ b/docs/reference/nn.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/normalize_path.html b/docs/reference/normalize_path.html index 9f92f525..e6d47466 100644 --- a/docs/reference/normalize_path.html +++ b/docs/reference/normalize_path.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/print_message.html b/docs/reference/print_message.html index 3fd1f921..b68a5408 100644 --- a/docs/reference/print_message.html +++ b/docs/reference/print_message.html @@ -73,7 +73,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/projpar.html b/docs/reference/projpar.html index 9c30cb4a..95b96ae6 100644 --- a/docs/reference/projpar.html +++ b/docs/reference/projpar.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/raster2rgb.html b/docs/reference/raster2rgb.html index d06027f5..0d140cc1 100644 --- a/docs/reference/raster2rgb.html +++ b/docs/reference/raster2rgb.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_calcindices.html b/docs/reference/s2_calcindices.html index 33e6840c..b7dae2e8 100644 --- a/docs/reference/s2_calcindices.html +++ b/docs/reference/s2_calcindices.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_defNA.html b/docs/reference/s2_defNA.html index f1a08941..881908bc 100644 --- a/docs/reference/s2_defNA.html +++ b/docs/reference/s2_defNA.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_dop.html b/docs/reference/s2_dop.html index 69c7a35a..d084fc97 100644 --- a/docs/reference/s2_dop.html +++ b/docs/reference/s2_dop.html @@ -82,7 +82,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 @@ -180,38 +180,38 @@

Note

Examples

# All the passages in a cycle of 10 days over all the orbits s2_dop()
#> date mission orbit -#> 1: 2019-03-27 2A 045 -#> 2: 2019-03-27 2A 046 -#> 3: 2019-03-27 2A 047 -#> 4: 2019-03-27 2A 048 -#> 5: 2019-03-27 2A 049 +#> 1: 2019-04-09 2A 088 +#> 2: 2019-04-09 2A 089 +#> 3: 2019-04-09 2A 090 +#> 4: 2019-04-09 2A 091 +#> 5: 2019-04-09 2A 092 #> --- -#> 282: 2019-04-05 2B 111 -#> 283: 2019-04-05 2B 112 -#> 284: 2019-04-05 2B 113 -#> 285: 2019-04-05 2B 114 -#> 286: 2019-04-05 2B 115
+#> 282: 2019-04-18 2B 011 +#> 283: 2019-04-18 2B 012 +#> 284: 2019-04-18 2B 013 +#> 285: 2019-04-18 2B 014 +#> 286: 2019-04-18 2B 015
# The passages in the current month over two orbits s2_dop(c("022", "065"), "this month")
#> date mission orbit -#> 1: 2019-03-03 2B 065 -#> 2: 2019-03-05 2A 022 -#> 3: 2019-03-08 2A 065 -#> 4: 2019-03-10 2B 022 -#> 5: 2019-03-13 2B 065 -#> 6: 2019-03-15 2A 022 -#> 7: 2019-03-18 2A 065 -#> 8: 2019-03-20 2B 022 -#> 9: 2019-03-23 2B 065 -#> 10: 2019-03-25 2A 022 -#> 11: 2019-03-28 2A 065 -#> 12: 2019-03-30 2B 022
+#> 1: 2019-04-02 2B 065 +#> 2: 2019-04-04 2A 022 +#> 3: 2019-04-07 2A 065 +#> 4: 2019-04-09 2B 022 +#> 5: 2019-04-12 2B 065 +#> 6: 2019-04-14 2A 022 +#> 7: 2019-04-17 2A 065 +#> 8: 2019-04-19 2B 022 +#> 9: 2019-04-22 2B 065 +#> 10: 2019-04-24 2A 022 +#> 11: 2019-04-27 2A 065 +#> 12: 2019-04-29 2B 022
# The dates in which Sentinel-2A will pass in next six weeks over one orbit -s2_dop("022", "6 weeks", mission = "2A")$date
#> [1] "2019-03-25" "2019-04-04" "2019-04-14" "2019-04-24" "2019-05-04"
+s2_dop("022", "6 weeks", mission = "2A")$date
#> [1] "2019-04-14" "2019-04-24" "2019-05-04" "2019-05-14"
# The date in which Sentinel-2A would be passed in the last 10 days over one orbit -s2_dop("022", "-10 days", mission = "2A")$date
#> [1] "2019-03-25"
+s2_dop("022", "-10 days", mission = "2A")$date
#> [1] "2019-04-04"
# All the orbits covered today -s2_dop(timewindow = Sys.Date(), mission = "2B")$orbit
#> [1] "116" "117" "118" "119" "120" "121" "122" "123" "124" "125" "126" "127" -#> [13] "128" "129" "130"
+s2_dop(timewindow = Sys.Date(), mission = "2B")$orbit
#> [1] "016" "017" "018" "019" "020" "021" "022" "023" "024" "025" "026" "027" +#> [13] "028" "029"
# The passages in a fixed time window for one orbit s2_dop(65, as.Date(c("2018-08-01", "2018-08-31")))
#> date mission orbit #> 1: 2018-08-05 2B 065 diff --git a/docs/reference/s2_download.html b/docs/reference/s2_download.html index a39897c4..2d241f1b 100644 --- a/docs/reference/s2_download.html +++ b/docs/reference/s2_download.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1
diff --git a/docs/reference/s2_gui.html b/docs/reference/s2_gui.html index a4c350a0..148dbd4b 100644 --- a/docs/reference/s2_gui.html +++ b/docs/reference/s2_gui.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_list.html b/docs/reference/s2_list.html index e8cf83ca..22ec395c 100644 --- a/docs/reference/s2_list.html +++ b/docs/reference/s2_list.html @@ -77,7 +77,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_mask.html b/docs/reference/s2_mask.html index af1dd990..245c1faf 100644 --- a/docs/reference/s2_mask.html +++ b/docs/reference/s2_mask.html @@ -78,7 +78,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_merge.html b/docs/reference/s2_merge.html index 139b9f6d..2f36e1cf 100644 --- a/docs/reference/s2_merge.html +++ b/docs/reference/s2_merge.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_rgb.html b/docs/reference/s2_rgb.html index cb5cd2fd..83ae6a2c 100644 --- a/docs/reference/s2_rgb.html +++ b/docs/reference/s2_rgb.html @@ -73,7 +73,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_thumbnails.html b/docs/reference/s2_thumbnails.html index 0b376c24..f2dd8143 100644 --- a/docs/reference/s2_thumbnails.html +++ b/docs/reference/s2_thumbnails.html @@ -78,7 +78,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_tiles.html b/docs/reference/s2_tiles.html index 89834539..86ec589d 100644 --- a/docs/reference/s2_tiles.html +++ b/docs/reference/s2_tiles.html @@ -73,7 +73,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/s2_translate.html b/docs/reference/s2_translate.html index 3bb38f72..dc1adc99 100644 --- a/docs/reference/s2_translate.html +++ b/docs/reference/s2_translate.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/safe_getMetadata.html b/docs/reference/safe_getMetadata.html index f8f9f3f4..1dc47e5f 100644 --- a/docs/reference/safe_getMetadata.html +++ b/docs/reference/safe_getMetadata.html @@ -79,7 +79,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/safe_shortname.html b/docs/reference/safe_shortname.html index 0afdd282..7a387bb1 100644 --- a/docs/reference/safe_shortname.html +++ b/docs/reference/safe_shortname.html @@ -77,7 +77,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/scihub_login.html b/docs/reference/scihub_login.html index 8d8d7206..20bc7bae 100644 --- a/docs/reference/scihub_login.html +++ b/docs/reference/scihub_login.html @@ -79,7 +79,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/sen2cor.html b/docs/reference/sen2cor.html index 9ecc2ac8..0fc91fd5 100644 --- a/docs/reference/sen2cor.html +++ b/docs/reference/sen2cor.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/sen2r.html b/docs/reference/sen2r.html index ec4114c4..4cf80a5c 100644 --- a/docs/reference/sen2r.html +++ b/docs/reference/sen2r.html @@ -77,7 +77,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/sen2r_getElements.html b/docs/reference/sen2r_getElements.html index 4da9e18a..9b1d755d 100644 --- a/docs/reference/sen2r_getElements.html +++ b/docs/reference/sen2r_getElements.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 @@ -121,7 +121,7 @@

Get information from S2 short name

-
sen2r_getElements(s2_names, format = "list", abort = TRUE)
+
sen2r_getElements(s2_names, format = "data.table", abort = TRUE)

Arguments

@@ -133,7 +133,7 @@

Arg

- + @@ -145,7 +145,7 @@

Arg

Value

-

A list or a data.frame of the output metadata.

+

A data.table, data.frame or list of the output metadata.

Note

@@ -158,33 +158,8 @@

Examp "/path/of/the/product/S2A1C_20170603_022_32TQQ_TOA_20.tif" # Return metadata -sen2r_getElements(fs2nc_examplename)
#> $type -#> [1] "tile" -#> -#> $mission -#> [1] "A" -#> -#> $level -#> [1] "1C" -#> -#> $sensing_date -#> [1] "2017-06-03" -#> -#> $id_orbit -#> [1] "022" -#> -#> $id_tile -#> [1] "32TQQ" -#> -#> $prod_type -#> [1] "TOA" -#> -#> $res -#> [1] "20m" -#> -#> $file_ext -#> [1] "tif" -#>
+sen2r_getElements(fs2nc_examplename)
#> type mission level sensing_date id_orbit extent_name prod_type res file_ext +#> 1: tile A 1C 2017-06-03 022 32TQQ TOA 20m tif
diff --git a/docs/reference/smooth_mask.html b/docs/reference/smooth_mask.html index 329bc418..a5379a33 100644 --- a/docs/reference/smooth_mask.html +++ b/docs/reference/smooth_mask.html @@ -76,7 +76,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/st_crs2.html b/docs/reference/st_crs2.html index 304292ad..5d9a60ae 100644 --- a/docs/reference/st_crs2.html +++ b/docs/reference/st_crs2.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/stack2rgb.html b/docs/reference/stack2rgb.html index af10c4bb..e3f902dd 100644 --- a/docs/reference/stack2rgb.html +++ b/docs/reference/stack2rgb.html @@ -75,7 +75,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 diff --git a/docs/reference/tiles_intersects.html b/docs/reference/tiles_intersects.html index 2e6dec95..af049ba8 100644 --- a/docs/reference/tiles_intersects.html +++ b/docs/reference/tiles_intersects.html @@ -74,7 +74,7 @@ An R toolbox to find, download an preprocess Sentinel-2 data - 1.0.0 + 1.0.1 @@ -162,22 +162,29 @@

Note

Examples

-
ex_extent <- sf::st_read( - system.file("extdata/example_files/scalve.kml", package="sen2r"), - quiet = TRUE +
ex_extent <- sf::st_read( + system.file("extdata/example_files/scalve.kml", package="sen2r"), + quiet = TRUE ) -ex_extent <- ex_extent[ex_extent$description == "Schilpario",] - -# Tile ID of the required S2 tile -tiles_intersects(ex_extent)
#> Linking to GEOS 3.6.2, GDAL 2.2.3, PROJ 4.9.3
#> [1] "32TNS"
-# Tile ID of all the overlapping S2 tiles -tiles_intersects(ex_extent, all = TRUE)
#> [1] "32TNR" "32TNS"
-# Spatial object with the required tile -sel_tiles <- tiles_intersects(ex_extent, out_format = "sf") -plot(sel_tiles$geometry); plot(ex_extent$geometry, add=TRUE, col="yellow")
-# Spatial object with the overlapping S2 tiles -sel_tiles <- tiles_intersects(ex_extent, all = TRUE, out_format = "sf") -plot(sel_tiles$geometry); plot(ex_extent$geometry, add=TRUE, col="yellow")
+ex_extent <- ex_extent[ex_extent$description == "Schilpario",] + +# Tile ID of the required S2 tile +tiles_intersects(ex_extent) + +# Tile ID of all the overlapping S2 tiles +tiles_intersects(ex_extent, all = TRUE) + +# Spatial object with the required tile +sel_tiles <- tiles_intersects(ex_extent, out_format = "sf") +plot(sf::st_geometry(sel_tiles)); plot(sf::st_geometry(ex_extent), add=TRUE, col="yellow") + +# Spatial object with the overlapping S2 tiles +sel_tiles <- tiles_intersects(ex_extent, all = TRUE, out_format = "sf") +plot(::st_geometry(sel_tiles)); plot(::st_geometry(ex_extent), add=TRUE, col="yellow") +
#> Error: <text>:19:6: unexpected '::' +#> 18: sel_tiles <- tiles_intersects(ex_extent, all = TRUE, out_format = "sf") +#> 19: plot(:: +#> ^
diff --git a/index.md b/index.md index d997623f..29c04b52 100644 --- a/index.md +++ b/index.md @@ -89,14 +89,14 @@ The functionalities to search and download SAFE tiles are based on the Python to To cite this library, please use the following entry: -Ranghetti, L. and Busetto, L. (2019). *sen2r: an R toolbox to find, download and preprocess Sentinel-2 data*. R package version 1.0.0. DOI: [10.5281/zenodo.1240384](https://dx.doi.org/10.5281/zenodo.1240384). URL: . +Ranghetti, L. and Busetto, L. (2019). *sen2r: an R toolbox to find, download and preprocess Sentinel-2 data*. R package version 1.0.1. DOI: [10.5281/zenodo.1240384](https://dx.doi.org/10.5281/zenodo.1240384). URL: . ``` bibtex @Manual{sen2r, title = {sen2r: an R toolbox to find, download and preprocess Sentinel-2 data}, author = {Luigi Ranghetti and Lorenzo Busetto}, year = {2019}, - note = {R package version 1.0.0}, + note = {R package version 1.0.1}, doi = {10.5281/zenodo.1240384}, url = {http://sen2r.ranghetti.info}, } diff --git a/inst/CITATION b/inst/CITATION index f17ffa0d..d492614d 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -9,13 +9,13 @@ citEntry( author = "Luigi Ranghetti and Lorenzo Busetto", title = "sen2r: an R toolbox to find, download and preprocess Sentinel-2 data", year = "2019", - note = "R package version 1.0.0", + note = "R package version 1.0.1", doi = "10.5281/zenodo.1240384", url = "http://sen2r.ranghetti.info", textVersion = paste( - "L. Ranghetti, L. Busetto (2018).", + "L. Ranghetti, L. Busetto (2019).", "sen2r: an R toolbox to find, download and preprocess Sentinel-2 data.", - "R package version 0.3.4. DOI: 10.5281/zenodo.1240384.", + "R package version 1.0.1. DOI: 10.5281/zenodo.1240384.", "URL: http://sen2r.ranghetti.info/." ) ) diff --git a/inst/extdata/indices.json b/inst/extdata/indices.json index 62591337..b0ecee4d 100644 --- a/inst/extdata/indices.json +++ b/inst/extdata/indices.json @@ -1875,6 +1875,6 @@ "s2_formula_mathml": "" } ], - "pkg_version": ["1.0.0"], - "creation_date": ["2019-04-03 17:45:46"] + "pkg_version": ["1.0.1"], + "creation_date": ["2019-04-09 11:15:07"] } diff --git a/man/tiles_intersects.Rd b/man/tiles_intersects.Rd index 1a8935f9..b64b1ba2 100644 --- a/man/tiles_intersects.Rd +++ b/man/tiles_intersects.Rd @@ -50,11 +50,11 @@ tiles_intersects(ex_extent, all = TRUE) # Spatial object with the required tile sel_tiles <- tiles_intersects(ex_extent, out_format = "sf") -plot(sel_tiles$geometry); plot(ex_extent$geometry, add=TRUE, col="yellow") +plot(sf::st_geometry(sel_tiles)); plot(sf::st_geometry(ex_extent), add=TRUE, col="yellow") # Spatial object with the overlapping S2 tiles sel_tiles <- tiles_intersects(ex_extent, all = TRUE, out_format = "sf") -plot(sel_tiles$geometry); plot(ex_extent$geometry, add=TRUE, col="yellow") +plot(::st_geometry(sel_tiles)); plot(::st_geometry(ex_extent), add=TRUE, col="yellow") } \author{ Luigi Ranghetti, phD (2019) \email{ranghetti.l@irea.cnr.it}
format

One between list of data.frame.

One between data.table (default), data.frame and list.

abort