Changeset 888 for LMDZ4/trunk/libf/phylmd/phyetat0.F
- Timestamp:
- Feb 4, 2008, 5:24:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/phyetat0.F
r879 r888 7 7 . rlat_p, rlon_p, pctsrf_p, tsol_p, 8 8 . ocean_in, ok_veget_in, 9 . alb e_p, alblw_p,9 . alb1_p, alb2_p, 10 10 . rain_fall_p, snow_fall_p,solsw_p, sollw_p, 11 11 . radsol_p,clesphy0, … … 53 53 REAL qsol_p(klon) 54 54 REAL snow_p(klon,nbsrf) 55 REAL albe_p(klon,nbsrf) 56 cIM BEG alblw 57 REAL alblw_p(klon,nbsrf) 58 cIM END alblw 55 REAL alb1_p(klon,nbsrf) ! albedo in visible SW interval 56 REAL alb2_p(klon,nbsrf) ! albedo in near IR interval 59 57 REAL evap_p(klon,nbsrf) 60 58 REAL radsol_p(klon) … … 93 91 REAL qsol(klon_glo) 94 92 REAL snow(klon_glo,nbsrf) 95 REAL alb e(klon_glo,nbsrf)96 REAL alb lw(klon_glo,nbsrf)93 REAL alb1(klon_glo,nbsrf) 94 REAL alb2(klon_glo,nbsrf) 97 95 REAL evap(klon_glo,nbsrf) 98 96 REAL radsol(klon_glo) … … 728 726 ENDIF 729 727 c 730 c Lecture de albedo au sol:728 c Lecture de albedo de l'interval visible au sol: 731 729 c 732 730 ierr = NF_INQ_VARID (nid, "ALBE", nvarid) … … 746 744 ENDIF 747 745 #ifdef NC_DOUBLE 748 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb e(1,nsrf))749 #else 750 ierr = NF_GET_VAR_REAL(nid, nvarid, alb e(1,nsrf))746 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb1(1,nsrf)) 747 #else 748 ierr = NF_GET_VAR_REAL(nid, nvarid, alb1(1,nsrf)) 751 749 #endif 752 750 IF (ierr.NE.NF_NOERR) THEN … … 757 755 xmax = -1.0E+20 758 756 DO i = 1, klon_glo 759 xmin = MIN(alb e(i,nsrf),xmin)760 xmax = MAX(alb e(i,nsrf),xmax)757 xmin = MIN(alb1(i,nsrf),xmin) 758 xmax = MAX(alb1(i,nsrf),xmax) 761 759 ENDDO 762 760 PRINT*,'Albedo du sol ALBE**:', nsrf, xmin, xmax … … 766 764 PRINT*, ' J ignore donc les autres ALBE**' 767 765 #ifdef NC_DOUBLE 768 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb e(1,1))769 #else 770 ierr = NF_GET_VAR_REAL(nid, nvarid, alb e(1,1))766 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb1(1,1)) 767 #else 768 ierr = NF_GET_VAR_REAL(nid, nvarid, alb1(1,1)) 771 769 #endif 772 770 IF (ierr.NE.NF_NOERR) THEN … … 777 775 xmax = -1.0E+20 778 776 DO i = 1, klon_glo 779 xmin = MIN(alb e(i,1),xmin)780 xmax = MAX(alb e(i,1),xmax)777 xmin = MIN(alb1(i,1),xmin) 778 xmax = MAX(alb1(i,1),xmax) 781 779 ENDDO 782 780 PRINT*,'Neige du sol <ALBE>', xmin, xmax 783 781 DO nsrf = 2, nbsrf 784 782 DO i = 1, klon_glo 785 alb e(i,nsrf) = albe(i,1)786 ENDDO 787 ENDDO 788 ENDIF 789 790 c 791 c Lecture de albedo au sol LW:783 alb1(i,nsrf) = alb1(i,1) 784 ENDDO 785 ENDDO 786 ENDIF 787 788 c 789 c Lecture de albedo au sol dans l'interval proche infra-rouge: 792 790 c 793 791 ierr = NF_INQ_VARID (nid, "ALBLW", nvarid) … … 798 796 DO nsrf = 1, nbsrf 799 797 DO i = 1, klon_glo 800 alb lw(i,nsrf) = albe(i,nsrf)798 alb2(i,nsrf) = alb1(i,nsrf) 801 799 ENDDO 802 800 ENDDO … … 805 803 PRINT*, ' J ignore donc les autres ALBLW**' 806 804 #ifdef NC_DOUBLE 807 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb lw(1,1))808 #else 809 ierr = NF_GET_VAR_REAL(nid, nvarid, alb lw(1,1))805 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, alb2(1,1)) 806 #else 807 ierr = NF_GET_VAR_REAL(nid, nvarid, alb2(1,1)) 810 808 #endif 811 809 IF (ierr.NE.NF_NOERR) THEN … … 816 814 xmax = -1.0E+20 817 815 DO i = 1, klon_glo 818 xmin = MIN(alb lw(i,1),xmin)819 xmax = MAX(alb lw(i,1),xmax)816 xmin = MIN(alb2(i,1),xmin) 817 xmax = MAX(alb2(i,1),xmax) 820 818 ENDDO 821 819 PRINT*,'Neige du sol <ALBLW>', xmin, xmax 822 820 DO nsrf = 2, nbsrf 823 821 DO i = 1, klon_glo 824 alb lw(i,nsrf) = alblw(i,1)822 alb2(i,nsrf) = alb2(i,1) 825 823 ENDDO 826 824 ENDDO … … 1583 1581 call Scatter( qsol,qsol_p) 1584 1582 call Scatter( snow,snow_p) 1585 call Scatter( alb e,albe_p)1586 call Scatter( alb lw,alblw_p)1583 call Scatter( alb1,alb1_p) 1584 call Scatter( alb2,alb2_p) 1587 1585 call Scatter( evap,evap_p) 1588 1586 call Scatter( radsol,radsol_p)
Note: See TracChangeset
for help on using the changeset viewer.