I have been trying to export this RGB as a geotiff. I tried exporting as a GeoTIFF/BigTiff but looks like something is wrong with the file itself as its dimensions are 0x0, even though it is 320MB. When I try to open it on Photoshop I get just a white screen and can’t seem to get anything when I put it in QGIS either.
When using the export as GeoTIFF option, the file looks empty (0MB).
it seems there are some issues with exporting S2 to GeoTiff. However, you can do the following.
Open the product and create a subset (Raster/Subset…) which contains only the required bands (B2,B3,B4) and the area you are interested in. Afterwards open the RGB image. Now right-click on the image and select “Export View as Image” from the context menu.
Hi @marpet, thanks for the reply, much appreciated. Am trying now - but can’t seem to figure out how to create a subset. I select the product, then as you say go to Raster/Subset, but I don’t seem to get any additional options to create that subset. Is there an additional step I have to do in order to create the subset so that I can select the RGB bands?
Thanks again @marpet. I have done this, however when I right-click and try to export as GeoTiff it says GeoTIFF is not applicable.
When I also try just standard tiff or even jpg/png, it also throws an error, a different one though (see below)
Regarding the other exports. Maybe it is a memory problem and you don’t have enough memory available. How much do you have?
Do you see a little stop sign in the lower right corner after the error was shown. Click on it. Maybe it it gives some more insight on the problem.
Yep, the ‘full scene’ option did the trick, it worked - perfect, thank you very much. To be honest the GeoTIFF is the version I wanted, I just tried as an alternative to get a tiff or jpg. Memory shouldn’t be an issue, running a 16GB ram Macbook with 330GB hard disk space remaining.
Will try the visible region image again and send you the report if you want to chase it up as well.
Out of curiosity, when you open a product, what is the Sentinel native resolution? Is it not 10m?
Would be great if you could send me the error report for JPEG export.
For Sentinel-2 L1C the resolution depends on the band. Some are 10m, some are 20m and others are 60m.
The support for such multi-resolution products is still limited. But we work on it.
as said in the error message. You need to resample the data first to a common resolution.
Choose from the menu Raster / Geometric Operations / Resampling.
Afterwards you can subset and write it out as GeoTiff.
This really depends on the size of the data to want to export.
A Sentinel-2 image in 10m resolution might need 8GB RAM or even more in 60m resolution already 2GB might be enough.
So I can’t give a general answer.
I’ve been following this thread, and trying to recreate the steps mentioned above. I’m new to the forum and processing Sentinel data in general. My question is, if I’m trying to create RGB Geotiffs at 10m, at what point in the process do I resample the imagery, and to what specification?
resampling the data should be the first step. Afterwards you can create the RGB images from it.
What do you mean by specification? The output file format? You can keep it in memory and you don’t need to write it to disk. But it might b better to write it in terms of memory usage. If you write such a resampled product you should write it to BEAM-DIMAP. This format best preserves all product properties.