I try to run the gdal_translate command to extract and convert the MODIS hdf file into its respective band raster tif on a Redhat PPC64 environment and I encountered following error:
with my command:
gdal_translate -sds MOD09A1.A2018273.h27v07.006.2018290185611.hdf MOD09A1.A2018273.h27v07.006.2018290185611.tif
I try to run this command in other environments, it is working fine. Therefore, I would like to know is there a workaround using python methods that I can look into to extract band raster from MODIS hdf file?