Skip to content

Releases: ranghetti/sen2r

Version 1.6.0

10 Nov 07:34
2114327
Compare
Choose a tag to compare

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 in s2_list() and s2_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

16 Jun 09:18
cf73be6
Compare
Choose a tag to compare

Minor changes

  • Add NMDI index, check NDMI and WDRVI indices.
  • Remove suggested dependency {geojsonlint}.

Version 1.5.4

09 Jan 09:58
3ca1269
Compare
Choose a tag to compare

Minor changes

  • Manage "s2cogs" (not yet implemented) value as source 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

22 Sep 15:21
4d69c22
Compare
Choose a tag to compare

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 to https://sentinels.copernicus.eu/web/sentinel).

Version 1.5.2

12 Sep 06:11
a92bd1a
Compare
Choose a tag to compare

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 in sen2r() 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

19 Apr 08:02
d077d17
Compare
Choose a tag to compare

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).
  • Closing the support on GitHub issues, due to career change of the maintainer.

Changes in default values

  • Change naming_convention default value in sen2r_getElements().

Minor changes

  • Rename default branch master to main according to Git and Branch Naming.
  • Add the naming convention "sen2r_new" to sen2r_getElements() (currently used only for internal usage).
  • New argument tmpdir in s2_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

28 Jun 05:19
4eee7db
Compare
Choose a tag to compare

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() and s2_download();
    • new functions check_gcloud(), is_gcloud_configured(), check_gcloud_connection()` to interface Google Cloud SDK;
    • integration in sen2r();
    • documentation;
    • new automatic tests.

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(): argument availability has default value "ignore" unless server = 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

27 Jun 13:14
80cb593
Compare
Choose a tag to compare

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 in s2_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

04 May 13:40
96e3ae6
Compare
Choose a tag to compare

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:// with https:// 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

05 Mar 16:20
a2e72be
Compare
Choose a tag to compare

Bug fixes

  • Fix CRAN error (invalid example).