Changeset 5144 for LMDZ6/branches/Amaury_dev/libf/phylmd/hgardfou.F90
- Timestamp:
- Jul 29, 2024, 11:01:04 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/hgardfou.F90
r5117 r5144 1 2 1 ! $Id$ 3 SUBROUTINE hgardfou(t, tsol, text, abortphy)2 SUBROUTINE hgardfou(t, tsol, text, abortphy) 4 3 USE dimphy, ONLY: klon, klev 5 4 USE phys_state_var_mod, ONLY: pctsrf … … 7 6 USE indice_sol_mod, ONLY: nbsrf 8 7 USE lmdz_print_control, ONLY: lunout 8 USE lmdz_yomcst 9 9 10 IMPLICIT NONE 10 11 ! ====================================================================== 11 12 ! Verifier la temperature 12 13 ! ====================================================================== 13 include "YOMCST.h"14 14 REAL t(klon, klev), tsol(klon, nbsrf) 15 CHARACTER(len =*), INTENT(IN):: text16 CHARACTER (LEN =20) :: modname = 'hgardfou'15 CHARACTER(len = *), INTENT(IN) :: text 16 CHARACTER (LEN = 20) :: modname = 'hgardfou' 17 17 INTEGER abortphy 18 18 … … 52 52 DO i = 1, jbad 53 53 WRITE (lunout, *) 'i,k,temperature,lon,lat,pourc ter,lic,oce,sic =', & 54 jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), &55 latitude_deg(jadrs(i)),(pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)54 jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), & 55 latitude_deg(jadrs(i)), (pctsrf(jadrs(i), nsrf), nsrf = 1, nbsrf) 56 56 END DO 57 57 END IF … … 68 68 DO i = 1, jbad 69 69 WRITE (lunout, *) 'i,k,temperature,lon,lat,pourc ter,lic,oce,sic =', & 70 jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), &71 latitude_deg(jadrs(i)), (pctsrf(jadrs(i),nsrf), nsrf=1, nbsrf)70 jadrs(i), k, zt(jadrs(i)), longitude_deg(jadrs(i)), & 71 latitude_deg(jadrs(i)), (pctsrf(jadrs(i), nsrf), nsrf = 1, nbsrf) 72 72 END DO 73 73 END IF … … 89 89 DO i = 1, jbad 90 90 WRITE (lunout, *) & 91 'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), &92 nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), &93 latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf)91 'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), & 92 nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), & 93 latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf) 94 94 END DO 95 95 END IF … … 106 106 DO i = 1, jbad 107 107 WRITE (lunout, *) & 108 'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), &109 nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), &110 latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf)108 'i,nsrf,temperature,lon,lat,pourc ter,lic,oce,sic =', jadrs(i), & 109 nsrf, zt(jadrs(i)), longitude_deg(jadrs(i)), & 110 latitude_deg(jadrs(i)), pctsrf(jadrs(i), nsrf) 111 111 END DO 112 112 END IF 113 113 END DO 114 114 115 ! IF (.NOT. ok) CALL abort_physic(modname, text, 1)116 IF (.NOT. ok) abortphy =1115 ! IF (.NOT. ok) CALL abort_physic(modname, text, 1) 116 IF (.NOT. ok) abortphy = 1 117 117 118 118 END SUBROUTINE hgardfou
Note: See TracChangeset
for help on using the changeset viewer.