mon_type_char Function

private pure function mon_type_char(m) result(c)

Return ZONE_CHAR type of kcvtn code.

Semiconvective gaps and unknown codes draw as convective.

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: m

kcvtn code.

Return Value character(len=1)


Source Code

   pure function mon_type_char(m) result(c)
      !! Return `ZONE_CHAR` type of `kcvtn` code.
      !!
      !! Semiconvective gaps and unknown codes draw as convective.
      ! Arguments
      integer(int16), intent(in) :: m
         !! `kcvtn` code.
      character(len=1) :: c

      select case (m)
      case (MON_RADIATIVE); c = ZONE_CHAR(RADIATIVE)
      case (MON_CONVECTIVE, MON_SEMICONV); c = ZONE_CHAR(CONVECTIVE)
      case (MON_OVERSHOOT); c = ZONE_CHAR(OVERSHOOT)
      case default; c = ZONE_CHAR(CONVECTIVE)
      end select
   end function mon_type_char