aquacropos / aquacrop

AquaCrop-OSPy: Python implementation of AquaCrop-OS
https://aquacropos.github.io/aquacrop/
Apache License 2.0
95 stars 68 forks source link

How to export a simulation result file #155

Closed 1150376430 closed 2 months ago

1150376430 commented 3 months ago

Hello, can the simulation results of aquacrop be saved as a file? What code needs to be added?

Han-Su22 commented 3 months ago

Hi, depending on which variables you want to have. In general, you can have

model.outputs.final_stats

to return your final results. This gives you a pandas dataframe. You can use pandas function to save the results into a csv file or others.

1150376430 commented 3 months ago

I am really grateful!