Ignore:
Timestamp:
Jan 22, 2025, 3:47:23 PM (38 hours ago)
Author:
flefevre
Message:

Updated S2 ultraviolet cross-section from Frandsen (personal communication, 2024).
The cross-section file can be downloaded from

https://owncloud.latmos.ipsl.fr/index.php/s/QfazKRX8qfEz97F

and must be put in the INPUT/cross_sections directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/photolysis_mod.F90

    r3530 r3597  
    15711571      REAL y1(kdata)
    15721572      INTEGER ierr, dummy
    1573       INTEGER i, n
    1574 
     1573      INTEGER i, n, iopt
    15751574      CHARACTER*100 fil
    15761575      integer :: kin, kout ! input/output logical units
     
    15781577      kin = 10
    15791578
    1580       fil = 'cross_sections/s2_millsBestEst_1560_5059.txt'
    1581       print*, 'section efficace S2: ', fil
     1579!---------------------------------------------------------------------------------
     1580!     iopt = 1       Frank Mills' best estimate (1998)
     1581!     iopt = 2       Benjamin Frandsen calculation (personal communication, 2024)
     1582!---------------------------------------------------------------------------------
     1583
     1584      iopt = 2
     1585
     1586      if (iopt == 1) then
     1587         fil = 'cross_sections/s2_millsBestEst_1560_5059.txt'
     1588      else if (iopt == 2) then
     1589         fil = 'cross_sections/s2_cross_sections_frandsen.txt'
     1590      end if
    15821591
    15831592      if(is_master) then
    15841593
     1594      print*, 'S2 cross-section : ', fil
    15851595      OPEN(UNIT=kin,FILE=fil,STATUS='old')
    1586 
    1587       n = 1203
    1588       DO i = 1, n
    1589         READ(kin,*) x1(i), y1(i)
    1590         x1(i) = x1(i)/10
    1591       END DO
     1596     
     1597      if (iopt == 1) then
     1598         n = 1203
     1599         do i = 1, n
     1600            read(kin,*) x1(i), y1(i)
     1601            x1(i) = x1(i)/10.
     1602         end do
     1603      else if (iopt == 2) then
     1604         n = 406
     1605         do i = 1, 4
     1606            read(kin,*)
     1607         end do
     1608         do i = 1, n
     1609            read(kin,*) x1(i), y1(i)
     1610         end do
     1611      end if
     1612
    15921613      CLOSE (kin)
    15931614
Note: See TracChangeset for help on using the changeset viewer.