planetnicfi
Processing of the 'Planet NICFI' Satellite Imagery
Keywords
Repository
Processing of the 'Planet NICFI' Satellite Imagery
Basic Info
- Host: GitHub
- Owner: mlampros
- Language: R
- Default Branch: master
- Homepage: https://mlampros.github.io/PlanetNICFI/
- Size: 3.59 MB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
PlanetNICFI
The PlanetNICFI R package includes functions to download and process the NICFI (Norway's International Climate and Forest Initiative) Planet Satellite Imagery utilizing the Planet Mosaics API. More details on the functionality of PlanetNICFI can be found in the blog-post, Vignette and in the package Documentation ( scroll down for information on how to use the docker image )
Parameters:
An important parameter to keep in mind is the page_size of the nicfiquadsbbox() function. Depending on what the user defines as bbox_AOI or wkt_AOI the page_size parameter needs to be adjusted too. The bigger the Area of Interest is the bigger the page_size parameter must be. That means the nicfiquadsbbox() function will return more Image products for a bigger area and the page_size parameter must be bigger than the default value of 50 so that all available Image products will be returned.
Another important information to keep in mind (if using the 'aria2c' software to download the data - see the 'sequentialdownloadpaths()' function for an alternative) is that the user currently has to download the NICFI .tif files in a temporary directory due to the aria2cdownloadpaths() function. By specifying a different default_directory parameter other than a temporary directory in the aria2cbulkdonwload() function the .tif files won't be downloaded in the correct folder.
System Requirements:
GDAL
The usage of the PlanetNICFI package requires a geospatial setup as specified in the sf or terra README.md files.
aria2c
Besides the 'sequentialdownloadpaths()' function the aria2c software is another option to download the data in parallel. It has to be installed first in the Operating System:
On Ubuntu this can be done using:
```R sudo apt-get install aria2
```
On Macintosh use,
```R brew install aria2
```
and on Windows 10 based on a web-tutorial:
- first navigate to the Github repository of aria2c
- then download the aria2-1.35.0-win-64bit-build1.zip (where 1.35.0 corresponds to the current version as of June 2021 - this might change in the future)
- unzip the downloaded file
- create a folder named as aria2 in *C:\*
- copy the aria2c.exe file to C:\aria2
- add the C:\aria2 to the windows system path by updating the environment variables
- finally open the window command prompt, enter aria2c and the output message should show the aria2c options
To install the package from CRAN use,
```R install.packages("PlanetNICFI")
```
and to download the latest version of the package from Github,
```R remotes::install_github('mlampros/PlanetNICFI')
```
Tropical Forests Satellite Data Coverage

Docker Image (if you want to avoid the installation of the System Requirements)
Docker images of the PlanetNICFI package are available to download from my dockerhub account. The images come with Rstudio and the R-development version (latest) installed. The whole process was tested on Ubuntu 18.04. To pull & run the image do the following,
```R
docker pull mlampros/planetnicfi:rstudiodev
docker run -d --name rstudiodev -e USER=rstudio -e PASSWORD=givehereyourpassword --rm -p 8787:8787 mlampros/planetnicfi:rstudiodev
```
The user can also bind a home directory / folder to the image to use its files by specifying the -v command,
```R
docker run -d --name rstudiodev -e USER=rstudio -e PASSWORD=givehereyourpassword --rm -p 8787:8787 -v /home/YOURDIR:/home/rstudio/YOURDIR mlampros/planetnicfi:rstudiodev
```
In the latter case you might have first give permission privileges for write access to YOUR_DIR directory (not necessarily) using,
```R
chmod -R 777 /home/YOUR_DIR
```
The USER defaults to rstudio but you have to give your PASSWORD of preference (see https://rocker-project.org/ for more information).
Open your web-browser and depending where the docker image was build / run give,
1st. Option on your personal computer,
```R http://0.0.0.0:8787
```
2nd. Option on a cloud instance,
```R http://Public DNS:8787
```
to access the Rstudio console in order to give your username and password.
NICFI Satellite Data Program user community code repositories
- https://github.com/NICFI-Satellite-Data-Program/Code-Repository
Attribution
Please read the COPYRIGHTS file of the PlanetNICFI R package especially the section 'OBLIGATIONS AND RESTRICTIONS'
Citation:
If you use the PlanetNICFI R package in your paper or research please cite:
R
@Manual{,
title = {{PlanetNICFI}: Processing of the 'Planet NICFI' Satellite Imagery using R},
author = {Lampros Mouselimis},
year = {2023},
note = {R package version 1.0.5 using Imagery 2021 Planet Labs Inc. All use subject to the Participant License Agreement},
url = {https://CRAN.R-project.org/package=PlanetNICFI},
}
Owner
- Name: Lampros Mouselimis
- Login: mlampros
- Kind: user
- Repositories: 41
- Profile: https://github.com/mlampros
Search (a little bit) and you'll find...
GitHub Events
Total
- Issues event: 1
- Watch event: 2
Last Year
- Issues event: 1
- Watch event: 2
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lampros Mouselimis | m****s@g****m | 25 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: about 17 hours
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 6.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mlampros (1)
- PPierre22 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 300 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: PlanetNICFI
Processing of the 'Planet NICFI' Satellite Imagery
- Homepage: https://github.com/mlampros/PlanetNICFI
- Documentation: http://cran.r-project.org/web/packages/PlanetNICFI/PlanetNICFI.pdf
- License: GPL-3
-
Latest release: 1.0.5
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- Renato66/auto-label v2 composite
- actions/stale v3 composite
- actions/checkout v3 composite
- actions/upload-artifact v2.2.1 composite
- pat-s/always-upload-cache v2.1.3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-tinytex v2 composite
- rocker/geospatial latest build
- R >= 3.5.0 depends
- data.table * imports
- glue * imports
- httr * imports
- sf * imports
- terra * imports
- utils * imports
- RStoolbox * suggests
- knitr * suggests
- raster * suggests
- rmarkdown * suggests
- sp * suggests
- testthat >= 3.0.0 suggests
- ASzc/change-string-case-action v1 composite
- actions/checkout v2 composite
- docker/build-push-action v2 composite
- docker/login-action v2 composite
- docker/setup-buildx-action v1 composite
