Uploading user data

Hi all,

Is it possible to upload a user “datacube” to the backend? For example, I am looking to upload one of these products: Global 1-km Cloud Cover - EarthEnv for cloud filtering.


That would be quite a datacube I guess. It is possible to store geotiffs on terrascope and access them, but why not using the cloud masking bands from Sentinelhub SENTINEL2_L2A for instance?

We also have a bit of a hidden feature that should give access to cloud masks within Sentinel-2 L1C, but that won’t work for the sentinelhub layers you’re using.

I have taken a look at the cloud mask here:

using this custom script:

function setup() {
  return {
    input: ["CLM","dataMask"],
    output: { bands: 2 }

function evaluatePixel(sample) {
  return [sample.CLM, sample.dataMask];

It looks promising, definitely if the probability mask is good. What we are doing now is taking percentile (75% default) values of a band (green by default) to sort images from “good” to “bad” and do a cutoff based on the median cloud cover on that area (that’s why I am looking to import that 500MB GeoTiff). Let me discuss with my team if there are repercussions that I cannot oversee yet :wink: