dm_request_is_valid Function

public pure elemental function dm_request_is_valid(request, timestamp) result(valid)

Returns .true. if given observation request is valid. A request is valid if it conforms to the following requirements:

  • A request name is set and a valid id.
  • A time stamp is set and in ISO 8601 format, unless argument timestamp is passed and .false..
  • All ASCII characters in attribute request are printable.
  • The attributes delay, retries, state and timeout are not negative.
  • The attribute error is a valid error code.
  • The attribute nresponses is within the bounds of array responses.
  • All responses are valid.

Arguments

Type IntentOptional Attributes Name
type(request_type), intent(in) :: request

Request type.

logical, intent(in), optional :: timestamp

Validate or ignore timestamp.

Return Value logical


Calls

proc~~dm_request_is_valid~~CallsGraph proc~dm_request_is_valid dm_request_is_valid proc~dm_error_is_valid dm_error_is_valid proc~dm_request_is_valid->proc~dm_error_is_valid proc~dm_id_is_valid dm_id_is_valid proc~dm_request_is_valid->proc~dm_id_is_valid proc~dm_response_is_valid dm_response_is_valid proc~dm_request_is_valid->proc~dm_response_is_valid proc~dm_string_is_printable dm_string_is_printable proc~dm_request_is_valid->proc~dm_string_is_printable proc~dm_time_is_valid dm_time_is_valid proc~dm_request_is_valid->proc~dm_time_is_valid proc~dm_response_is_valid->proc~dm_error_is_valid proc~dm_response_is_valid->proc~dm_id_is_valid proc~dm_response_type_is_valid dm_response_type_is_valid proc~dm_response_is_valid->proc~dm_response_type_is_valid proc~dm_ascii_is_printable dm_ascii_is_printable proc~dm_string_is_printable->proc~dm_ascii_is_printable proc~dm_ascii_is_digit dm_ascii_is_digit proc~dm_time_is_valid->proc~dm_ascii_is_digit

Called by

proc~~dm_request_is_valid~~CalledByGraph proc~dm_request_is_valid dm_request_is_valid proc~dm_observ_is_valid dm_observ_is_valid proc~dm_observ_is_valid->proc~dm_request_is_valid proc~dm_db_insert_observ dm_db_insert_observ proc~dm_db_insert_observ->proc~dm_observ_is_valid proc~dm_job_list_add dm_job_list_add proc~dm_job_list_add->proc~dm_observ_is_valid interface~dm_db_insert dm_db_insert interface~dm_db_insert->proc~dm_db_insert_observ proc~dm_db_insert_observs dm_db_insert_observs interface~dm_db_insert->proc~dm_db_insert_observs proc~dm_db_insert_observs->proc~dm_db_insert_observ