carbon_legacy_open Subroutine

public subroutine carbon_legacy_open()

Uses

  • proc~~carbon_legacy_open~~UsesGraph proc~carbon_legacy_open carbon_legacy_open module~basin_module basin_module proc~carbon_legacy_open->module~basin_module module~carbon_module carbon_module proc~carbon_legacy_open->module~carbon_module module~hydrograph_module hydrograph_module proc~carbon_legacy_open->module~hydrograph_module module~output_path_module output_path_module proc~carbon_legacy_open->module~output_path_module module~hydrograph_module->module~basin_module module~time_module time_module module~hydrograph_module->module~time_module

cbn_diagnostics drives the extra legacy plc/cflux/cpool and soil-prop files. it used to be read from carb_coefs.cbn (now removed). it now maps to the hru_cb flag letter: "l" (layer) turns diagnostics on; "y" gives the light files only (hru_cbn_lyr, hru_seq_lyr, hru_n_p_pool_stat). write carbon in soil by layer write beginning of simulation soil properties headers to hru_begsim_soil_prop write end of simulation soil properties headers to hru_endsim_soil_prop write carbon in soil, plant, and residue write carbon variables headers to hru_carbvars write org_allo variable headers to hru_org_allo_vars write org_ratio variable headers to hru_org_ratio_vars write org_trans variable headers to hru_org_trans_vars basin carbon summary - only when the legacy soil carbon path is on

Arguments

None

Calls

proc~~carbon_legacy_open~~CallsGraph proc~carbon_legacy_open carbon_legacy_open proc~open_output_file open_output_file proc~carbon_legacy_open->proc~open_output_file soil_nutcarb_write_legacy soil_nutcarb_write_legacy proc~carbon_legacy_open->soil_nutcarb_write_legacy proc~get_output_filename get_output_filename proc~open_output_file->proc~get_output_filename

Called by

proc~~carbon_legacy_open~~CalledByGraph proc~carbon_legacy_open carbon_legacy_open proc~output_landscape_init output_landscape_init proc~output_landscape_init->proc~carbon_legacy_open