I have 1600 images in Tiff format which need to be mosaiced using R.
Each 3 or 4 images need to be mosaiced together.
Using the below pattern, we can recognize which images must be mosaiced into one tile
Tiff files names are like this:
MOD05_L2A200908918300512010336104534_grid_Cloud_Mask_QAMOD05_L2A200908918350512010336105017_grid_Cloud_Mask_QAMOD05_L2A200909019250512010336101736_grid_Cloud_Mask_QAMOD05_L2A200909019300512010336101159_grid_Cloud_Mask_QATheir names has this pattern:
MOD05_L2A2009###********************_grid_Cloud_Mask_QAAccording to those three ### we can recognize those Tiff files are belong to a specific day, and must be mosaiced into a new tile.
All other ****** characters are not important for us.
FYI:
Working Directory is D:/test .
Tiff files (input) are unsigned-8bit.
Mosaiced files must be the same type, as input.
The output mosaiced images must have this name:
MOD05_L2A2009###CQA.
I would be very grateful if an R expert could help me to do mosaicing in one shot, using R.
Thanks in advance.
أكثر...
Each 3 or 4 images need to be mosaiced together.
Using the below pattern, we can recognize which images must be mosaiced into one tile
Tiff files names are like this:
MOD05_L2A200908918300512010336104534_grid_Cloud_Mask_QAMOD05_L2A200908918350512010336105017_grid_Cloud_Mask_QAMOD05_L2A200909019250512010336101736_grid_Cloud_Mask_QAMOD05_L2A200909019300512010336101159_grid_Cloud_Mask_QATheir names has this pattern:
MOD05_L2A2009###********************_grid_Cloud_Mask_QAAccording to those three ### we can recognize those Tiff files are belong to a specific day, and must be mosaiced into a new tile.
All other ****** characters are not important for us.
FYI:
Working Directory is D:/test .
Tiff files (input) are unsigned-8bit.
Mosaiced files must be the same type, as input.
The output mosaiced images must have this name:
MOD05_L2A2009###CQA.
I would be very grateful if an R expert could help me to do mosaicing in one shot, using R.
Thanks in advance.
أكثر...