\documentclass[varwidth, border=10pt]{standalone}
%\documentclass[varwidth]{standalone}

\usepackage{subcaption}
\usepackage{graphicx}
\usepackage[percent]{overpic}
\usepackage{xcolor}

\usepackage[scaled]{helvet}
\renewcommand\familydefault{\sfdefault} 
\usepackage[T1]{fontenc}

\begin{document}

\textcolor{red}{Last 20 years of the 25-year E3SM results are used for climatologies and anomalies on the Taylor diagram.}

\textcolor{red}{QBO composite keys to U at 40 hPa.}

\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

% Trim figures with the viewport option and clip.
% The viewport numbers are for the lower left and upper right corners.
% It uses "postscript units" by default, which can be visualized with 'gv'.

  {\sffamily pres-lat climo, MAM}

  \centering
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_MAM_OMI}.pdf}
    %\put(7.9,7.5){\sffamily\scriptsize (a)}
    %\put(7.9,7.5){\colorbox{white}{\sffamily\scriptsize (a)}}
    %\put(35,45){\scriptsize\textbf{LRM minus ERAI}}
  \end{overpic}
%
  \hspace{-0.368cm}
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_MAM_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 568 620,grid=false,tics=10]{../figs/{diff_O3_pres_lat_MAM_O3v2-O3v1}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 578 620,grid=false,tics=10]{../figs/{diff_QRS_pres_lat_MAM_O3v2-O3v1}.pdf}
  \end{overpic}

\end{figure}

% new figure
\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

  {\sffamily pres-lat climo, JJA}

  \centering
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_JJA_OMI}.pdf}
  \end{overpic}
%
  \hspace{-0.368cm}
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_JJA_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 568 620,grid=false,tics=10]{../figs/{diff_O3_pres_lat_JJA_O3v2-O3v1}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 578 620,grid=false,tics=10]{../figs/{diff_QRS_pres_lat_JJA_O3v2-O3v1}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

  {\sffamily pres-lat climo, SON}

  \centering
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_SON_OMI}.pdf}
  \end{overpic}
%
  \hspace{-0.368cm}
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_SON_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 568 620,grid=false,tics=10]{../figs/{diff_O3_pres_lat_SON_O3v2-O3v1}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 578 620,grid=false,tics=10]{../figs/{diff_QRS_pres_lat_SON_O3v2-O3v1}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

  {\sffamily pres-lat climo, DJF}

  \centering
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_DJF_OMI}.pdf}
  \end{overpic}
%
  \hspace{-0.368cm}
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 554 614,grid=false,tics=10]{../figs/{O3_pres_lat_DJF_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 568 620,grid=false,tics=10]{../figs/{diff_O3_pres_lat_DJF_O3v2-O3v1}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.3\textwidth,clip=true,viewport=33 309 578 620,grid=false,tics=10]{../figs/{diff_QRS_pres_lat_DJF_O3v2-O3v1}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

    {\sffamily SCO time series \textcolor{red}{(may not show in paper)}}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{SCO_all_O3strat_OMI}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{SCO_all_O3strat_CTM}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.754\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{SCO_20yr_O3_lat_time_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
% 
  \begin{overpic}[width=0.754\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{SCO_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.754\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{SCO_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2+QBO.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  %\begin{center}
  \setlength{\fboxsep}{1pt}

  {\sffamily SCO climo (13 yrs of OMI and CTM, 20 yrs of E3SM)}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{climo_SCO_all_O3strat_OMI}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{climo_SCO_all_O3strat_CTM}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{climo_SCO_20yr_O3_lat_time_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}\\
% 
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{climo_SCO_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{climo_SCO_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2+QBO.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily Taylor diagram of the SCO climo (above)}

  \textcolor{red}{Taylor diagram requires R, so cannot plot when data lengths are different. Will plot the zonal variance as lines on a seperate figure.}

  \centering
  \begin{overpic}[width=0.5\textwidth,clip=true,viewport=76 176 512 575,grid=false,tics=10]{../figs/{taylor_allvs20yr}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily SCO anomaly (13 yrs of OMI and CTM, 20 yrs of E3SM)}
  
  \textcolor{red}{need to change E3SM aspect ratio for paper}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{anomaly_all_O3strat_OMI}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{anomaly_all_O3strat_CTM}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.745\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{anomaly_20yr_O3_lat_time_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
% 
  \begin{overpic}[width=0.745\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{anomaly_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
%
  \begin{overpic}[width=0.745\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{anomaly_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2+QBO.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily 20-yr TPP \textcolor{red}{(may not show in paper)}}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{TPP_20yr_O3_lat_time_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}\\
% 
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{TPP_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=50 305 566 620,grid=false,tics=10]{../figs/{TPP_20yr_O3_lat_time_20191206.DECKv1b_A2_O3v2+QBO.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=44 240 570 550,grid=false,tics=10]{../figs/{diff_TPP_lat_time_O3v2-O3v1}.pdf}
  \end{overpic}
%
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=44 240 570 550,grid=false,tics=10]{../figs/{diff_TPP_lat_time_O3v2+QBO-O3v1}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily 20-yr QBO composite}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=46 269 566 626,grid=false,tics=10]{../figs/{qbo_composite_20yr_20180622.DECKv1b_A2.ne30_oEC.edison}.pdf}
  \end{overpic}
% 
  \hspace{-0.7cm}
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=46 269 566 626,grid=false,tics=10]{../figs/{qbo_composite_20yr_20191206.DECKv1b_A2_O3v2.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}\\
%
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=46 269 566 626,grid=false,tics=10]{../figs/{qbo_composite_20yr_20191206.DECKv1b_A2_O3v2+QBO.ne30_oECv3.cori-knl}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily QBO spectra}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,viewport=42 269 575 599,grid=false,tics=10]{../figs/{5S-5N_spec_O3v2_20yr}.pdf}
  \end{overpic}
\end{figure}

% new figure
\begin{figure}
  \setlength{\fboxsep}{1pt}

  {\sffamily STE flux}

  \centering
  \begin{overpic}[width=0.49\textwidth,clip=true,grid=false,tics=10]{../{O3v2_STE_seasonal}.png}
  \end{overpic}
\end{figure}

\end{document}
