Open something123something opened 5 months ago
import ee ee.Initialize() import hydrafloods as hf
from hydrafloods.workflows import dswfp region = hf.country_bbox("Cambodia") start_time = "2019-01-01" end_time = "2019-07-01"
output_asset = ( "projects/................../assets/fusionsampling"+ f"{starttime.replace('-','')}{end_time.replace('-','')}" )
dswfp.export_fusion_samples( region, start_time, end_time, stratify_samples=True, output_asset_path=output_asset, )
ran above chunk and that caused the error
ds_kwargs = dict( region=region, start_time=start_time, end_time=end_time, rescale=True ) .. lc8 = datasets.Landsat8(**ds_kwargs)