[GEOT-4825] Netcdf readers don't use the proper imageIndex with heterogeneous granules
Merge pull request #516 from n-lagomarsini/GEOT-4825_11x

[GEOT-4825] Netcdf readers don't use the proper imageIndex with heterogeneous granules (Backport on 11.x)