From a61bb53b00c482c846db56209cf8b11048ac00c0 Mon Sep 17 00:00:00 2001 From: Mostafa Gomaa Daoud <54531356+MostafaGomaa93@users.noreply.github.com> Date: Tue, 24 Sep 2024 09:50:13 +0200 Subject: [PATCH] Delete PyStemmusScope/bmi/variable_reference_BACKUP_2561331.py --- .../bmi/variable_reference_BACKUP_2561331.py | 166 ------------------ 1 file changed, 166 deletions(-) delete mode 100644 PyStemmusScope/bmi/variable_reference_BACKUP_2561331.py diff --git a/PyStemmusScope/bmi/variable_reference_BACKUP_2561331.py b/PyStemmusScope/bmi/variable_reference_BACKUP_2561331.py deleted file mode 100644 index 88f7a604..00000000 --- a/PyStemmusScope/bmi/variable_reference_BACKUP_2561331.py +++ /dev/null @@ -1,166 +0,0 @@ -"""Variable reference to inform the BMI implementation.""" -from dataclasses import dataclass - - -@dataclass -class BmiVariable: - """Holds all info to inform the BMI implementation.""" - - name: str - dtype: str - input: bool - output: bool - units: str - grid: int - keys: list[str] - all_timesteps: bool = False - - -VARIABLES: tuple[BmiVariable, ...] = ( - # atmospheric vars: - BmiVariable( - name="respiration", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["fluxes", "Resp"], - ), - BmiVariable( - name="evaporation_total", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["EVAP"], - all_timesteps=True, - ), - # soil vars: - BmiVariable( - name="soil_temperature", - dtype="float64", - input=True, - output=True, - units="degC", - grid=1, - keys=["TT"], - ), - BmiVariable( - name="soil_moisture", - dtype="float64", - input=True, - output=True, - units="m3 m-3", - grid=1, - keys=["SoilVariables", "Theta_U"], - ), - BmiVariable( - name="soil_root_water_uptake", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["RWUs"], - ), - # surface runoff - BmiVariable( - name="surface_runoff_total", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["RS"], - ), - BmiVariable( - name="surface_runoff_hortonian", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["ForcingData", "R_Dunn"], - all_timesteps=True, - ), - BmiVariable( - name="surface_runoff_dunnian", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["ForcingData", "R_Hort"], - all_timesteps=True, - ), - # groundwater vars (STEMMUS_SCOPE) - BmiVariable( - name="groundwater_root_water_uptake", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["RWUg"], - ), - BmiVariable( - name="groundwater_recharge", - dtype="float64", - input=False, - output=True, - units="cm s-1", - grid=0, - keys=["gwfluxes", "recharge"], - ), -<<<<<<< HEAD - BmiVariable( - name="groundwater_recharge_temperature", - dtype="float64", - input=False, - output=True, - units="degC", - grid=0, - keys=["gwfluxes", "rechargeTemp"], - ), -======= ->>>>>>> main - # groundwater (coupling) vars - BmiVariable( - name="groundwater_coupling_enabled", - dtype="bool", - input=True, - output=False, - units="-", - grid=0, - keys=["GroundwaterSettings", "GroundwaterCoupling"], - ), - BmiVariable( - name="groundwater_head_bottom_layer", - dtype="float64", - input=True, - output=False, - units="cm", - grid=0, - keys=["GroundwaterSettings", "headBotmLayer"], - ), - BmiVariable( - name="groundwater_temperature", - dtype="float64", - input=True, - output=False, - units="degC", - grid=0, - keys=["GroundwaterSettings", "tempBotm"], - ), - BmiVariable( - name="groundwater_elevation_top_aquifer", - dtype="float64", - input=True, - output=False, - units="cm", - grid=0, - keys=["GroundwaterSettings", "topLevel"], - ), -)