Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Flowering" #18

Closed
wants to merge 1 commit into from
Closed

Revert "Flowering" #18

wants to merge 1 commit into from

Conversation

rbarillot
Copy link
Collaborator

Reverts #17

@@ -125,8 +117,6 @@ sowing_date = "2018_11_13"
site = 'LUSIGNAN'
meteo_path = os.path.join('inputs', 'meteo_file.csv')

# Set cutting dates
cutting_dates = ''
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SimonRouet this would lead to an error in line 803

@@ -798,12 +785,6 @@ def Start():
daily_temperature = meteo.mean_temperature[meteo.experimental_day == current_day].iloc[0]
dt_eff = dt * Tregul_timestep(daily_temperature) # dt_eff : dt corrige par la temperature
step_cut = 0

# Set cutting dates
cutting_dates = pd.to_datetime(cutting_dates.split("x"), format='%Y_%m_%d')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see review above.
Plus, i am not sure that splitting by 'x' covers every cases.

"""

# Scenario to be run
scenarii_df = pd.read_csv(os.path.join('inputs', 'plan_simulation_calibration_GEVES.csv'), index_col='Scenario')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is missing

@rbarillot rbarillot closed this Jun 30, 2021
@rbarillot
Copy link
Collaborator Author

opened in a new PR

@rbarillot rbarillot deleted the revert-17-flowering branch July 2, 2021 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant