CUAHSI / CUAHSI/HydroDesktop

HydroModeler - DbReader uses VariableName as Quantity ID

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
C#
Stars
76
Forks
21
PR merge metrics
No merged PRs in 30d

Description

jirikadlec2[CodePlex]
I'm trying to build a HydroModeler model using my data and the Hargreaves-Samani ET model component. My problem is: In my data from the quotCentral European Climate Dataquot source, there is one variable name quotTemperaturequot but there are three
distinct variable codes: quotCZSNW:TMAX, CZSNW:TMIN, CZSNW:TAVGquot. These variables (quotquantitiesquot) all have the same VariableName, but they have a different VariableCode and DataType (Maximum, Minimum, Average).

When I edit the quotconnection propertiesquot between DbReader and HargreavesPET, I can only see one quotTemperaturequot Output exchange item. I would expect to see three output exchange items: TMIN, TMAX, TAVG. Attached is the database with my data.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the DbReader output exchange items and the connection-properties view used to connect it to HargreavesPET. Review how the attached database's VariableName, VariableCode, and DataType are represented, then verify that distinct temperature quantities appear separately rather than being collapsed under Temperature. Done means TMIN, TMAX, and TAVG are all selectable output exchange items.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.