Changeset 5084 for LMDZ6/trunk/libf/phylmd/inlandsis
- Timestamp:
- Jul 19, 2024, 6:40:44 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/inlandsis/surf_inlandsis_mod.F90
r5075 r5084 638 638 END DO 639 639 640 IF (sissnow(ikl) <=sn_low) THEN !add snow641 IF (isnoSV(ikl) >=1) THEN640 IF (sissnow(ikl) .LE. sn_low) THEN !add snow 641 IF (isnoSV(ikl).GE.1) THEN 642 642 dzsnSV(ikl, 1) = dzsnSV(ikl, 1) + sn_add / max(ro__SV(ikl, 1), epsi) 643 643 toicSV(ikl) = toicSV(ikl) - sn_add … … 657 657 END IF 658 658 659 IF (sissnow(ikl) >=sn_upp) THEN !thinnen snow layer below659 IF (sissnow(ikl) .ge. sn_upp) THEN !thinnen snow layer below 660 660 dzsnSV(ikl, 1) = dzsnSV(ikl, 1) / sn_div 661 661 toicSV(ikl) = toicSV(ikl) + dzsnSV(ikl, 1) * ro__SV(ikl, 1) / sn_div … … 1049 1049 ! Objet: Lecture du fichier de conditions initiales pour SISVAT 1050 1050 !====================================================================== 1051 include "netcdf.inc" 1051 1052 ! include "indicesol.h" 1052 1053 … … 1117 1118 1118 1119 DO isn = 1, nsno 1119 IF (isn <=99) THEN1120 IF (isn.LE.99) THEN 1120 1121 WRITE(str2, '(i2.2)') isn 1121 1122 CALL get_field("AGESNOW" // str2, & … … 1127 1128 ENDDO 1128 1129 DO isn = 1, nsno 1129 IF (isn <=99) THEN1130 IF (isn.LE.99) THEN 1130 1131 WRITE(str2, '(i2.2)') isn 1131 1132 CALL get_field("DZSNOW" // str2, & … … 1137 1138 ENDDO 1138 1139 DO isn = 1, nsno 1139 IF (isn <=99) THEN1140 IF (isn.LE.99) THEN 1140 1141 WRITE(str2, '(i2.2)') isn 1141 1142 CALL get_field("G2SNOW" // str2, & … … 1147 1148 ENDDO 1148 1149 DO isn = 1, nsno 1149 IF (isn <=99) THEN1150 IF (isn.LE.99) THEN 1150 1151 WRITE(str2, '(i2.2)') isn 1151 1152 CALL get_field("G1SNOW" // str2, & … … 1157 1158 ENDDO 1158 1159 DO isn = 1, nsismx 1159 IF (isn <=99) THEN1160 IF (isn.LE.99) THEN 1160 1161 WRITE(str2, '(i2.2)') isn 1161 1162 CALL get_field("ETA" // str2, & … … 1167 1168 ENDDO 1168 1169 DO isn = 1, nsismx 1169 IF (isn <=99) THEN1170 IF (isn.LE.99) THEN 1170 1171 WRITE(str2, '(i2.2)') isn 1171 1172 CALL get_field("RO" // str2, & … … 1177 1178 ENDDO 1178 1179 DO isn = 1, nsismx 1179 IF (isn <=99) THEN1180 IF (isn.LE.99) THEN 1180 1181 WRITE(str2, '(i2.2)') isn 1181 1182 CALL get_field("TSS" // str2, & … … 1187 1188 ENDDO 1188 1189 DO isn = 1, nsno 1189 IF (isn <=99) THEN1190 IF (isn.LE.99) THEN 1190 1191 WRITE(str2, '(i2.2)') isn 1191 1192 CALL get_field("HISTORY" // str2, & … … 1286 1287 IMPLICIT none 1287 1288 1289 include "netcdf.inc" 1288 1290 ! include "indicesol.h" 1289 1291 ! include "dimsoil.h" … … 1401 1403 1402 1404 DO isn = 1, nsno 1403 IF (isn <=99) THEN1405 IF (isn.LE.99) THEN 1404 1406 WRITE(str2, '(i2.2)') isn 1405 1407 CALL put_field(pass, "AGESNOW" // str2, & … … 1412 1414 ENDDO 1413 1415 DO isn = 1, nsno 1414 IF (isn <=99) THEN1416 IF (isn.LE.99) THEN 1415 1417 WRITE(str2, '(i2.2)') isn 1416 1418 CALL put_field(pass, "DZSNOW" // str2, & … … 1423 1425 ENDDO 1424 1426 DO isn = 1, nsno 1425 IF (isn <=99) THEN1427 IF (isn.LE.99) THEN 1426 1428 WRITE(str2, '(i2.2)') isn 1427 1429 CALL put_field(pass, "G2SNOW" // str2, & … … 1434 1436 ENDDO 1435 1437 DO isn = 1, nsno 1436 IF (isn <=99) THEN1438 IF (isn.LE.99) THEN 1437 1439 WRITE(str2, '(i2.2)') isn 1438 1440 CALL put_field(pass, "G1SNOW" // str2, & … … 1445 1447 ENDDO 1446 1448 DO isn = 1, nsismx 1447 IF (isn <=99) THEN1449 IF (isn.LE.99) THEN 1448 1450 WRITE(str2, '(i2.2)') isn 1449 1451 CALL put_field(pass, "ETA" // str2, & … … 1456 1458 ENDDO 1457 1459 DO isn = 1, nsismx !nsno 1458 IF (isn <=99) THEN1460 IF (isn.LE.99) THEN 1459 1461 WRITE(str2, '(i2.2)') isn 1460 1462 CALL put_field(pass, "RO" // str2, & … … 1467 1469 ENDDO 1468 1470 DO isn = 1, nsismx 1469 IF (isn <=99) THEN1471 IF (isn.LE.99) THEN 1470 1472 WRITE(str2, '(i2.2)') isn 1471 1473 CALL put_field(pass, "TSS" // str2, & … … 1478 1480 ENDDO 1479 1481 DO isn = 1, nsno 1480 IF (isn <=99) THEN1482 IF (isn.LE.99) THEN 1481 1483 WRITE(str2, '(i2.2)') isn 1482 1484 CALL put_field(pass, "HISTORY" // str2, &
Note: See TracChangeset
for help on using the changeset viewer.