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/dynlonlat_phylonlat/phylmd/init_ssrf_m.F90

    r2342 r2399  
    33!*******************************************************************************
    44
    5   USE indice_sol_mod
     5  USE indice_sol_mod, ONLY: is_ter, is_oce, is_oce, is_lic, epsfra
    66  USE dimphy,             ONLY: klon, zmasq
    7   USE phys_state_var_mod, ONLY: pctsrf, rlon, rlat
     7  USE phys_state_var_mod, ONLY: pctsrf
     8  USE geometry_mod, ONLY : longitude_deg, latitude_deg
    89  USE grid_atob_m,        ONLY: grille_m
    910  USE ioipsl,             ONLY: flininfo, flinopen, flinget, flinclo
     
    4546
    4647!--- Physical grid points coordinates
    47   DO j=2,jjm; rlat((j-2)*iim+2:(j-1)*iim+1)=rlatu(j);    END DO
    48   DO j=2,jjm; rlon((j-2)*iim+2:(j-1)*iim+1)=rlonv(1:im); END DO
    49   rlat(1) = pi/2.; rlat(klon) = - pi/2.; rlat(:)=rlat(:)/deg2rad
    50   rlon(1) = 0.0;   rlon(klon) = 0.0;     rlon(:)=rlon(:)/deg2rad
     48  DO j=2,jjm; latitude_deg((j-2)*iim+2:(j-1)*iim+1)=rlatu(j);    END DO
     49  DO j=2,jjm; longitude_deg((j-2)*iim+2:(j-1)*iim+1)=rlonv(1:im); END DO
     50  latitude_deg(1) = pi/2.; latitude_deg(klon) = - pi/2.
     51  latitude_deg(:)=latitude_deg(:)/deg2rad
     52  longitude_deg(1) = 0.0;   longitude_deg(klon) = 0.0;
     53  longitude_deg(:)=longitude_deg(:)/deg2rad
    5154
    5255! Compute ground geopotential, sub-cells quantities and possibly the mask.
Note: See TracChangeset for help on using the changeset viewer.