Exporting .tiff file data as uint16

I would like to export my .tiff file as a uint16 file. At present, they are exported as uint8. Is there a way to convert it directly in SNAP ?

Have you tried this?

  1. Convert Datatype > UInt16
  2. Export as GeoTiff

This could be linked by a graph. Or you directly select georofd as output format of the Convert Datatype operator.

Maybe you have to test all options (there are also two different GeoTiff output formats) to see which of them produces the results you need.

Hello, How could it be done using snappy?

You can try the ‘Convert-Datatype’ operator.
or you create a new band with the desired data type and then read the data from the source band, convert it and then write it to the target band.