I’ve seen some posts about SR L8 data not opening in SNAP. Recently me and my professor came up with the idea how to open sr files and get the correct reflectance value. It turned out that it’s not problem with SNAP but an error in metadata.
Here’s a quick guide how to open surface refletance L8 data in SNAP :
Unzip the image folder - you should have seven bands images and MTL file
Edit the MTL file from line 45 - where the names of the files are listed . You can see that the names of the images from the folder are different that this listed in the metadata, that’s why they want open .
Change names of the files in the folder exp. LC81900242016130LGN00_sr_band1 change to LC81900242016130LGN00_BAND1 (so the names match the names listed in MTL file)
Because it is surface reflectance we only have 7 bands, in metadata there’s more delate lines with bands 8, 9, 10 etc.
Your metadata should look like this:
FILE_NAME_BAND_1 = “LC81900242016130LGN00_B1.TIF”
FILE_NAME_BAND_2 = “LC81900242016130LGN00_B2.TIF”
FILE_NAME_BAND_3 = “LC81900242016130LGN00_B3.TIF”
FILE_NAME_BAND_4 = “LC81900242016130LGN00_B4.TIF”
FILE_NAME_BAND_5 = “LC81900242016130LGN00_B5.TIF”
FILE_NAME_BAND_6 = “LC81900242016130LGN00_B6.TIF”
FILE_NAME_BAND_7 = “LC81900242016130LGN00_B7.TIF”
METADATA_FILE_NAME = “LC81900242016130LGN00_MTL.txt”
save the file, then go to SNAP open the changed MTL file
TIP. - the first time you will open changed mtl everything will work really slow, try to open product than close it and open again - should work faster.
One more thing to change radiance value to refletance in both normal OLI/TIRS L8 data and SR L8 data open the MTL FILE.
change the value in all the lines (line 102 to 112) with RADIANCE_MULT_(band number) to 0.0001
Thanks!, I just came in to say that I managed to do it. What worked for me is that the end of the name of each band wasnt _BAND1 but _B1. Then I removed the Filename_Band_quality line in the mtl file since I dont have such file in the folder and it worked. I tried dragging another mtl file but I get the error in Snap.
Thank you, what I tried is that I downloaded the level 1 product for the same date and it directly opened by SNAP, having the BQA file. No issues with naming. I am also albe to run idepix. I will try to copy the BQA to the SR product and correct the MTL and see if such moves are possible
Yes well that works but I cant do the cloud mask with idepix, propably because not all bands are present. So I will reorder the product. Hopefully it will be different, otherwise I have to use level1 and to the atmocorrection on my own