%if LAYER <> mc_10fg %and LAYER  <> mc_10ws %and LAYER <> mc_2tmax %and
    LAYER <> mc_2tmean %and LAYER <> mc_2tmin %and LAYER <> mc_cape %and
    LAYER <> mc_capeshear %and LAYER <> mc_sf %and LAYER <> mc_swh %and LAYER <> mc_tp  %then
        %unset QUANTILE

%if LAYER <> mn2t %and LAYER <> mx2t %and LAYER <> 10m_fg_interval %then
    %unset INTERVAL
