KUL-RSDA / AquaCrop

AquaCrop source code endorsed by FAO
https://www.fao.org/aquacrop/en/
Other
54 stars 17 forks source link

ENH: first usage of use_default_crop_file to avoid redundant saving #320

Closed mbechtold closed 1 year ago

mbechtold commented 1 year ago

This PR adds the use_default_crop_file option. By default use_default_crop_file is .true. and causing zero diff with current Aquacrop version. By setting use_default_crop_file to .false., the option currently only omits the saving of the file DEFAULT.CRO. When calling AC externally from LIS, this saves the saving of n_grid_cells x ens_members of savings to hard disk. Initialization of larger domains and OL runs is reduced from several hours to a few minutes. Small Perennial and Europe tests passed.