1

I was new in GIS and Google Earth Engine, i want to perform band ratio for mapping Ferric and Ferrous using ASTER L1T Radiance. I want to use band 2/1, 5/3, and 1/2. How to perform it in Google Earth Engine? I was tried but i don't know if this true or not.

var dataset = ee.ImageCollection('ASTER/AST_L1T_003')
  .filterDate('2019-03-01', '2019-03-05')
  .filterBounds(Boundary);
Map.setCenter(107.62160048828126,-7.087318840287035, 12);
  Map.addLayer(dataset, {bands: ['B01', 'B02'], min: 0.0, max: 255.0}, 'ASTER1');
  Map.addLayer(dataset, {bands: ['B05', 'B3N'], min: 0.0, max: 255.0}, 'ASTER2');
  Map.addLayer(dataset, {bands: ['B02', 'B01'], min: 0.0, max: 255.0}, 'ASTER3');
  Map.addLayer(Boundary);

1 Answer 1

0

try the User Guide, is excellent. userguide

First of all, your dataset is a ImageCollection not an image. So make sure you grab an image. There are different ways to compute band ratios. One of them is with expressions:

    var asterImage = ee.Image('ASTER/AST_L1T_003/20190304174953')
var bandRatio = asterImage.expression(
    'band1 / band2', {
      'band1': asterImage.select('B01'),
      'band2': asterImage.select('B02')});
1
  • But on my study area, it's more than one image. Is it possible to perform band ratio? Thanks
    – tobangadoo
    Commented May 8, 2020 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.