Soil Water Balance (SWB2)
|
Data Types | |
type | netcdf_file_collection_t |
type | output_specs_t |
Functions/Subroutines | |
subroutine | set_output_latlon_option (output_includes_latlon_l) |
subroutine | set_output_directory (output_dir_name) |
subroutine | set_output_prefix (output_prefix) |
subroutine | initialize_output (cells) |
subroutine | initialize_multiple_sim_output (cells, number_of_simulations) |
subroutine | finalize_output (cells) |
subroutine | output_2d_float_array (ncfile_ptr, values, cells) |
subroutine | write_output (cells) |
subroutine | write_multi_sim_output (cells, simulation_number) |
pure real(c_float) function | update_minimum_value (current_minimum, values) |
pure real(c_float) function | update_maximum_value (current_maximum, values) |
Variables | |
real(c_double), dimension(:), allocatable | recharge_array |
type(netcdf_file_collection_t), dimension(:), allocatable, public | nc_out |
type(netcdf_file_collection_t), dimension(:,:), allocatable, public | nc_multi_sim_out |
integer(c_int), parameter | ncdf_num_outputs = 32 |
type(output_specs_t), dimension(ncdf_num_outputs) | outspecs = [ OUTPUT_SPECS_T( "gross_precipitation ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "rainfall ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "snowfall ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "interception ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "interception_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "runon ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "runoff ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "surface_runoff ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "snow_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "surface_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "soil_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "delta_soil_storage ", "inches ", 2000.0, -2000.0, FALSE, FALSE ), OUTPUT_SPECS_T( "reference_ET0 ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "actual_et ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "climatic_deficit ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "snowmelt ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "tmin ", "degrees_fahrenheit ", 2000.0, -2000.0, TRUE, FALSE ), OUTPUT_SPECS_T( "tmax ", "degrees_fahrenheit ", 2000.0, -2000.0, TRUE, FALSE ), OUTPUT_SPECS_T( "tmax_minus_tmin ", "degrees_fahrenheit ", 2000.0, -2000.0, FALSE, FALSE ), OUTPUT_SPECS_T( "net_infiltration ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "rejected_net_infiltration ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "infiltration ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "irrigation ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "runoff_outside ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "crop_et ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "bare_soil_evaporation ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "growing_degree_day ", "degree_day_fahrenheit", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "direct_net_infiltation ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "direct_soil_moisture ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "storm_drain_capture ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "growing_season ", "0_no__1_yes ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "fog ", "inches ", 2000.0, 0.0, FALSE, FALSE) ] |
logical(c_bool) | output_includes_latlon = TRUE |
anonymous enum |
Definition at line 67 of file output.F90.
subroutine output::finalize_output | ( | class (model_domain_t), intent(inout) | cells | ) |
subroutine output::initialize_multiple_sim_output | ( | class (model_domain_t), intent(inout) | cells, |
integer (c_int), intent(in) | number_of_simulations ) |
subroutine output::initialize_output | ( | class (model_domain_t), intent(inout) | cells | ) |
subroutine output::output_2d_float_array | ( | type (t_netcdf4_file), pointer | ncfile_ptr, |
real (c_float), dimension(:), intent(in) | values, | ||
class (model_domain_t), intent(in) | cells ) |
subroutine output::set_output_directory | ( | character (len=*), intent(in) | output_dir_name | ) |
Definition at line 99 of file output.F90.
subroutine output::set_output_latlon_option | ( | logical (c_bool) | output_includes_latlon_l | ) |
Definition at line 89 of file output.F90.
subroutine output::set_output_prefix | ( | character (len=*), intent(in) | output_prefix | ) |
Definition at line 109 of file output.F90.
pure real (c_float) function output::update_maximum_value | ( | real (c_float), intent(in) | current_maximum, |
real (c_float), dimension(:), intent(in) | values ) |
Definition at line 894 of file output.F90.
pure real (c_float) function output::update_minimum_value | ( | real (c_float), intent(in) | current_minimum, |
real (c_float), dimension(:), intent(in) | values ) |
Definition at line 881 of file output.F90.
subroutine output::write_multi_sim_output | ( | class (model_domain_t), intent(inout) | cells, |
integer (c_int), intent(in) | simulation_number ) |
subroutine output::write_output | ( | class (model_domain_t), intent(inout) | cells | ) |
type (netcdf_file_collection_t), dimension(:,:), allocatable, public output::nc_multi_sim_out |
Definition at line 19 of file output.F90.
type (netcdf_file_collection_t), dimension(:), allocatable, public output::nc_out |
Definition at line 18 of file output.F90.
integer (c_int), parameter output::ncdf_num_outputs = 32 |
Definition at line 22 of file output.F90.
logical ( c_bool ) output::output_includes_latlon = TRUE |
Definition at line 85 of file output.F90.
type (output_specs_t), dimension(ncdf_num_outputs) output::outspecs = [ OUTPUT_SPECS_T( "gross_precipitation ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "rainfall ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "snowfall ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "interception ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "interception_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "runon ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "runoff ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "surface_runoff ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "snow_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "surface_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "soil_storage ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "delta_soil_storage ", "inches ", 2000.0, -2000.0, FALSE, FALSE ), OUTPUT_SPECS_T( "reference_ET0 ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "actual_et ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "climatic_deficit ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "snowmelt ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "tmin ", "degrees_fahrenheit ", 2000.0, -2000.0, TRUE, FALSE ), OUTPUT_SPECS_T( "tmax ", "degrees_fahrenheit ", 2000.0, -2000.0, TRUE, FALSE ), OUTPUT_SPECS_T( "tmax_minus_tmin ", "degrees_fahrenheit ", 2000.0, -2000.0, FALSE, FALSE ), OUTPUT_SPECS_T( "net_infiltration ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "rejected_net_infiltration ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "infiltration ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "irrigation ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "runoff_outside ", "inches ", 2000.0, 0.0, TRUE, FALSE ), OUTPUT_SPECS_T( "crop_et ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "bare_soil_evaporation ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "growing_degree_day ", "degree_day_fahrenheit", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "direct_net_infiltation ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "direct_soil_moisture ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "storm_drain_capture ", "inches ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "growing_season ", "0_no__1_yes ", 2000.0, 0.0, FALSE, FALSE ), OUTPUT_SPECS_T( "fog ", "inches ", 2000.0, 0.0, FALSE, FALSE) ] |
Definition at line 33 of file output.F90.
real( c_double ), dimension(:), allocatable output::recharge_array |
Definition at line 12 of file output.F90.