Skip to content
Snippets Groups Projects
Commit b607450e authored by Lemaire Louis's avatar Lemaire Louis
Browse files

[docs] Minor changes to docstrings

-
parent 26090aed
No related branches found
No related tags found
1 merge request!38[feature] Gras-Sim model doctrings
......@@ -92,7 +92,7 @@ class Plants():
def init_daily_loop(self, day, WD, ET0, day_irr):
"""
Initialize the daily loop. Get the day, the weather data, the potential evapotranspiration, today's irradiance.
Initialize the daily loop. Set the day, the year, the weather data, today's irradiance and the potential evapotranspiration.
If the first day of the year, reset ST to zero and initialize the output dictionary for the year.
day -- datetime object
......@@ -395,6 +395,7 @@ class Plants():
def save_variables(self):
""" Save the variables in the output dictionary. """
for var in self.variables_to_save:
try:
self.nyears_data[self.year][var][self.day] = copy.deepcopy(getattr(self, var))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment