Ignore:
Timestamp:
Apr 24, 2023, 6:11:11 PM (17 months ago)
Author:
evignon
Message:

modif for polar runs: control of the maximum latitude at which the polar filter is active (new key in .def files)
+ dependency of ratqs upon resolution (cell area)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/filtrez/filtreg_mod.F90

    r4440 r4519  
    1616  USE serre_mod, ONLY: alphax
    1717  USE logic_mod, ONLY: fxyhypb, ysinus
     18  USE comconst_mod, ONLY: maxlatfilter
     19
    1820    !    ... H. Upadhyaya, O.Sharma   ...
    1921    !
     
    125127    ! as length dx becomes of the same size as dy
    126128    !
     129    ! if maxlatfilter >0, prescribe the colat0 value from the .def files
     130   
     131    IF (maxlatfilter .LT. 0.) THEN
     132
    127133    colat0  =  MIN( 0.5, dymin/dxmin )
    128134    ! colat0  =  1.
     
    133139       alphax = 0.
    134140    ENDIF
     141
     142    ELSE
     143
     144    colat0=(90.0-maxlatfilter)/180.0*pi       
     145
     146    ENDIF
     147   
     148   
     149   
    135150    !
    136151    PRINT 50, colat0,alphax
Note: See TracChangeset for help on using the changeset viewer.