\documentclass[beamer]{standalone}

\usepackage{lmodern}
\usetheme{Warsaw}
\beamertemplatenavigationsymbolsempty%
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{itemize item}[triangle]

\begin{document}

{
\setbeamertemplate{footline}{
  \onslide<3->{
    \rule{\textwidth}{0.4pt}
    \vspace{1pt}
  }
  {\tiny \onslide<3->{MonteCarlo} \hfill \onslide<4->{1D RRTMG} \hfill \onslide<4->{1D TenStream} \hfill \onslide<4->{RTM} \hfill }\\%\onslide<6->{TenStream} \hfill}\\

  \onslide<3->{\includegraphics[width=.249\textwidth,height=.11\textwidth]{../../slides/palm_IDEAL_TREE_10/mc.png}}
  \onslide<4->{\includegraphics[width=.249\textwidth,height=.11\textwidth]{../../slides/palm_IDEAL_TREE_10/rrtmg.png}}
  \onslide<4->{\includegraphics[width=.249\textwidth,height=.11\textwidth]{../../slides/palm_IDEAL_TREE_10/2str.png}}
  \onslide<4> {\includegraphics[width=.249\textwidth,height=.11\textwidth]{../../slides/palm_IDEAL_TREE_10/rtm.png}}
  %\insertframenumber
}

\makeatletter
\beamer@calculateheadfoot
\makeatother

\begin{frame}


   \frametitle{Palm-LES within urban canopies}
   \vfill%

    \only<1>{
      \begin{columns}
        \column{0.45\linewidth}
        \vfill%
        {\tiny \textbf{MonteCarlo}}
        \includegraphics[width=\textwidth]{../../slides/palm_IDEAL_TREE_10/mc.png}

        \column{0.6\linewidth}
        \footnotesize
        Artificial test case:
        \begin{itemize}
          \item resolution 2m
          \item gridded buildings, height 25m
          \item benchmarking shortwave and longwave \textbf{surface\,fluxes} and atmospheric \textbf{heating\,rates}
        \end{itemize}

      \end{columns}
    }

    \only<2>{
      \begin{columns}
        \column{0.35\linewidth}
        \vfill%
        {\tiny \textbf{1D RRTMG}}
        \includegraphics[width=\textwidth]{../../slides/palm_IDEAL_TREE_10/rrtmg.png}
        {\tiny \textbf{1D TenStream}}
        \includegraphics[width=\textwidth]{../../slides/palm_IDEAL_TREE_10/2str.png}


        \column{0.7\linewidth}
        \footnotesize
        Current options for \textbf{1D} radiative transfer:
        \begin{itemize}
          \item 1D RRTMG in PALM (default)
          \item 1D 2str solver from TenStream package
        \end{itemize}

        \vfill
        \vspace{1em}

        Both options lack features for buildings:
        \begin{itemize}
          \item illumination and emission of walls
          \item blocking of radiation from the sun
          \item scattering between surfaces
        \end{itemize}

        \vfill
        \vspace{1em}

        \begin{tabular}{ r r r r r }
          & \multicolumn{2}{c}{surface fluxes} & \multicolumn{2}{c}{heating rates} \\
          & rmse & bias & rmse & bias \\
          \textbf{RRTMG} & 107\% & 75\%  & 257\% & 36\% \\
          \textbf{2str} &  69\% & -7\%  & 60\% & 35\% \\
        \end{tabular}

      \end{columns}
    }

    \only<3>{
      \begin{columns}
        \column{0.45\linewidth}
        \vfill%
        {\tiny \textbf{3D RTM}}
        \includegraphics[width=\textwidth]{../../slides/palm_IDEAL_TREE_10/rtm.png}

        \column{0.6\linewidth}
        \footnotesize
        Radiative Transfer Model (\textbf{RTM}), the default 3D scheme in PALM:
        \begin{itemize}
          \item average domain profiles and do single call to RRTMG for fluxes and heating rates
          \item uses raytracing to account for absorption, scattering and emission on surfaces
          \item includes multiple scattering between surfaces and takes resolved vegetation into account
        \end{itemize}

        \vfill
        \vspace{1em}

        \begin{tabular}{ r r r r r }
          & \multicolumn{2}{c}{surface fluxes} & \multicolumn{2}{c}{heating rates} \\
          & rmse & bias & rmse & bias \\
          \textbf{RRTMG} & 107\% & 75\%  & 257\% & 36\% \\
          \textbf{2str}  &  69\% & -7\%  &  60\% & 35\% \\
          \textbf{RTM}   &  24\% & -1\%  & 170\% & -90\% \\
          %\textbf{RTM}   &  24\% & -1\%  & - & - \\
        \end{tabular}

      \end{columns}
    }

    \only<4>{
      \begin{columns}
        \column{0.45\linewidth}
        \vfill%
        {\tiny \textbf{3D TenStream}}
        \includegraphics[width=\textwidth]{../../slides/palm_IDEAL_TREE_10/3_10.png}

        \column{0.6\linewidth}
        \footnotesize
        TenStream solver extended within Mosaik:

        \begin{itemize}
          \item extended TenStream to account for buildings and vegetation
          \item wrapper work done by Mohamed and Sebastian
          \item install process in PALM with ./install -T
        \end{itemize}

        \vfill
        \vspace{1em}

        \begin{tabular}{ r r r r r }
          & \multicolumn{2}{c}{surface fluxes} & \multicolumn{2}{c}{heating rates} \\
          & rmse & bias & rmse & bias \\
          \textbf{RRTMG}       & 107\% & 75\%  & 257\% & 36\% \\
          \textbf{2str}        &  69\% & -7\%  &  60\% & 35\% \\
          \textbf{RTM}        &  24\% & -1\%  & 170\% & -90\% \\
          %\textbf{RTM}         &  24\% & -1\%  & - & - \\
          \textbf{TenStream}   &  17\% & 0.1\%  & 26\% & 6\% \\
        \end{tabular}

      \end{columns}
    }
\end{frame}

}

\end{document}
