e-sensing / sits

Satellite image time series in R
https://e-sensing.github.io/sitsbook/
GNU General Public License v2.0
441 stars 76 forks source link

Rename `n_input_pixels` back to `input_pixels` for compatibility with models trained in old versions of the package #1135

Closed OldLipe closed 1 month ago

OldLipe commented 1 month ago

To ensure compatibility with models trained in previous versions of the package, it is required to rename the n_input_pixels parameter in the .check_processed_values function back to input_pixels. Users attempting to use version 1.5.0 encounter errors due to this change. Reverting the parameter name will allow seamless use of older models with the current version.