I recently exploited my local gas giant for hydrogen and fire ice, which is quite useful. The main reason was to get started on deuterium production for various advanced items. But I just noticed that my oil refining is falling far behind what my factory uses and I want to massively expand it now. But one by-product of oil refining is hydrogen and I'd like to avoid blocking the refined oil pathway if hydrogen accumulates.
The obvious solution would be to set this all up so that the hydrogen from the gas giant is only drawn upon last after all other local sources of hydrogen. But I don't really know how to set up my logistics stations for this, there doesn't seem to be any obvious way to set a priority here.
What options do I have to make sure that my gas giant hydrogen is used last, after using up all my locally produced hydrogen from oil refining and fire ice processing?