Changeset 5075 for LMDZ6/trunk/libf/phylmd/inlandsis
- Timestamp:
- Jul 19, 2024, 10:05:57 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/inlandsis/surf_inlandsis_mod.F90
r3900 r5075 638 638 END DO 639 639 640 IF (sissnow(ikl) .LE.sn_low) THEN !add snow641 IF (isnoSV(ikl) .GE.1) THEN640 IF (sissnow(ikl) <= sn_low) THEN !add snow 641 IF (isnoSV(ikl)>=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) .ge.sn_upp) THEN !thinnen snow layer below659 IF (sissnow(ikl) >= 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"1052 1051 ! include "indicesol.h" 1053 1052 … … 1118 1117 1119 1118 DO isn = 1, nsno 1120 IF (isn .LE.99) THEN1119 IF (isn<=99) THEN 1121 1120 WRITE(str2, '(i2.2)') isn 1122 1121 CALL get_field("AGESNOW" // str2, & … … 1128 1127 ENDDO 1129 1128 DO isn = 1, nsno 1130 IF (isn .LE.99) THEN1129 IF (isn<=99) THEN 1131 1130 WRITE(str2, '(i2.2)') isn 1132 1131 CALL get_field("DZSNOW" // str2, & … … 1138 1137 ENDDO 1139 1138 DO isn = 1, nsno 1140 IF (isn .LE.99) THEN1139 IF (isn<=99) THEN 1141 1140 WRITE(str2, '(i2.2)') isn 1142 1141 CALL get_field("G2SNOW" // str2, & … … 1148 1147 ENDDO 1149 1148 DO isn = 1, nsno 1150 IF (isn .LE.99) THEN1149 IF (isn<=99) THEN 1151 1150 WRITE(str2, '(i2.2)') isn 1152 1151 CALL get_field("G1SNOW" // str2, & … … 1158 1157 ENDDO 1159 1158 DO isn = 1, nsismx 1160 IF (isn .LE.99) THEN1159 IF (isn<=99) THEN 1161 1160 WRITE(str2, '(i2.2)') isn 1162 1161 CALL get_field("ETA" // str2, & … … 1168 1167 ENDDO 1169 1168 DO isn = 1, nsismx 1170 IF (isn .LE.99) THEN1169 IF (isn<=99) THEN 1171 1170 WRITE(str2, '(i2.2)') isn 1172 1171 CALL get_field("RO" // str2, & … … 1178 1177 ENDDO 1179 1178 DO isn = 1, nsismx 1180 IF (isn .LE.99) THEN1179 IF (isn<=99) THEN 1181 1180 WRITE(str2, '(i2.2)') isn 1182 1181 CALL get_field("TSS" // str2, & … … 1188 1187 ENDDO 1189 1188 DO isn = 1, nsno 1190 IF (isn .LE.99) THEN1189 IF (isn<=99) THEN 1191 1190 WRITE(str2, '(i2.2)') isn 1192 1191 CALL get_field("HISTORY" // str2, & … … 1287 1286 IMPLICIT none 1288 1287 1289 include "netcdf.inc"1290 1288 ! include "indicesol.h" 1291 1289 ! include "dimsoil.h" … … 1403 1401 1404 1402 DO isn = 1, nsno 1405 IF (isn .LE.99) THEN1403 IF (isn<=99) THEN 1406 1404 WRITE(str2, '(i2.2)') isn 1407 1405 CALL put_field(pass, "AGESNOW" // str2, & … … 1414 1412 ENDDO 1415 1413 DO isn = 1, nsno 1416 IF (isn .LE.99) THEN1414 IF (isn<=99) THEN 1417 1415 WRITE(str2, '(i2.2)') isn 1418 1416 CALL put_field(pass, "DZSNOW" // str2, & … … 1425 1423 ENDDO 1426 1424 DO isn = 1, nsno 1427 IF (isn .LE.99) THEN1425 IF (isn<=99) THEN 1428 1426 WRITE(str2, '(i2.2)') isn 1429 1427 CALL put_field(pass, "G2SNOW" // str2, & … … 1436 1434 ENDDO 1437 1435 DO isn = 1, nsno 1438 IF (isn .LE.99) THEN1436 IF (isn<=99) THEN 1439 1437 WRITE(str2, '(i2.2)') isn 1440 1438 CALL put_field(pass, "G1SNOW" // str2, & … … 1447 1445 ENDDO 1448 1446 DO isn = 1, nsismx 1449 IF (isn .LE.99) THEN1447 IF (isn<=99) THEN 1450 1448 WRITE(str2, '(i2.2)') isn 1451 1449 CALL put_field(pass, "ETA" // str2, & … … 1458 1456 ENDDO 1459 1457 DO isn = 1, nsismx !nsno 1460 IF (isn .LE.99) THEN1458 IF (isn<=99) THEN 1461 1459 WRITE(str2, '(i2.2)') isn 1462 1460 CALL put_field(pass, "RO" // str2, & … … 1469 1467 ENDDO 1470 1468 DO isn = 1, nsismx 1471 IF (isn .LE.99) THEN1469 IF (isn<=99) THEN 1472 1470 WRITE(str2, '(i2.2)') isn 1473 1471 CALL put_field(pass, "TSS" // str2, & … … 1480 1478 ENDDO 1481 1479 DO isn = 1, nsno 1482 IF (isn .LE.99) THEN1480 IF (isn<=99) THEN 1483 1481 WRITE(str2, '(i2.2)') isn 1484 1482 CALL put_field(pass, "HISTORY" // str2, &
Note: See TracChangeset
for help on using the changeset viewer.