import ( "time" datasets "github.com/tilebox/tilebox-go/datasets/v1" "github.com/tilebox/tilebox-go/query" ) startDate := time.Date(2014, 10, 4, 0, 0, 0, 0, time.UTC) endDate := time.Date(2021, 2, 24, 0, 0, 0, 0, time.UTC) queryInterval := query.NewTimeInterval(startDate, endDate) var datapoints []*v1.Sentinel1Sar err := client.Datapoints.QueryInto(ctx, []uuid.UUID{collection.ID}, &datapoints, datasets.WithTemporalExtent(queryInterval), )
func (datapointClient) QueryInto( ctx context.Context, collectionIDs []uuid.UUID, datapoints any, options ...datasets.QueryOption, ) error
Was this page helpful?