Ignore:
Timestamp:
Jan 11, 2017, 3:33:51 PM (8 years ago)
Author:
jvatant
Message:

+ Major clean of the new LMDZ.TITAN from too-generic options and routines (water, co2, ocean, surface type ...)
+ From this revision LMDZ.TITAN begins to be really separated from LMDZ.GENERIC
+ Partial desactivation of aerosols, only the dummy case is still enabled to keep the code running ( new aerosol routines to come in followings commits )

JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/suaer_corrk.F90

    r1529 r1647  
    4242!     MODIF R. Wordsworth (2009)
    4343!     - generalisation to arbitrary spectral bands
    44 !
    45 !==================================================================
     44!     
     45!     WARNING : Titan adapt. (J. Vatant d'Ollone, 2017)
     46!            - ONLY THE NO AEROSOL CASE FOR NOW SINCE WE COMPUTE THEM ANOTHER WAY !
     47!            - This routine is just here to keep the code running without unplugging all (yet)                           
     48!================================================================================================
    4649
    4750!     Optical properties (read in external ASCII files)
     
    106109      endif
    107110      do iaer=1,naerkind
    108        if (iaer.eq.iaero_co2) then
     111       if (iaer.eq.1) then ! JVO 2017 : Now iaer = 1 is always dummy co2 for noaero case, since we don't use aerosols
    109112        forgetit=.true.
    110           if (.not.noaero) then
    111               print*, 'naerkind= co2', iaer
    112           end if
    113113!     visible
    114114        if(forgetit)then
     
    130130! JB thinks this shouldn't matter too much, but it needs to be
    131131! fixed / decided for the final version.
    132 
    133        if (iaer.eq.iaero_h2o) then
    134         print*, 'naerkind= h2o', iaer
    135 
    136 !     visible
    137          file_id(iaer,1) = 'optprop_icevis_n50.dat'
    138          lamrefvis(iaer)=1.5E-6   ! 1.5um OMEGA/MEx
    139 !     infrared
    140          file_id(iaer,2) = 'optprop_iceir_n50.dat'
    141          lamrefir(iaer)=12.1E-6   ! 825cm-1 TES/MGS
    142        endif
    143 
    144        if (iaer.eq.iaero_dust) then
    145         print*, 'naerkind= dust', iaer
    146 
    147 !     visible
    148          file_id(iaer,1) = 'optprop_dustvis_n50.dat'
    149          !lamrefvis(iaer)=1.5E-6   ! 1.5um OMEGA/MEx
    150          lamrefvis(iaer)=0.67e-6
    151 !     infrared
    152          file_id(iaer,2) = 'optprop_dustir_n50.dat'
    153          !lamrefir(iaer)=12.1E-6   ! 825cm-1 TES/MGS
    154          lamrefir(iaer)=9.3E-6
    155        endif
    156 
    157        if (iaer.eq.iaero_h2so4) then
    158          print*, 'naerkind= h2so4', iaer
    159 
    160 !     visible
    161          file_id(iaer,1) = 'optprop_h2so4vis_n20.dat'
    162          !lamrefir(iaer)=  doesn't exist?
    163          lamrefvis(iaer)=1.5E-6   ! no idea, must find
    164 !     infrared
    165          file_id(iaer,2) = 'optprop_h2so4ir_n20.dat'
    166          !lamrefir(iaer)=12.1E-6   ! 825cm-1 TES/MGS
    167          lamrefir(iaer)=9.3E-6 ! no idea, must find
    168 ! added by LK
    169        endif
    170132
    171133       if (iaer.eq.iaero_back2lay) then
     
    328290
    329291      jfile = jfile+1
    330       IF ((idomain.NE.iaero_co2).OR.(iaer.NE.iaero_co2)) THEN
     292      IF ((idomain.NE.1).OR.(iaer.NE.1)) THEN
    331293         endwhile = .true.
    332294      ENDIF
     
    346308
    347309!     1.5 If Francois' data, convert wvl to metres
    348        if(iaer.eq.iaero_co2)then
     310       if(iaer.eq.1)then
    349311         if(forgetit)then
    350312         !   print*,'please sort out forgetit for naerkind>1'
Note: See TracChangeset for help on using the changeset viewer.