Ignore:
Timestamp:
Jun 30, 2023, 12:26:07 PM (11 months ago)
Author:
jghattas
Message:

Option no_ter_antartique is only read and used for the case landice_opt < 2. This was already the case on the regular grid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/create_etat0_unstruct.F90

    r4283 r4595  
    147147  !--- Land ice is set instead of the land fractions on these latitudes.
    148148  !--- The ocean and sea-ice fractions are not changed.
    149   no_ter_antartique=.FALSE.
    150   CALL getin_p('no_ter_antartique',no_ter_antartique)
    151   WRITE(lunout,*)"no_ter_antartique=",no_ter_antartique
    152   IF (no_ter_antartique) THEN
    153      ! Remove all land fractions souther than 60S and set land-ice instead
    154      WRITE(lunout,*) "Remove land fractions souther than 60deg south by increasing"
    155      WRITE(lunout,*) "the continental ice fractions. No land can now be found at Antartic."
    156      DO ji=1, klon
    157         IF (latitude_deg(ji)<-60.0) THEN
    158            pctsrf(ji,is_lic) = pctsrf(ji,is_lic) + pctsrf(ji,is_ter)
    159            pctsrf(ji,is_ter) = 0
    160         END IF
    161      END DO
     149  !--- This option is only available if landice_opt<2.   
     150  IF (landice_opt .LT. 2) THEN
     151     no_ter_antartique=.FALSE.
     152     CALL getin_p('no_ter_antartique',no_ter_antartique)
     153     WRITE(lunout,*)"no_ter_antartique=",no_ter_antartique
     154     IF (no_ter_antartique) THEN
     155        ! Remove all land fractions souther than 60S and set land-ice instead
     156        WRITE(lunout,*) "Remove land fractions souther than 60deg south by increasing"
     157        WRITE(lunout,*) "the continental ice fractions. No land can now be found at Antartic."
     158        DO ji=1, klon
     159           IF (latitude_deg(ji)<-60.0) THEN
     160              pctsrf(ji,is_lic) = pctsrf(ji,is_lic) + pctsrf(ji,is_ter)
     161              pctsrf(ji,is_ter) = 0
     162           END IF
     163        END DO
     164     END IF
    162165  END IF
    163166   
Note: See TracChangeset for help on using the changeset viewer.