I can successfully extract a band (using BandExtract) and reproject the data using the Reproject example from the two links above. However, I cannot figure out the correct XML to reproject using collateWith and an existing HDF5 file I have.
In the GUI GraphBuilder and Reproject, I can’t find a way to set a collocateWith option. Am I missing something there? I only see “Custom” and “Predefined” CRS options.
In the GUI GraphBuilder and Collocate (is this even what I should be using?), I see an error (red text) that states, "Error: [NodeID Collocate] Operate ‘CollocateOp’: Mandatory source product (field ‘masterProduct’) not set.
It seems that the UI for the Reprojection in the GraphBuiler is only half-way implemented and the collocateWith option is missing.
If you go to Raster -> Geometric Operations -> Reprojection you get the “main” Reprojection GUI.
Here you have the collocateWith option. It is only named as “Use CRS of”.
So this is not a real collocation but it brings both products to the same CRS.
Combining both product into one would be done with the Collocate operator. I would also suggest that you also use the one in Raster -> Geometric Operations.