log_warn Subroutine

public subroutine log_warn(source, message, log, i1, i2, int, real, ints, reals)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: source
character(len=*), intent(in) :: message
type(logger), intent(in), optional :: log
integer, intent(in), optional :: i1
integer, intent(in), optional :: i2
integer, intent(in), optional :: int
real(kind=dp), intent(in), optional :: real
integer, intent(in), optional :: ints(:)
real(kind=dp), intent(in), optional :: reals(:)

Calls

proc~~log_warn~~CallsGraph proc~log_warn log_warn proc~log_message log_message proc~log_warn->proc~log_message proc~log_write log_write proc~log_message->proc~log_write proc~log_format_message log_format_message proc~log_message->proc~log_format_message proc~to_string to_string proc~log_write->proc~to_string proc~date_time_str date_time_str proc~log_format_message->proc~date_time_str proc~colourise colourise proc~log_format_message->proc~colourise proc~string_index string_index proc~colourise->proc~string_index

Called by

proc~~log_warn~~CalledByGraph proc~log_warn log_warn proc~management_total_demand management_total_demand proc~management_total_demand->proc~log_warn proc~reservoir_initialise reservoir_initialise proc~reservoir_initialise->proc~log_warn proc~reservoir_read_month_file reservoir_read_month_file proc~reservoir_initialise->proc~reservoir_read_month_file proc~reservoir_read_storage_file reservoir_read_storage_file proc~reservoir_initialise->proc~reservoir_read_storage_file proc~reservoir_read_control_file reservoir_read_control_file proc~reservoir_initialise->proc~reservoir_read_control_file proc~check_int_range check_int_range proc~check_int_range->proc~log_warn proc~evapotranspiration_radiation evapotranspiration_radiation proc~evapotranspiration_radiation->proc~log_warn proc~management_external_supply management_external_supply proc~management_external_supply->proc~log_warn proc~input_nc_check_missing input_nc_check_missing proc~input_nc_check_missing->proc~log_warn proc~catchment_initialise_parameters catchment_initialise_parameters proc~catchment_initialise_parameters->proc~log_warn proc~catchment_read_subcatch_params catchment_read_subcatch_params proc~catchment_initialise_parameters->proc~catchment_read_subcatch_params proc~check_range check_range proc~check_range->proc~log_warn proc~river_muskingum_routing river_muskingum_routing proc~river_muskingum_routing->proc~log_warn proc~reservoir_read_month_file->proc~log_warn proc~read_real_column read_real_column proc~reservoir_read_month_file->proc~read_real_column proc~management_transfer_out management_transfer_out proc~management_transfer_out->proc~log_warn proc~input_nc_check_grid input_nc_check_grid proc~input_nc_check_grid->proc~log_warn proc~input_nc_read_grid input_nc_read_grid proc~input_nc_read_grid->proc~check_range proc~read_integer_column read_integer_column proc~read_integer_column->proc~check_int_range proc~initialise initialise proc~initialise->proc~reservoir_initialise proc~initialise->proc~catchment_initialise_parameters proc~input_nc_initialise input_nc_initialise proc~initialise->proc~input_nc_initialise proc~soil_initialise soil_initialise proc~initialise->proc~soil_initialise proc~crop_read_input crop_read_input proc~initialise->proc~crop_read_input proc~snow_initialise snow_initialise proc~initialise->proc~snow_initialise proc~landuse_initialise landuse_initialise proc~initialise->proc~landuse_initialise proc~crop_initialise crop_initialise proc~initialise->proc~crop_initialise proc~evapotranspiration_initialise evapotranspiration_initialise proc~initialise->proc~evapotranspiration_initialise proc~hydrotope_initialise hydrotope_initialise proc~initialise->proc~hydrotope_initialise proc~groundwater_initialise groundwater_initialise proc~initialise->proc~groundwater_initialise proc~river_initialise river_initialise proc~initialise->proc~river_initialise proc~subbasin_initialise subbasin_initialise proc~initialise->proc~subbasin_initialise proc~erosion_initialise erosion_initialise proc~initialise->proc~erosion_initialise proc~management_initialise management_initialise proc~initialise->proc~management_initialise proc~river_route river_route proc~river_route->proc~river_muskingum_routing proc~input_nc_initialise->proc~input_nc_check_missing proc~input_nc_initialise->proc~input_nc_check_grid proc~input_nc_initialise->proc~input_nc_read_grid proc~runsubbasin runsubbasin proc~runsubbasin->proc~management_transfer_out proc~soil_read_input soil_read_input proc~soil_read_input->proc~check_range proc~read_real_column->proc~check_range proc~time_process_day time_process_day proc~time_process_day->proc~management_total_demand proc~time_process_day->proc~evapotranspiration_radiation proc~time_process_day->proc~management_external_supply proc~time_process_day->proc~river_route proc~time_process_day->proc~runsubbasin proc~river_route_add river_route_add proc~time_process_day->proc~river_route_add proc~subbasin_read_climate subbasin_read_climate proc~time_process_day->proc~subbasin_read_climate proc~river_route_add->proc~management_transfer_out proc~snow_read_input snow_read_input proc~snow_read_input->proc~read_real_column proc~reservoir_read_storage_file->proc~read_real_column proc~evapotranspiration_read_input evapotranspiration_read_input proc~evapotranspiration_read_input->proc~read_real_column proc~management_read_ctrl management_read_ctrl proc~management_read_ctrl->proc~read_integer_column proc~management_read_ctrl->proc~read_real_column proc~groundwater_read_input groundwater_read_input proc~groundwater_read_input->proc~read_real_column proc~catchment_read_subcatch_params->proc~read_integer_column proc~catchment_read_subcatch_params->proc~read_real_column proc~soil_initialise->proc~soil_read_input proc~river_read_input river_read_input proc~river_read_input->proc~read_real_column proc~subbasin_read_routing subbasin_read_routing proc~subbasin_read_routing->proc~read_integer_column proc~subbasin_read_climate->proc~read_real_column proc~time_process_month time_process_month proc~time_process_month->proc~time_process_day proc~crop_read_management_input crop_read_management_input proc~crop_read_management_input->proc~read_integer_column proc~crop_read_management_input->proc~read_real_column proc~crop_read_input->proc~read_integer_column proc~crop_read_input->proc~read_real_column proc~subbasin_read_input subbasin_read_input proc~subbasin_read_input->proc~read_integer_column proc~subbasin_read_input->proc~read_real_column proc~landuse_read_input landuse_read_input proc~landuse_read_input->proc~read_integer_column proc~landuse_read_input->proc~read_real_column proc~hydrotope_read_input hydrotope_read_input proc~hydrotope_read_input->proc~read_integer_column proc~hydrotope_read_input->proc~read_real_column program~swim swim program~swim->proc~initialise proc~time_process_years time_process_years program~swim->proc~time_process_years proc~reservoir_read_control_file->proc~read_integer_column proc~reservoir_read_control_file->proc~read_real_column proc~erosion_read_input erosion_read_input proc~erosion_read_input->proc~read_real_column proc~management_read_time_series management_read_time_series proc~management_read_time_series->proc~read_real_column proc~time_initialise_year time_initialise_year proc~time_initialise_year->proc~read_real_column proc~snow_initialise->proc~snow_read_input proc~landuse_initialise->proc~landuse_read_input proc~crop_initialise->proc~crop_read_management_input proc~evapotranspiration_initialise->proc~evapotranspiration_read_input proc~hydrotope_initialise->proc~hydrotope_read_input proc~time_process_years->proc~time_process_month proc~time_process_years->proc~time_initialise_year proc~management_read_wu_inout management_read_wu_inout proc~management_read_wu_inout->proc~management_read_time_series proc~groundwater_initialise->proc~groundwater_read_input proc~river_initialise->proc~river_read_input proc~subbasin_initialise->proc~subbasin_read_routing proc~subbasin_initialise->proc~subbasin_read_input proc~erosion_initialise->proc~erosion_read_input proc~management_initialise->proc~management_read_ctrl proc~management_initialise->proc~management_read_wu_inout

Contents

Source Code


Source Code

  subroutine log_warn(source, message, log, i1, i2, int, real, ints, reals)
    ! Writes warning information to STDERR, STDOUT, and/or a log-file.

    ! The name of the procedure which produced the error
    character(len=*), intent(in) :: source
    ! The information to be written.
    character(len=*), intent(in) :: message
    ! optional logger, defaults to master_log
    type(logger), intent(in), optional :: log
    ! optional index, single int/real or 1D arrays to append to message
    integer, intent(in), optional :: i1, i2, int, ints(:)
    real(dp), intent(in), optional :: real, reals(:)
    call log_message(source, log_warning_level, message, log, i1, i2, int, real, ints, reals)
  end subroutine log_warn