- Timestamp:
- 2019-11-08T13:00:52+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_2_2/ORCHIDEE/src_stomate/stomate_io.f90
r6160 r6319 80 80 & litterpart, litter, dead_leaves, & 81 81 & carbon, lignin_struc,turnover_time, & 82 & fco2_lu, &82 & co2_flux, fco2_lu, fco2_wh, fco2_ha, & 83 83 & prod10,prod100,flux10, flux100, & 84 84 & convflux, cflux_prod10, cflux_prod100, & … … 327 327 ! products remaining in the 10/100 year-turnover pool after the annual release for each compartment 328 328 ! (10 or 100 + 1 : input from year of land cover change) 329 REAL(r_std),DIMENSION(npts, nvm),INTENT(out) :: co2_flux 329 330 REAL(r_std),DIMENSION(npts),INTENT(out) :: fco2_lu 331 REAL(r_std),DIMENSION(npts),INTENT(out) :: fco2_wh 332 REAL(r_std),DIMENSION(npts),INTENT(out) :: fco2_ha 330 333 REAL(r_std),DIMENSION(npts,0:10),INTENT(out) :: prod10 331 334 REAL(r_std),DIMENSION(npts,0:100),INTENT(out) :: prod100 … … 1034 1037 !- 1035 1038 ! Read from restart file or set to zero if the variables or restart file were not found 1039 1040 var_name = 'co2_flux' 1041 CALL restget_p (rest_id_stomate, var_name, nbp_glo, nvm, 1, itime, & 1042 .TRUE., co2_flux, 'gather', nbp_glo, index_g) 1043 IF (ALL(co2_flux(:,:) == val_exp)) co2_flux(:,:) = zero 1044 1036 1045 var_name = 'fco2_lu' 1037 1046 CALL restget_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 1038 1047 .TRUE., fco2_lu, 'gather', nbp_glo, index_g) 1039 1048 IF (ALL(fco2_lu(:) == val_exp)) fco2_lu(:) = zero 1049 1050 var_name = 'fco2_wh' 1051 CALL restget_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 1052 .TRUE., fco2_wh, 'gather', nbp_glo, index_g) 1053 IF (ALL(fco2_wh(:) == val_exp)) fco2_wh(:) = zero 1054 1055 var_name = 'fco2_ha' 1056 CALL restget_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 1057 .TRUE., fco2_ha, 'gather', nbp_glo, index_g) 1058 IF (ALL(fco2_ha(:) == val_exp)) fco2_ha(:) = zero 1059 1040 1060 1041 1061 IF (vegetmap_reset) THEN … … 1332 1352 & litterpart, litter, dead_leaves, & 1333 1353 & carbon, lignin_struc, turnover_time, & 1334 & fco2_lu,&1354 & co2_flux, fco2_lu, fco2_wh, fco2_ha, & 1335 1355 & prod10,prod100 ,flux10, flux100, & 1336 1356 & convflux, cflux_prod10, cflux_prod100, & … … 1570 1590 ! products remaining in the 10/100 year-turnover pool after the annual release for each compartment 1571 1591 ! (10 or 100 + 1 : input from year of land cover change) 1592 REAL(r_std),DIMENSION(npts,nvm),INTENT(in) :: co2_flux 1572 1593 REAL(r_std),DIMENSION(npts),INTENT(in) :: fco2_lu 1594 REAL(r_std),DIMENSION(npts),INTENT(in) :: fco2_wh 1595 REAL(r_std),DIMENSION(npts),INTENT(in) :: fco2_ha 1573 1596 REAL(r_std),DIMENSION(npts,0:10),INTENT(in) :: prod10 1574 1597 REAL(r_std),DIMENSION(npts,0:100),INTENT(in) :: prod100 … … 2074 2097 ! 18 land cover change 2075 2098 !- 2099 var_name = 'co2_flux' 2100 CALL restput_p (rest_id_stomate, var_name, nbp_glo, nvm, 1, itime, & 2101 & co2_flux, 'scatter', nbp_glo, index_g) 2076 2102 var_name = 'fco2_lu' 2077 2103 CALL restput_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 2078 2104 & fco2_lu, 'scatter', nbp_glo, index_g) 2105 var_name = 'fco2_wh' 2106 CALL restput_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 2107 & fco2_wh, 'scatter', nbp_glo, index_g) 2108 var_name = 'fco2_ha' 2109 CALL restput_p (rest_id_stomate, var_name, nbp_glo, 1, 1, itime, & 2110 & fco2_ha, 'scatter', nbp_glo, index_g) 2111 2079 2112 var_name = 'prod10' 2080 2113 CALL restput_p (rest_id_stomate, var_name, nbp_glo, 11, 1, itime, &
Note: See TracChangeset
for help on using the changeset viewer.