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.Dataset instead of a Sentinel2 object. Every old keyword still works for one release:

  • catalog_choice="planetarycomputer"/"earthsearch"source=

  • remove_nodatamask_nodata=

  • harmonize_to_oldharmonize= (None now means “decide from the item metadata”: Earth Search’s sentinel-2-l2a pixels already carry the correction, Collection-1 and Planetary Computer do not)

  • scale_datascale=

The .data / .metadata / .search attributes, the get_* methods and the class_info / cmap / example_plot attrs are gone: use easysnowdata.optical.sentinel2.search(), easysnowdata.processing (ndsi, ndvi, rgb, stretch_percentile …) and easysnowdata.plotting.