Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (4 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/cospv2/quickbeam.F90

    r5095 r5099  
    22! Copyright (c) 2015, Regents of the University of Colorado
    33! All rights reserved.
    4 !
     4
    55! Redistribution and use in source and binary forms, with or without modification, are
    66! permitted provided that the following conditions are met:
    7 !
     7
    88! 1. Redistributions of source code must retain the above copyright notice, this list of
    99!    conditions and the following disclaimer.
    10 !
     10
    1111! 2. Redistributions in binary form must reproduce the above copyright notice, this list
    1212!    of conditions and the following disclaimer in the documentation and/or other
    1313!    materials provided with the distribution.
    14 !
     14
    1515! 3. Neither the name of the copyright holder nor the names of its contributors may be
    1616!    used to endorse or promote products derived from this software without specific prior
    1717!    written permission.
    18 !
     18
    1919! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
    2020! EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     
    2626! LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    2727! OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    28 !
     28
    2929! History
    3030! 11/2005: John Haynes - Created
     
    3333! 01/2008  'Do while' to determine if hydrometeor(s) present in volume
    3434!           changed for vectorization purposes (A. Bodas-Salcedo)
    35 !
     35
    3636! 07/2010  V3.0 ... Modified to load or save scale factors to disk as a Look-Up Table (LUT)
    3737!  ... All hydrometeor and radar simulator properties now included in hp structure
     
    4040!     Also ... Support of Morrison 2-moment style microphyscis (Np_matrix) added
    4141!  ... Changes implement by Roj Marchand following work by Laura Fowler
    42 !
     42
    4343!   10/2011  Modified ngate loop to go in either direction depending on flag
    4444!     hp%radar_at_layer_one.  This affects the direction in which attenuation is summed.
    45 !
     45
    4646!     Also removed called to AVINT for gas and hydrometeor attenuation and replaced with simple
    4747!     summation. (Roger Marchand)
     
    315315  ! ######################################################################################
    316316  ! SUBROUTINE cloudsat_precipOccurence
    317   !
     317
    318318  ! Notes from July 2016: Add precip flag also looped over subcolumns
    319319  ! Modified by Tristan L'Ecuyer (TSL) to add precipitation flagging
     
    321321  ! To mimic the satellite algorithm, this code applies thresholds to non-attenuated
    322322  ! reflectivities, Ze_non, consistent with those outlined in Haynes et al, JGR (2009).
    323   !
     323
    324324  ! Procedures/Notes:
    325   !
     325
    326326  ! (1) If the 2-way attenuation exceeds 40 dB, the pixel will be flagged as 'heavy rain'
    327327  ! consistent with the multiple-scattering analysis of Battaglia et al, JGR (2008).
     
    334334  ! due to differening attenuation corrections from hydrometeors aloft, the non-attenuated
    335335  ! reflectivities used in the computation of this flag cannot vary across sub-columns.
    336   !
     336
    337337  ! radar_prec_flag = 1-Rain possible 2-Rain probable 3-Rain certain
    338338  !                   4-Snow possible 5-Snow certain
     
    340340  !                   8-Heavy Rain
    341341  !                   9- default value
    342   !
     342
    343343  ! Modified by Dustin Swales (University of Colorado) for use with COSP2.
    344344  ! *NOTE* All inputs (Ze_out, Ze_non_out, fracPrecipIce) are at a single level from the
Note: See TracChangeset for help on using the changeset viewer.