Just a question how do you extract the band values from the images? Can someone share the function to do that or even a starter notebook that utilizes the band features as inputs to a tabular solution for this problem ?
All you need to do is
"""
import h5py
trainset = h5py.File("/path/to/file/09072022_1154_train.h5", "r")
train_images = np.array(trainset['images'], dtype=np.float64)
You should have an numpy array of size (25036, 15,15,12)
To get band 10 of image number 25, try
band_10 = train_images[24, :, :, 9]
All you need to do is
"""
import h5py
trainset = h5py.File("/path/to/file/09072022_1154_train.h5", "r")
train_images = np.array(trainset['images'], dtype=np.float64)
"""
You should have an numpy array of size (25036, 15,15,12)
To get band 10 of image number 25, try
band_10 = train_images[24, :, :, 9]