<jupyter_start><jupyter_text>Parameters<jupyter_code>START_DATE = '2020-02-26'
END_DATE = '2020-07-03'
START_DATE = pd.Timestamp(START_DATE)
END_DATE = pd.Timestamp(END_DATE)

print(f'Cultivation period: {(END_DATE - START_DATE).days} days')
print(f'Starting DOY: {START_DATE.dayofyear}')
env_df = pd.read_csv('../ch2_weighing/results/2020_S/SW_CT_greenhouse_origin.csv', index_col='Unnamed: 0')
env_df['co2'] = 400
env_df.index = pd.DatetimeIndex(env_df.index)
env_df = env_df.loc[:, ['temp', 'hum', 'co2', 'rad']]
env_df = env_df.resample('1H').mean()
crop = SweetPepper()
temp = env_df.values[:24, 0].reshape(-1, 1)
rh = env_df.values[:24, 1].reshape(-1, 1)/100
co2 = env_df.values[:24, 2].reshape(-1, 1)
rad = env_df.values[:24, 3].reshape(-1, 1)
for i in range(150):
    crop.life_cycle(temp, rh, co2, rad)
# crop.life_cycle(temp, rh, co2, rad)
crop.status()<jupyter_output><150 DAT>

# Assimilation #
Photosynthesis: [25.19369816] / Respiration: [25.19284431]

# Dry weights #
leaves: [6.57986701] / stems: [6.6983468] / roots: [5.95370419] / fruits: [22.06399046]

# LAI #
LAI: 5.999802215983968
{'fraction_non_alphanumeric': 0.18784029038112524, 'fraction_numerical': 0.11978221415607986, 'mean_word_length': 5.644578313253012, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '102606', 'license': 'Apache-2.0', 'n_tokens_mistral': 563, 'n_tokens_neox': 481, 'n_words': 82, 'path': '4_PBM_SanMol.ipynb', 'repo_name': 'ataraxno/pap_crop_model', 'size': '1102'}