You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, all functions will automatically clip to the bounding box input. While this is desirable, we should allow the option to not clip. We can create an optional boolean argument clip_to_bbox that will by default (True) clip, and not clip if passed False. I've implemented this for the MODIS_snow class only... so this needs to be added to Sentinel1, Sentinel2, HLS, and possibly the derived products.
Source code
# arg to init
clip_to_bbox=True
# in init
self.clip_to_bbox = clip_to_bbox
# in get_data
if self.clip_to_bbox:
load_params["bbox"] = self.bbox_gdf.total_bounds
The text was updated successfully, but these errors were encountered:
Description
Right now, all functions will automatically clip to the bounding box input. While this is desirable, we should allow the option to not clip. We can create an optional boolean argument clip_to_bbox that will by default (True) clip, and not clip if passed False. I've implemented this for the MODIS_snow class only... so this needs to be added to Sentinel1, Sentinel2, HLS, and possibly the derived products.
Source code
The text was updated successfully, but these errors were encountered: