Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
subroutine output_write_daily! Write out storage/agg arrays as requested and reset to 0integer nd! For varying year and month lengthsnd=output_store_day_counter! Undo day increase of previous output_day callif(output_write_interval/="D")nd=nd-1call output_write_time(1,output_day_ix(:nd),&output_storage_hydrotope(output_hydrotope_requested_ix,:,:nd),&output_agg_subbasin_daily(:,:,:nd),&output_agg_catchment_daily(:,:,:nd))! Set all storage arrays to 0output_storage_hydrotope=0output_storage_subbasin=0output_agg_subbasin_daily=0output_agg_catchment_daily=0end subroutine output_write_daily