Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
output.F90 File Reference

Go to the source code of this file.

Data Types

type  output::netcdf_file_collection_t
type  output::output_specs_t

Modules

module  output

Enumerations

enum  {
  output::ncdf_gross_precipitation =1 , output::ncdf_rainfall , output::ncdf_snowfall , output::ncdf_interception ,
  output::ncdf_interception_storage , output::ncdf_runon , output::ncdf_runoff , output::ncdf_surface_runoff ,
  output::ncdf_snow_storage , output::ncdf_surface_storage , output::ncdf_soil_storage , output::ncdf_delta_soil_storage ,
  output::ncdf_reference_et0 , output::ncdf_actual_et , output::ncdf_climatic_deficit , output::ncdf_snowmelt ,
  output::ncdf_tmin , output::ncdf_tmax , output::ncdf_tmax_minus_tmin , output::ncdf_net_infiltration ,
  output::ncdf_rejected_net_infiltration , output::ncdf_infiltration , output::ncdf_irrigation , output::ncdf_runoff_outside ,
  output::ncdf_crop_et , output::ncdf_bare_soil_evap , output::ncdf_gdd , output::ncdf_direct_net_infiltration ,
  output::ncdf_direct_soil_moisture , output::ncdf_storm_drain_capture , output::ncdf_growing_season , output::ncdf_fog
}

Functions/Subroutines

subroutine output::set_output_latlon_option (output_includes_latlon_l)
subroutine output::set_output_directory (output_dir_name)
subroutine output::set_output_prefix (output_prefix)
subroutine output::initialize_output (cells)
subroutine output::initialize_multiple_sim_output (cells, number_of_simulations)
subroutine output::finalize_output (cells)
subroutine output::output_2d_float_array (ncfile_ptr, values, cells)
subroutine output::write_output (cells)
subroutine output::write_multi_sim_output (cells, simulation_number)
pure real(c_float) function output::update_minimum_value (current_minimum, values)
pure real(c_float) function output::update_maximum_value (current_maximum, values)

Variables

real(c_double), dimension(:), allocatable output::recharge_array
type(netcdf_file_collection_t), dimension(:), allocatable, public output::nc_out
type(netcdf_file_collection_t), dimension(:,:), allocatable, public output::nc_multi_sim_out
integer(c_int), parameter output::ncdf_num_outputs = 32
type(output_specs_t), dimension(ncdf_num_outputsoutput::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::output_includes_latlon = TRUE