Closed agronomofiorentini closed 1 year ago
I have found the way to do so.
Anyway great library
schedule = pd.DataFrame([
(date1, "FE001", "AP001", 20, 300, 300, 300, 0,0, None, None),
(date2, "FE001", "AP001", 20, 100, 100, 150, 0,0, None, None),
], columns = ['FDATE', 'FMCD', 'FACD', 'FDEP', 'FAMN', 'FAMP', 'FAMK', 'FAMC', 'FAMO', 'FOCD', "FERNAME"])
man.fertilizers['table'] = TabularSubsection(schedule)
dssat = DSSAT()
dssat.setup()
dssat.run(soil=soil, weather=wth, crop=crop, management=man)
dssat.close()
Dear Creator, First of all I want to thank you for developing this library, it is really very well done.
I report below a fully reproducible example that allows you to understand my problem in this regard in manually setting the fertilization table
Now it will start the issue that i am facing.
I don't know how to set two different fertilization like at data.index[150] i would like to provide 100 of N and 200 P at data.index[190] i would like to provide 200 of N and 100 P
Can you show me how to set it? Thanks