easysnowdata.remote_sensing.Sentinel2#
- easysnowdata.remote_sensing.Sentinel2(bbox_input, start_date='2014-01-01', end_date=None, catalog_choice='planetarycomputer', collection='sentinel-2-l2a', bands=None, resolution=None, crs=None, remove_nodata=True, harmonize_to_old=None, scale_data=True, groupby='solar_day', **kwargs)[source]#
Deprecated since version 0.1.0: easysnowdata.remote_sensing.Sentinel2 is deprecated since easysnowdata 0.1.0 and will be removed in 0.3.0. Use easysnowdata.optical.sentinel2.load instead. The new loader is a function returning the Dataset; search results come from optical.sentinel2.search(), masking from mask=, and the SCL legend from easysnowdata.plotting.categorical().
Deprecated factory for
easysnowdata.optical.sentinel2.load().Returns the loaded
xarray.Datasetinstead of aSentinel2object. Every old keyword still works for one release:catalog_choice="planetarycomputer"/"earthsearch"→source=remove_nodata→mask_nodata=harmonize_to_old→harmonize=(Nonenow means “decide from the item metadata”: Earth Search’ssentinel-2-l2apixels already carry the correction, Collection-1 and Planetary Computer do not)scale_data→scale=
The
.data/.metadata/.searchattributes, theget_*methods and theclass_info/cmap/example_plotattrs are gone: useeasysnowdata.optical.sentinel2.search(),easysnowdata.processing(ndsi,ndvi,rgb,stretch_percentile…) andeasysnowdata.plotting.