Getting basic statistics (mean, min, max, standard deviation) and a histogram for a geometry (Polygon or MultiPolygon). The histogram uses the equalfrequency binning method and defaults to 5 bins.const stats = await layer.getStats({ geometry: bbox.toGeoJSON(), fromTime: new Date(Date.UTC(...
# Directory for the input files root_obs = rootdir + '/' + GAL + '/' print root_obs # Directory for the output files root_out = root_obs + '/output_' + GAL + '/' try: os.stat(root_out) except: os.mkdir(root_out) # ---# # Output files # # ---# out_samples_text ...
Getting basic statistics (mean, min, max, standard deviation) and a histogram for a geometry (Polygon or MultiPolygon). The histogram uses the equalfrequency binning method and defaults to 5 bins.const stats = await layer.getStats({ geometry: bbox.toGeoJSON(), fromTime: new Date(Date.UTC(...