WMS request for LANDSAT 8 : "TYPENAME=DSS6 not found!"

Hello,

i’m trying to access Landsat 8 images, I have created layer in the configuration utility with the following script:

//VERSION=3

function setup() {
  return {
    input:  ["B01","B02","B03","B04","B05","B06",
              "B07","B10"],
      
    output: {
      bands: 9 ,
      sampleType:"FLOAT32"
  }
  }
}

function evaluatePixel(samples) {
  return [samples.B01, samples.B02,samples.B03,samples.B04,
             samples.B05,samples.B06,samples.B07
    		];
  }



and then I created WMS request :

wms_bands_request = WmsRequest(
    data_collection=DataCollection.LANDSAT8,
    data_folder='imgs',
    layer='LANDSAT8_2_CLM',
    bbox=bbox,
    time=time_interval,
    width=bbox_size[0],
    height=bbox_size[1],
    maxcc=0.2,
    image_format=MimeType.TIFF,
    config=config
)
    
dates= wms_bands_request.get_dates()


The result is 400 client error with this message:

Server response: “TYPENAME=DSS6 not found!”

How can I fix it?

Hi @reutkeller,
this is a consequence of a depreciation of Landsat 8 Collection 1.
We have now adjusted the service to automatically forward requests to Collection 2.
Sorry for the inconvenience.

Best,
Grega

2 Likes