LARS not stochastic

Hello, I am trying to generate some stochastic weather data with LARS in AquaCrop, but it seems that I generate the same data frame? How can I fix this?

Input:
from aquacrop.classes import *
from aquacrop.core import *
from aquacrop.lars import *
import pandas as pd

rcp = 45
yr = 2030
yr_range = ‘2021-2040’

wdf1 = prepare_lars_weather(get_filepath(f’CP_EC-EARTH[CP,RCP{rcp},{yr_range}]WG.dat’),
yr,True,[“simyear”,“jday”,“minTemp”,“maxTemp”,“precip”,“rad”])
wdf2 = prepare_lars_weather(get_filepath(f’CP_EC-EARTH[CP,RCP{rcp},{yr_range}]WG.dat’),
yr,True,[“simyear”,“jday”,“minTemp”,“maxTemp”,“precip”,“rad”])
wdf3 = prepare_lars_weather(get_filepath(f’CP_EC-EARTH[CP,RCP{rcp},{yr_range}]WG.dat’),
yr,True,[“simyear”,“jday”,“minTemp”,“maxTemp”,“precip”,“rad”])

wdf1.compare(wdf2)

Output:
Empty DataFrame
Columns: []
Index: []

The output implies that the two data frames are exact.

Hi @tildebengtsson,

Yes these weather files are just example outputs from LARS-WG. If you would like to generate your own stochastic weather data you will have to download and run it yourself (https://sites.google.com/view/lars-wg/).

Tom

Okay, thank you for responding!