Ignore:
Timestamp:
Nov 20, 2015, 5:23:28 PM (9 years ago)
Author:
Ehouarn Millour
Message:

Follow-up from commit 2395: get rid of rlon and rlat, longitude_deg and latitude_deg (from module geometry_mod) should be used instead. Longitudes and latitudes are no longer loaded from startphy.nc but inherited from dynamics (and compatibility with values in startphy.nc is checked). This will change bench results because of roundoffs differences between the two.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/hgardfou.F90

    r2346 r2399  
    22! $Id$
    33SUBROUTINE hgardfou(t, tsol, text,abortphy)
    4   USE dimphy
    5   USE phys_state_var_mod
    6   USE indice_sol_mod
     4  USE dimphy, ONLY: klon, klev
     5  USE phys_state_var_mod, ONLY: pctsrf
     6  USE geometry_mod, ONLY: longitude_deg, latitude_deg
     7  USE indice_sol_mod, ONLY: nbsrf
    78  USE print_control_mod, ONLY: lunout
    89  IMPLICIT NONE
     
    5556      DO i = 1, jbad
    5657        WRITE (lunout, *) 'i,k,temperature,lon,lat,pourc ter,lic,oce,sic =', &
    57           jadrs(i), k, zt(jadrs(i)), rlon(jadrs(i)), rlat(jadrs(i)), &
    58           (pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)
     58          jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), &
     59          latitude_deg(jadrs(i)),(pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)
    5960      END DO
    6061    END IF
     
    7576      DO i = 1, jbad
    7677        WRITE (lunout, *) 'i,k,temperature,lon,lat,pourc ter,lic,oce,sic =', &
    77           jadrs(i), k, zt(jadrs(i)), rlon(jadrs(i)), rlat(jadrs(i)), &
    78           (pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)
     78          jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), &
     79          latitude_deg(jadrs(i)), (pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)
    7980      END DO
    8081    END IF
     
    101102        WRITE (lunout, *) &
    102103          'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), &
    103           nsrf, zt(jadrs(i)), rlon(jadrs(i)), rlat(jadrs(i)), &
    104           pctsrf(jadrs(i), nsrf)
     104          nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), &
     105          latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf)
    105106      END DO
    106107    END IF
     
    122123        WRITE (lunout, *) &
    123124          'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), &
    124           nsrf, zt(jadrs(i)), rlon(jadrs(i)), rlat(jadrs(i)), &
    125           pctsrf(jadrs(i), nsrf)
     125          nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), &
     126          latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf)
    126127      END DO
    127128    END IF
Note: See TracChangeset for help on using the changeset viewer.