Previously we were just pulling the active lcg:
payload, err := buildHydroManLambdaPayload(
projectID,
hydroID,
payloadParams.ActiveLCGID,
h.Config.AWSS3Bucket,
hydroInputs,
reachParam,
)
we now need to get the lcg_id from the hydroInputs. To do this will probably want to add lcg_id to the hydrograph_inputs table. If you are feeling brave we can update the hydrograph_inputs name to hydrograph as well to match the lcg and eurotop tables naming convention
Previously we were just pulling the
activelcg:we now need to get the
lcg_idfrom thehydroInputs. To do this will probably want to addlcg_idto thehydrograph_inputstable. If you are feeling brave we can update thehydrograph_inputsname tohydrographas well to match thelcgandeurotoptables naming convention