Releases: ranghetti/sen2r
Releases · ranghetti/sen2r
Version 1.6.0
Major changes
- Remove the possibility to search/download SAFE archives from ESA SciHub due
to its discontinuation. - Set
"gcloud"
as the default SAFE server. - Begin voiding some functions related to ESA SciHub:
s2_order()
,
safe_is_online()
,*_scihub_login()
,
"scihub"
methods ins2_list()
ands2_download()
.
Documentation
- Partially updating the documentation to reflect the above changes.
- Remove old system requirements (#463).
- Remove old references to {rgdal}.
Version 1.5.5
Minor changes
- Add NMDI index, check NDMI and WDRVI indices.
- Remove suggested dependency {geojsonlint}.
Version 1.5.4
Minor changes
- Manage
"s2cogs"
(not yet implemented) value assource
server. - Change default path where Python's GDAL executables should be searched.
- Remove explicit {rgdal} dependency (
https://r-spatial.org/r/2022/12/14/evolution2.html
). - Change maintainer's email in order to follow CRAN requirements.
Version 1.5.3
Bug fixes
- Fix CRAN errors related to GDAL version.
- Change maintainer's email in order to follow CRAN requirements.
Documentation
- Update invalid URLs (
https://earth.esa.int/web/sentinel
tohttps://sentinels.copernicus.eu/web/sentinel
).
Version 1.5.2
Major changes
- Manage changes occurred in baseline version 04.00 (see #443):
- retrieve offset values from metadata;
- apply them to generate BOA/TOA products.
Minor changes
- Do not check for Google Cloud / SciHub status in
s2_download()
if not needed.
Bug fixes
- Fix
extent_as_mask
behaviour insen2r()
in case of GEOMETRYCOLLECTION type
(threat as POLYGON, allowing masking). - Simplify automatic tests: a variable
full_tests
is set to FALSE by default
(in this case, only fast / strategic tests are run). Set to TRUE to run all tests. - Minor fixes.
Version 1.5.1
Major changes
- Implement the possibility to produce rasters of angles information stored in the SAFE xml:
- new internal (but documented) function
s2_angles()
to do it; - integration in
s2_translate()
; - integration in
sen2r()
; - tests and examples.
(The GUI was not updated in order not to expose too much these products, since the package development is closed).
- new internal (but documented) function
- Closing the support on GitHub issues, due to career change of the maintainer.
Changes in default values
- Change
naming_convention
default value insen2r_getElements()
.
Minor changes
- Rename default branch
master
tomain
according to Git and Branch Naming. - Add the naming convention "sen2r_new" to
sen2r_getElements()
(currently used only for internal usage). - New argument
tmpdir
ins2_list()
. - Allow
s2_mask()
to manage inputs with sen2r_new naming convention.
Documentation
- Add a note about GCloud download.
Bug fixes
- Fix error with multiple SAFE and single apihub (d62206e).
- Fix #423, #424, #425.
- Small bug fixes in
smooth_mask()
. - Test fixes (changes in system dependencies caused changes in tested values).
Version 1.5.0
Major changes
- Google Cloud integration to search and download SAFE Sentinel-2 archives (see https://luigi.ranghetti.info/post/safe-gcloud/):
- implementation of methods within
s2_list()
ands2_download()
; - new functions
check_gcloud()
, is_gcloud_configured(),
check_gcloud_connection()` to interface Google Cloud SDK; - integration in
sen2r()
; - documentation;
- new automatic tests.
- implementation of methods within
Minor changes
- Restore check for existing equivalent SAFE products.
- Edit ENVI tags for BOA-TOA (band names, wavelenghts).
- Automatic tests on
sen2r()
main functions were restored on Actions thanks to the implementation of Google Cloud download.
Changes in default values
s2_list()
: argumentavailability
has default value"ignore"
unlessserver = c("scihub", "gcloud")
, in which case default is"check"
.
Bug fixes
- Fix #407.
- Avoid messages "Spherical geometry (s2) switched on/off".
- Minor fixes.
Version 1.4.4
New functions
is_scihub_configured()
: accessory function which allows easily checking if SciHub credentials ca be read.
It is used to selectively run tests and examples basing on that.
Minor changes
- New argument
abort
ins2_download()
(see documentation).
Bug fixes
- Speed-up tests and avoid runtime GDAL being searched on CRAN (CRAN error with donttest).
- Avoid sending queries to SciHub if credentials were not configured (CRAN errors with donttest).
Version 1.4.3
Minor changes
- Use API URLs
https://apihub.copernicus.eu/apihub
instead of
https://scihub.copernicus.eu/apihub
as required after changes at
SciHub side (https://scihub.copernicus.eu/news/News00868). - Manage multiple SciHub credentials when ordering SAFE archives from LTA
(experimental).
Documentation
- Replace
http://
withhttps://
in documentation _URLs.
Checks
- Replace Travis with GitHub Actions (and fix tests accordingly).
Bug fixes
- Avoid topology errors on S2 footprints (to fix errors using
{sf}
1.0). - Manage situations like in #397 (too many nodes for ESA API query).
Version 1.4.2
Bug fixes
- Fix CRAN error (invalid example).