Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sannyschulz committed Apr 24, 2024
1 parent 26f9b0b commit e14fcbf
Showing 1 changed file with 63 additions and 64 deletions.
127 changes: 63 additions & 64 deletions hermes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type GlobalVarsMain struct {
LIM [10]float64
PRGES [10]float64
WUMAX [10]float64 // obsolete
AD float64
AD float64
GRLO int
GRHI int
GRW float64
Expand Down Expand Up @@ -166,12 +166,12 @@ type GlobalVarsMain struct {
MZ int
NBR int
NTIL DualType
REGENSUM float64
REGENSUM float64 // precipitation sum
MINSUM float64
RADSUM float64
BLATTSUM float64
DSUMM float64
UMS float64
DSUMM float64 // Dünger summe / fertilizer sum
UMS float64 // aufgelöster Dünger / dissolved fertilizer
OUTSUM float64
NFIXSUM float64
DRAISUM float64
Expand All @@ -198,9 +198,9 @@ type GlobalVarsMain struct {
INTWICK DualType // crop development state
FKF [12]float64
FKC float64
BBCH int // BBCH code for crop development
LAT float64
MINTMP float64
BBCH int // BBCH code for crop development
LAT float64 // latitude
MINTMP float64 // minimum temperature for crop growth
RSTOM float64
LAI float64 // Leaf area index
WURZ int // root in max soil layer
Expand Down Expand Up @@ -228,63 +228,62 @@ type GlobalVarsMain struct {
MAXAMAX float64
WUMAXPF float64 // crop specific rooting depth
VELOC float64 // root depth increase in mm/C°
//WUFKT int
NGEFKT int
RGA float64 // value for NGEFKT = 5
RGB float64 // value for NGEFKT = 5
SubOrgan int // organ number for WORG in NGEFKT = 5
YORGAN int
YIFAK float64
NRKOM int // number of N-uptake compartments
DAUERKULT bool
LEGUM bool
DOUBLE int //day of double ridge stage / Doppelringstadium
ASIP int
BLUET int
REIF int
ENDPRO int // TODO: obsolete?
PHYLLO float64 // culmulative development relevant temperature sum (°C days)
VERNTAGE float64
SUM [10]float64 //development relevant temperature sum in state INTWICK
PRO [10][5]float64
DEAD [10][5]float64
TROOTSUM float64
GEHOB float64
WUGEH float64
WORG [5]float64
WDORG [10]float64
MAIRT [10]float64
TSUM [10]float64 //Temperature sum for development stage I (°C days)
BAS [10]float64 //Base temperature for development stage I (°C)
VSCHWELL [10]float64 // vernalisation threshold (in days)
DAYL [10]float64
DLBAS [10]float64
DRYSWELL [10]float64
LAIFKT [10]float64
WGMAX [10]float64
OBMAS float64 // biomass of crop above ground (kg/ha)
ASPOO float64 // Assimilation pool in crops
WUMAS float64
PESUM float64 // sum of N-uptake of crop (aufgenommene N-Menge der Pflanze) (kg N/ha)
LURED float64
DOPP string // obsolete? Kalender date of double ridge stage / Doppelringstadium
P1, P2 int
SUMAE float64
AEHR string
BLUEH string
REIFE string
GEHMAX float64 // maximal possible N-content in biomass (driver for N-uptake) (kg N/kg Biomass)
GEHMIN float64 // critical N-content in biomass (start of N-stress) (kg N/kg Biomass)
DUNGBED float64
DEFDAT int
ENDSTADIUM DevelopmentStage
DIFFSUM float64
MASSUM float64
DN [21]float64
YIELD float64 //Grain yield (only for cereals) (kg ha-1)
AUFNASUM float64
NDRAINTAG float64
CUMDENIT float64
NGEFKT int // N content funktion Nr.
RGA float64 // value for NGEFKT = 5
RGB float64 // value for NGEFKT = 5
SubOrgan int // organ number for WORG in NGEFKT = 5
YORGAN int // yield organ number (WORG 1-5)
YIFAK float64 // yield factor
NRKOM int // number of N-uptake compartments
DAUERKULT bool // permanent crop
LEGUM bool // leguminous crop
DOUBLE int //day of double ridge stage / Doppelringstadium
ASIP int
BLUET int
REIF int
ENDPRO int // TODO: obsolete?
PHYLLO float64 // culmulative development relevant temperature sum (°C days)
VERNTAGE float64
SUM [10]float64 //development relevant temperature sum in state INTWICK
PRO [10][5]float64
DEAD [10][5]float64
TROOTSUM float64
GEHOB float64 //N content in above ground Biomass (kg N/kg OBMAS)
WUGEH float64 // N content in root Biomass (kg N/kg WUMAS)
WORG [5]float64 // dry mass of organ (kg/ha)
WDORG [10]float64 // dead dry mass of organ (kg/ha)
MAIRT [10]float64 // maintainance rates of organ I
TSUM [10]float64 //Temperature sum for development stage I (°C days)
BAS [10]float64 //Base temperature for development stage I (°C)
VSCHWELL [10]float64 // vernalisation threshold (in days)
DAYL [10]float64
DLBAS [10]float64
DRYSWELL [10]float64
LAIFKT [10]float64
WGMAX [10]float64
OBMAS float64 // biomass of crop above ground (kg/ha)
ASPOO float64 // Assimilation pool in crops
WUMAS float64
PESUM float64 // sum of N-uptake of crop (aufgenommene N-Menge der Pflanze) (kg N/ha)
LURED float64
DOPP string // obsolete? Kalender date of double ridge stage / Doppelringstadium
P1, P2 int
SUMAE float64
AEHR string
BLUEH string
REIFE string
GEHMAX float64 // maximal possible N-content in biomass (driver for N-uptake) (kg N/kg Biomass)
GEHMIN float64 // critical N-content in biomass (start of N-stress) (kg N/kg Biomass)
DUNGBED float64
DEFDAT int
ENDSTADIUM DevelopmentStage
DIFFSUM float64
MASSUM float64
DN [21]float64
YIELD float64 //?? Grain yield (only for cereals) (kg ha-1)
AUFNASUM float64
NDRAINTAG float64
CUMDENIT float64 // cumulative denitrification

N2Odencum float64
N2OdenDaily float64
Expand Down

0 comments on commit e14fcbf

Please sign in to comment.