Does anyone know how to extract subfiles from a HDF5 file? The GIS remote sensing data I am getting is aggregated into a single .h5 file, but I need it separated into the component files. My aim is NOT to produce TIFFs, but to separate out the component files so that they can be processed one by one.
CONTEXT:
I am running Ubuntu 18.04. I have installed the CSPP VIIRS Flood Detection Software, here:
https://cimss.ssec.wisc.edu/cspp/viirs_flood_v1.1.shtml
I am working with VIIRS SDR data, downloaded from the NOAA CLASS website, here:
The software requires 4 files in a format like this: SVI01_j01_d20181030_t0626485_e0629370_b04908_c20181101224627873308_cspp_dev.h5 SVI02_j01_d20181030_t0626485_e0629370_b04908_c20181101224627873308_cspp_dev.h5 SVI03_j01_d20181030_t0626485_e0629370_b04908_c20181101224627873308_cspp_dev.h5 SVI05_j01_d20181030_t0626485_e0629370_b04908_c20181101224627873308_cspp_dev.h5
However, the NOAA data is delivered in an aggregated file like this:
GIMGO-SVI01-SVI02-SVI03-SVI05_j01_d20181030_t0626485_e0629370_b04908_c20181101224627873308_noac_ops.h5
If I copy the GIMGO file four times and rename it with the four names above (SVI01, etc), the Flood Detection program works perfectly and the results can be read in QGIS 3.8. However that's a miserable lot of manual work if you have a large number of files to process.
Ideally I would like to install software allowing me to disaggregate the GIMGO files with terminal commands. Batch processing of a folder would be best. I am a completely self-taught GIS user with no other coding background, so a literal sequence of commands would be of the most help.