Author: CSDN @ _Yakult_
This article records the code to read the remote sensing time series data in tif format in the folder and form a numpy three-dimensional array for subsequent matrix operations or time series analysis. The code is implemented in python language.
Article directory
1. Code
import os
import glob
import numpy as np
from osgeo import gdal
def read_tif_files(folder_path):
tif_files