Skip to content

Version 1.4.0

Compare
Choose a tag to compare
@ranghetti ranghetti released this 08 Jan 06:42
b19c0a4

Major changes

  • gdal_warp() was partially rewritten: now reshaped rasters conserve square pixels also after warping operations. This change also affects sen2r() products if reshaping features (reprojection or custom resolution) are required.
    This update was necessary due to changes performed in GDAL since version 3.2.0 (see OSGeo/gdal♯3294), which did not grant homogeneity between outputs produced with different GDAL versions.
    Note that, in case the user wants to update an existing sen2r archive produced with {sen2r} < 1.4.0, the old existing grid is maintained so that product grids are equal (in order to produce outputs with the new grid, users must create a new archive).
  • Manage images split in two SAFE products, to avoid producing black areas in these [uncommon] cases (see #353 for an explanation).
    As effects:
    1. now pixels outside footprints (including nodata outside orbits coverage) are always set to nodata;
    2. now s2_download() is no more able to use existing products equivalent to found ones.

Minor changes

  • Add templates for GitHub issues.
  • Do not return error in tests in case of SciHub server down (#354).

Changes in default values

  • Pixels outside footprints (because of previous point, or - more frequently - because outside orbits coverage) are always set to NA even if no cloud masking is performed.
  • s2_download() no more uses existing SAFE products instead than downloading new equivalent ones (this in order to manage images split in two SAFE archives).

Documentation

  • Update vignette data (granting using online data) (#360).