esmvaltool/preprocessor/_derive.py
def calc_netcre(cubes):
    """Compute net cloud radiative effect.

       Calculate net cre as sum of longwave and shortwave cloud
       radiative effects.

    Arguments
    ----
        cubes: cubelist containing rlut (toa_outgoing_longwave_flux), rlutcs
               (toa_outgoing_longwave_flux_assuming_clear_sky), rsut
               (toa_outgoing_shortwave_flux) and rsutcs
               (toa_outgoing_shortwave_flux_assuming_clear_sky).

    Returns
    -------
        Cube containing net cloud radiative effect.

    """
    lwcre = calc_lwcre(cubes)
    swcre = calc_swcre(cubes)

    netcre = lwcre + swcre
    netcre.units = lwcre.units

    return netcre
Compute net cloud radiative effect.

       Calculate net cre as sum of longwave and shortwave cloud
       radiative effects.

    Arguments
    ----
        cubes: cubelist containing rlut (toa_outgoing_longwave_flux), rlutcs
               (toa_outgoing_longwave_flux_assuming_clear_sky), rsut
               (toa_outgoing_shortwave_flux) and rsutcs
               (toa_outgoing_shortwave_flux_assuming_clear_sky).

    Returns
    -------
        Cube containing net cloud radiative effect.

    
Compute net cloud radiative effect.
Calculate net cre as sum of longwave and shortwave cloud
radiative effects.

Arguments



Returns

Cube containing net cloud radiative effect.
Compute net cloud radiative effect . Calculate net cre as sum of longwave and shortwave cloud radiative effects . Arguments Returns Cube containing net cloud radiative effect .
def calc_netcre(cubes):
    lwcre = calc_lwcre(cubes)
    swcre = calc_swcre(cubes)
    netcre = lwcre + swcre
    netcre.units = lwcre.units
    return netcre
def calc_netcre ( cubes ) : lwcre = calc_lwcre ( cubes ) swcre = calc_swcre ( cubes ) netcre = lwcre + swcre netcre . units = lwcre . units return netcre
Compute net cloud radiative effect.
Compute net cloud radiative effect .
"""Compute net cloud radiative effect.

       Calculate net cre as sum of longwave and shortwave cloud
       radiative effects.

    Arguments
    ----
        cubes: cubelist containing rlut (toa_outgoing_longwave_flux), rlutcs
               (toa_outgoing_longwave_flux_assuming_clear_sky), rsut
               (toa_outgoing_shortwave_flux) and rsutcs
               (toa_outgoing_shortwave_flux_assuming_clear_sky).

    Returns
    -------
        Cube containing net cloud radiative effect.

    """
cubes