-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Minor changes - Automatic tests were reorganised and improved after GDAL changes. ## Documentation - Document **`sen2r`** installation over Ubuntu Focal.
- Loading branch information
Showing
140 changed files
with
2,278 additions
and
1,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: sen2r | ||
Type: Package | ||
Title: Find, Download and Process Sentinel-2 Data | ||
Version: 1.3.4.9003 | ||
Version: 1.3.5 | ||
Authors@R: c(person("Luigi", "Ranghetti", | ||
email = "[email protected]", | ||
role = c("aut", "cre"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,19 @@ FROM rocker/geospatial:latest | |
LABEL maintainer="Luigi Ranghetti <[email protected]>" | ||
|
||
# Install external dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
RUN apt update && apt install -y \ | ||
gdal-bin \ | ||
python-gdal \ | ||
aria2 \ | ||
libpython-dev \ | ||
libnode-dev && \ | ||
apt-get autoremove -y && \ | ||
libpython2-dev && \ | ||
apt autoremove -y && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install the package | ||
RUN R -e "remotes::install_github('ranghetti/sen2r', ref = 'master', dependencies = TRUE)" | ||
|
||
# Create the user's files and settings, set runtime dependencies | ||
RUN sudo -u rstudio mkdir /home/rstudio/.sen2r && \ | ||
sudo -u rstudio R -e 'sen2r::load_binpaths(c("python", "aria2", "gdal"))' && \ | ||
sudo -u rstudio R -e 'sen2r::load_binpaths(c("aria2", "gdal"))' && \ | ||
sudo -u rstudio mkdir /home/rstudio/sen2cor && \ | ||
sudo -u rstudio mkdir /home/rstudio/sen2cor/sen2cor_255 && \ | ||
sudo -u rstudio R -e 'sen2r::install_sen2cor("/home/rstudio/sen2cor/sen2cor_255", version = "2.5.5")' && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,4 +256,4 @@ s2_dop <- function(s2_orbits = 1:143, | |
) | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.