Changeset 3259


Ignore:
Timestamp:
Mar 11, 2024, 6:43:35 PM (9 months ago)
Author:
gmilcareck
Message:

Fix a bug with global1d. When using global1d, the latitude used when global1d=false was still taken into account at global1d=true in the conditions for the presence of solar flux.

Location:
trunk/LMDZ.GENERIC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/changelog.txt

    r3240 r3259  
    18741874Removed the outdated 'How_to_add_an_aerosol_to_the_GCM.pdf' file, the information is now in the wiki page : https://lmdz-forge.lmd.jussieu.fr/mediawiki/Planets/index.php/Advanced_Use_of_the_GCM#How_to_Change_the_Aerosols_Optical_Properties
    18751875Add 'optpropgen' routines in the SVN (code written by JB Madeleine and Franck Montmessin, to generate aerosol optical properties)
     1876
     1877== 11/03/2024 == GM
     1878
     1879Fix a bug with global1d in callcorrk. When using global1d, the latitude used
     1880when global1d=false was still taken into account at global1d=true in the
     1881conditions for the presence of solar flux.
  • trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90

    r3233 r3259  
    11371137!-----------------------------------------------------------------------
    11381138
    1139          if(fract(ig) .ge. 1.0e-4) then ! Only during daylight.
     1139         if((fract(ig) .ge. 1.0e-4).or.(global1d)) then ! Only during daylight.
    11401140            if((ngrid.eq.1).and.(global1d))then
    11411141               do nw=1,L_NSPECTV
     
    11711171
    11721172         ! Equivalent Albedo Calculation (for OUTPUT). MT2015
    1173          if(fract(ig) .ge. 1.0e-4) then ! equivalent albedo makes sense only during daylight.       
     1173         if((fract(ig) .ge. 1.0e-4).or.(global1d)) then ! equivalent albedo makes sense only during daylight.       
    11741174            surface_stellar_flux=sum(nfluxgndv_nu(1:L_NSPECTV))     
    11751175            if(surface_stellar_flux .gt. 1.0e-3) then ! equivalent albedo makes sense only if the stellar flux received by the surface is positive.
Note: See TracChangeset for help on using the changeset viewer.