aquacropos / aquacrop

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

How to export a simulation result file #155

Closed 1150376430 closed 4 months ago

1150376430 commented 6 months ago

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

Han-Su22 commented 6 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 6 months ago

I am really grateful!