Skip to content

Commit e00fddd

Browse files
comment(GLOBIOM unit) : verified MCM input.
1 parent e1f1df2 commit e00fddd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

message_ix_models/model/water/data/demands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ def add_irrigation_demand(context: "Context") -> dict[str, pd.DataFrame]:
985985
land_out["commodity"] = "freshwater"
986986

987987
land_out["value"] = land_out["value"]
988-
# FIXME : check if input is already in MCM as we are assumptions
988+
# Input from Globiom is already in MCM
989989

990990
# take land_out edited and add as a demand in land_input
991991
results["land_input"] = land_out

message_ix_models/model/water/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ def func(row: pd.Series):
143143
return df.apply(func, axis=1)
144144

145145

146-
def get_vintage_and_active_years(info, technical_lifetime: int | None) -> pd.DataFrame:
146+
def get_vintage_and_active_years(
147+
info, technical_lifetime: Optional[int] = None
148+
) -> pd.DataFrame:
147149
"""Calculate valid vintage-activity year combinations without scenario dependency.
148150
149151
This implements similar logic as scenario.vintage_and_active_years() but

0 commit comments

Comments
 (0)