Skip to content

[FEAT-API]: Update Hydrograph Backend to get the LCG output dynamically #699

Description

@martyheynbah

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

Metadata

Metadata

Assignees

Labels

1SPEffort Estimation: 2hrs Max

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions