source: LMDZ6/branches/Amaury_dev/libf/phylmd/phyredem.F90 @ 5441

Last change on this file since 5441 was 5224, checked in by abarral, 3 months ago

Merge r5204 r5205
Light lint
Correct missing IOIPSL includes

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 15.3 KB
RevLine 
[5106]1SUBROUTINE phyredem(fichnom)
[5099]2
[5111]3  !-------------------------------------------------------------------------------
4  ! Author: Z.X. Li (LMD/CNRS), 1993/08/18
5  !-------------------------------------------------------------------------------
6  ! Purpose: Write restart state for physics.
7  !-------------------------------------------------------------------------------
[2395]8  USE dimphy, ONLY: klon, klev
[5111]9  USE fonte_neige_mod, ONLY: fonte_neige_final
10  USE pbl_surface_mod, ONLY: pbl_surface_final
11  USE phys_state_var_mod, ONLY: radpas, zmasq, pctsrf, &
12          ftsol, beta_aridity, delta_tsurf, falb_dir, &
13          falb_dif, qsol, fevap, radsol, solsw, sollw, &
14          sollwdown, rain_fall, snow_fall, bs_fall, z0m, z0h, &
15          agesno, zmea, zstd, zsig, zgam, zthe, zpic, &
16          zval, rugoro, t_ancien, q_ancien, &
17          prw_ancien, prlw_ancien, prsw_ancien, prbsw_ancien, &
[5224]18          ql_ancien, qs_ancien, qbs_ancien, cf_ancien, rvc_ancien, u_ancien, &
[5111]19          v_ancien, clwcon, rnebcon, ratqs, pbl_tke, &
20          wake_delta_pbl_tke, zmax0, f0, sig1, w01, &
21          wake_deltat, wake_deltaq, wake_s, awake_s, &
22          wake_dens, awake_dens, cv_gen, &
23          wake_cstar, &
24          wake_pe, wake_fip, fm_therm, entr_therm, &
25          detr_therm, ale_bl, ale_bl_trig, alp_bl, &
26          ale_wake, ale_bl_stat, &
27          du_gwd_rando, du_gwd_front, u10m, v10m, &
28          treedrg, solswfdiff, delta_sal, ds_ns, dt_ns, &
29          delta_sst, ratqs_inter_, dter, dser, dt_ds
[3815]30
[5112]31  USE lmdz_geometry, ONLY: longitude_deg, latitude_deg
[3506]32  USE iostart, ONLY: open_restartphy, close_restartphy, enddef_restartphy, put_field, put_var
[5101]33  USE traclmdz_mod, ONLY: traclmdz_to_restart
[4389]34  USE infotrac_phy, ONLY: type_trac, nqtot, tracers, nbtr
[5101]35  USE carbon_cycle_mod, ONLY: carbon_cycle_cpl, co2_send, carbon_cycle_rad, RCO2_glo
[2395]36  USE indice_sol_mod, ONLY: nbsrf, is_oce, is_sic, is_ter, is_lic, epsfra
37  USE surface_data, ONLY: type_ocean, version_ocean
[5101]38  USE ocean_slab_mod, ONLY: nslay, tslab, seaice, tice, fsic
[2344]39  USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy, pdtphys
[5117]40  USE config_ocean_skin_m, ONLY: activate_ocean_skin
[5111]41  USE lmdz_abort_physic, ONLY: abort_physic
[5134]42  USE lmdz_alpale
[5137]43  USE lmdz_clesphys
[5139]44  USE lmdz_compbl, ONLY: iflag_pbl, iflag_pbl_split, iflag_order2_sollw, ifl_pbltree
[967]45
[5134]46  IMPLICIT NONE
[2293]47
[1827]48  include "dimsoil.h"
49  !======================================================================
50  CHARACTER*(*) fichnom
[967]51
[1827]52  ! les variables globales ecrites dans le fichier restart
[782]53
[1827]54  REAL tsoil(klon, nsoilmx, nbsrf)
55  REAL qsurf(klon, nbsrf)
56  REAL snow(klon, nbsrf)
[5117]57  REAL fder(klon)
[1827]58  REAL run_off_lic_0(klon)
59  REAL trs(klon, nbtr)
[782]60
[1827]61  INTEGER nid, nvarid, idim1, idim2, idim3
62  INTEGER ierr
63  INTEGER length
[5111]64  PARAMETER (length = 100)
[1827]65  REAL tab_cntrl(length)
[782]66
[5111]67  INTEGER isoil, nsrf, isw
68  CHARACTER (len = 2) :: str2
69  CHARACTER (len = 256) :: nam, lnam
70  INTEGER :: it, iq, pass
[524]71
[1827]72  !======================================================================
[524]73
[1827]74  ! Get variables which will be written to restart file from module
75  ! pbl_surface_mod
[5117]76  IF (iflag_physiq <= 1) THEN
[5111]77    CALL pbl_surface_final(fder, snow, qsurf, tsoil)
[5117]78  ENDIF
[1279]79
[1827]80  ! Get a variable calculated in module fonte_neige_mod
81  CALL fonte_neige_final(run_off_lic_0)
[1001]82
[1827]83  !======================================================================
[1001]84
[1827]85  CALL open_restartphy(fichnom)
[1001]86
[1827]87  DO ierr = 1, length
[5111]88    tab_cntrl(ierr) = 0.0
[1827]89  ENDDO
[2344]90  tab_cntrl(1) = pdtphys
[1827]91  tab_cntrl(2) = radpas
92  ! co2_ppm : current value of atmospheric CO2
93  tab_cntrl(3) = co2_ppm
94  tab_cntrl(4) = solaire
95  tab_cntrl(5) = iflag_con
96  tab_cntrl(6) = nbapp_rad
[524]97
[5111]98  IF(iflag_cycle_diurne>=1) tab_cntrl(7) = iflag_cycle_diurne
99  IF(soil_model) tab_cntrl(8) = 1.
100  IF(new_oliq) tab_cntrl(9) = 1.
101  IF(ok_orodr) tab_cntrl(10) = 1.
102  IF(ok_orolf) tab_cntrl(11) = 1.
[524]103
[1827]104  tab_cntrl(13) = day_end
105  tab_cntrl(14) = annee_ref
106  tab_cntrl(15) = itau_phy
107
108  ! co2_ppm0 : initial value of atmospheric CO2
[4298]109  ! tab_cntrl(16) = co2_ppm0
[1827]110
[4298]111  !  PC -- initial value of RCO2 for the radiation scheme
112  !  tab_cntrl(17) = co2_ppm * 1.0e-06 * RMCO2 / RMD
113  IF (carbon_cycle_rad) tab_cntrl(17) = RCO2_glo
114  !PRINT*, "PC : phyredem RCO2_glo =",RCO2_glo
115
[5111]116  DO pass = 1, 2   ! pass=1 netcdf definition ; pass=2 netcdf write
117
[3506]118    CALL put_var(pass, "controle", "Parametres de controle", tab_cntrl)
[1827]119
[5111]120    CALL put_field(pass, "longitude", &
121            "Longitudes de la grille physique", longitude_deg)
[1827]122
[5111]123    CALL put_field(pass, "latitude", "Latitudes de la grille physique", latitude_deg)
[1827]124
[3506]125    ! PB ajout du masque terre/mer
[1827]126
[5111]127    CALL put_field(pass, "masque", "masque terre mer", zmasq)
[1827]128
[3506]129    ! BP ajout des fraction de chaque sous-surface
[1827]130
[3506]131    ! Get last fractions from slab ocean
132    IF (type_ocean == 'slab' .AND. version_ocean == "sicINT") THEN
[5111]133      WHERE (1. - zmasq(:)>EPSFRA)
134        pctsrf(:, is_oce) = (1. - fsic(:)) * (1. - zmasq(:))
135        pctsrf(:, is_sic) = fsic(:) * (1. - zmasq(:))
136      END WHERE
[3506]137    END IF
[2209]138
[3506]139    ! 1. fraction de terre
[1827]140
[5111]141    CALL put_field(pass, "FTER", "fraction de continent", pctsrf(:, is_ter))
[1827]142
[3506]143    ! 2. Fraction de glace de terre
[1827]144
[5111]145    CALL put_field(pass, "FLIC", "fraction glace de terre", pctsrf(:, is_lic))
[3506]146    ! 3. fraction ocean
[1827]147
[5111]148    CALL put_field(pass, "FOCE", "fraction ocean", pctsrf(:, is_oce))
[1827]149
[3506]150    ! 4. Fraction glace de mer
[1827]151
[5111]152    CALL put_field(pass, "FSIC", "fraction glace mer", pctsrf(:, is_sic))
[1827]153
[3506]154    IF(nbsrf>99) THEN
155      PRINT*, "Trop de sous-mailles";  CALL abort_physic("phyredem", "", 1)
156    END IF
157    IF(nsoilmx>99) THEN
158      PRINT*, "Trop de sous-surfaces"; CALL abort_physic("phyredem", "", 1)
159    END IF
160    IF(nsw>99) THEN
161      PRINT*, "Trop de bandes"; CALL abort_physic("phyredem", "", 1)
162    END IF
[1827]163
[5111]164    !    Surface variables
165    CALL put_field_srf1(pass, "TS", "Temperature", ftsol(:, :))
[2293]166
[5116]167    IF (iflag_pbl>1 .AND. iflag_wake>=1  .AND. iflag_pbl_split >=1) THEN
[5111]168      CALL put_field_srf1(pass, "DELTATS", &
169              "w-x surface temperature difference", delta_tsurf(:, :))
170      CALL put_field_srf1(pass, "BETAS", "Aridity factor", beta_aridity(:, :))
[4035]171    end IF
[5111]172    !    End surface variables
[3888]173
[5111]174    ! ================== Albedo =======================================
175    PRINT*, 'PHYREDEM NOUVEAU'
176    CALL put_field_srf2(pass, "A_dir_SW", "Albedo direct", falb_dir(:, :, :))
177    CALL put_field_srf2(pass, "A_dif_SW", "Albedo diffus", falb_dif(:, :, :))
[2237]178
[5111]179    CALL put_field_srf1(pass, "U10M", "u a 10m", u10m)
[2569]180
[5111]181    CALL put_field_srf1(pass, "V10M", "v a 10m", v10m)
[2569]182
183
[5111]184    ! ================== Tsoil =========================================
185    CALL put_field_srf2(pass, "Tsoil", "Temperature", tsoil(:, :, :))
186    !FC
187    !  CALL put_field_srf2("treedrg","freinage arbres",treedrg(:,:,:))
188    CALL put_field(pass, "treedrg_ter", "freinage arbres", treedrg(:, :, is_ter))
[524]189
[5111]190    CALL put_field_srf1(pass, "QS", "Humidite", qsurf(:, :))
[2952]191
[5111]192    CALL put_field     (pass, "QSOL", "Eau dans le sol (mm)", qsol)
[1827]193
[5111]194    CALL put_field_srf1(pass, "EVAP", "Evaporation", fevap(:, :))
[1827]195
[5111]196    CALL put_field_srf1(pass, "SNOW", "Neige", snow(:, :))
[1827]197
[5111]198    CALL put_field(pass, "RADS", "Rayonnement net a la surface", radsol)
[1827]199
[5111]200    CALL put_field(pass, "solsw", "Rayonnement solaire a la surface", solsw)
[1827]201
[5111]202    CALL put_field(pass, "solswfdiff", "Fraction du rayonnement solaire a la surface qui est diffus", solswfdiff)
[1827]203
[5111]204    CALL put_field(pass, "sollw", "Rayonnement IF a la surface", sollw)
[3756]205
[5111]206    CALL put_field(pass, "sollwdown", "Rayonnement down IF a la surface", sollwdown)
[1827]207
[5111]208    CALL put_field(pass, "fder", "Derive de flux", fder)
[2188]209
[5111]210    CALL put_field(pass, "rain_f", "precipitation liquide", rain_fall)
[1827]211
[5111]212    CALL put_field(pass, "snow_f", "precipitation solide", snow_fall)
[1827]213
[5111]214    CALL put_field_srf1(pass, "Z0m", "rugosite", z0m(:, :))
[1827]215
[5111]216    CALL put_field_srf1(pass, "Z0h", "rugosite", z0h(:, :))
[1827]217
[5111]218    CALL put_field_srf1(pass, "AGESNO", "Age de la neige", agesno(:, :))
[1827]219
[5111]220    CALL put_field(pass, "ZMEA", "ZMEA", zmea)
[2293]221
[5111]222    CALL put_field(pass, "ZSTD", "ZSTD", zstd)
[1827]223
[5111]224    CALL put_field(pass, "ZSIG", "ZSIG", zsig)
[1827]225
[5111]226    CALL put_field(pass, "ZGAM", "ZGAM", zgam)
[1827]227
[5111]228    CALL put_field(pass, "ZTHE", "ZTHE", zthe)
[1827]229
[5111]230    CALL put_field(pass, "ZPIC", "ZPIC", zpic)
[1827]231
[5111]232    CALL put_field(pass, "ZVAL", "ZVAL", zval)
[1827]233
[5111]234    CALL put_field(pass, "RUGSREL", "RUGSREL", rugoro)
[1827]235
[5111]236    CALL put_field(pass, "TANCIEN", "TANCIEN", t_ancien)
[1827]237
[5111]238    CALL put_field(pass, "QANCIEN", "QANCIEN", q_ancien)
[1827]239
[5111]240    CALL put_field(pass, "QLANCIEN", "QLANCIEN", ql_ancien)
[1827]241
[5111]242    CALL put_field(pass, "QSANCIEN", "QSANCIEN", qs_ancien)
[2497]243
[4523]244    IF (ok_bs) THEN
[5111]245      CALL put_field(pass, "bs_f", "precipitation neige soufflee", bs_fall)
246      CALL put_field(pass, "QBSANCIEN", "QBSANCIEN", qbs_ancien)
247      CALL put_field(pass, "PRBSWANCIEN", "PRBSWANCIEN", prbsw_ancien)
[4523]248    ENDIF
249
[5224]250    IF (ok_ice_supersat) THEN
251      CALL put_field(pass, "CFANCIEN", "CFANCIEN", cf_ancien)
252      CALL put_field(pass, "RVCANCIEN", "RVCANCIEN", rvc_ancien)
253    ENDIF
[4059]254
[5111]255    CALL put_field(pass, "PRWANCIEN", "PRWANCIEN", prw_ancien)
[1827]256
[5111]257    CALL put_field(pass, "PRLWANCIEN", "PRLWANCIEN", prlw_ancien)
[1827]258
[5111]259    CALL put_field(pass, "PRSWANCIEN", "PRSWANCIEN", prsw_ancien)
[2499]260
[5111]261    CALL put_field(pass, "UANCIEN", "UANCIEN", u_ancien)
[2499]262
[5111]263    CALL put_field(pass, "VANCIEN", "VANCIEN", v_ancien)
[2499]264
[5111]265    CALL put_field(pass, "CLWCON", "Eau liquide convective", clwcon)
[1827]266
[5111]267    CALL put_field(pass, "RNEBCON", "Nebulosite convective", rnebcon)
[1827]268
[5111]269    CALL put_field(pass, "RATQS", "Ratqs", ratqs)
[1827]270
[3506]271    ! run_off_lic_0
[1827]272
[5111]273    CALL put_field(pass, "RUNOFFLIC0", "Runofflic0", run_off_lic_0)
[1827]274
[3506]275    ! DEB TKE PBL !
[1827]276
[5116]277    IF (iflag_pbl>1) THEN
[5111]278      CALL put_field_srf3(pass, "TKE", "Energ. Cineti. Turb.", &
279              pbl_tke(:, :, :))
280      CALL put_field_srf3(pass, "DELTATKE", "Del TKE wk/env.", &
281              wake_delta_pbl_tke(:, :, :))
[3506]282    END IF
[1619]283
[3506]284    ! FIN TKE PBL !
285    !IM ajout zmax0, f0, sig1, w01
286    !IM wake_deltat, wake_deltaq, wake_s, wake_cstar, wake_pe, wake_fip
[1619]287
[5111]288    CALL put_field(pass, "ZMAX0", "ZMAX0", zmax0)
[1619]289
[5111]290    CALL put_field(pass, "F0", "F0", f0)
[878]291
[5111]292    CALL put_field(pass, "sig1", "sig1 Emanuel", sig1)
[1001]293
[5111]294    CALL put_field(pass, "w01", "w01 Emanuel", w01)
[1001]295
[3506]296    ! wake_deltat
[5111]297    CALL put_field(pass, "WAKE_DELTAT", "WAKE_DELTAT", wake_deltat)
[1279]298
[5111]299    CALL put_field(pass, "WAKE_DELTAQ", "WAKE_DELTAQ", wake_deltaq)
[1403]300
[5111]301    CALL put_field(pass, "WAKE_S", "Wake frac. area", wake_s)
[1403]302
[5111]303    CALL put_field(pass, "AWAKE_S", "Active Wake frac. area", awake_s)
[4744]304
[5111]305    CALL put_field(pass, "WAKE_DENS", "Wake num. /unit area", wake_dens)
[2635]306
[5111]307    CALL put_field(pass, "AWAKE_DENS", "Active Wake num. /unit area", awake_dens)
[3956]308
[5111]309    CALL put_field(pass, "CV_GEN", "CB birth rate", cv_gen)
[3956]310
[5111]311    CALL put_field(pass, "WAKE_CSTAR", "WAKE_CSTAR", wake_cstar)
[1403]312
[5111]313    CALL put_field(pass, "WAKE_PE", "WAKE_PE", wake_pe)
[1403]314
[5111]315    CALL put_field(pass, "WAKE_FIP", "WAKE_FIP", wake_fip)
[1279]316
[3506]317    ! thermiques
[1827]318
[5111]319    CALL put_field(pass, "FM_THERM", "FM_THERM", fm_therm)
[1827]320
[5111]321    CALL put_field(pass, "ENTR_THERM", "ENTR_THERM", entr_therm)
[1827]322
[5111]323    CALL put_field(pass, "DETR_THERM", "DETR_THERM", detr_therm)
[1827]324
[5111]325    CALL put_field(pass, "ALE_BL", "ALE_BL", ale_bl)
[2069]326
[5111]327    CALL put_field(pass, "ALE_BL_TRIG", "ALE_BL_TRIG", ale_bl_trig)
[2069]328
[5111]329    CALL put_field(pass, "ALP_BL", "ALP_BL", alp_bl)
[2069]330
[5111]331    CALL put_field(pass, "ALE_WAKE", "ALE_WAKE", ale_wake)
[3080]332
[5111]333    CALL put_field(pass, "ALE_BL_STAT", "ALE_BL_STAT", ale_bl_stat)
[3080]334
335
[3856]336    ! fisrtilp/clouds
[5111]337    CALL put_field(pass, "RATQS_INTER", "Relative width of the lsc sugrid scale water", ratqs_inter_)
[3856]338
[5111]339    IF (ANY(type_trac == ['co2i', 'inco'])) THEN
340      IF (carbon_cycle_cpl) THEN
341        IF (.NOT. ALLOCATED(co2_send)) THEN
342          ! This is the case of create_etat0_limit, ce0l
343          ALLOCATE(co2_send(klon))
344          co2_send(:) = co2_ppm0
345        END IF
346        CALL put_field(pass, "co2_send", "co2_ppm for coupling", co2_send)
347      END IF
[3856]348
[5111]349      ! trs from traclmdz_mod
[4263]350    ELSE IF (type_trac == 'lmdz') THEN
[5111]351      CALL traclmdz_to_restart(trs)
352      it = 0
353      DO iq = 1, nqtot
354        IF(.NOT.(tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE
355        it = it + 1
356        CALL put_field(pass, "trs_" // tracers(iq)%name, "", trs(:, it))
357      END DO
[3933]358    END IF
359
[3506]360    ! Restart variables for Slab ocean
361    IF (type_ocean == 'slab') THEN
[5111]362      IF (nslay==1) THEN
363        CALL put_field(pass, "tslab", "Slab ocean temperature", tslab)
364      ELSE
365        DO it = 1, nslay
366          WRITE(str2, '(i2.2)') it
367          CALL put_field(pass, "tslab" // str2, "Slab ocean temperature", tslab(:, it))
368        END DO
369      END IF
370      IF (version_ocean == 'sicINT') THEN
371        CALL put_field(pass, "seaice", "Slab seaice (kg/m2)", seaice)
372        CALL put_field(pass, "slab_tice", "Slab sea ice temperature", tice)
373      END IF
[3506]374    END IF
[1827]375
[5117]376    IF (ok_gwd_rando) CALL put_field(pass, "du_gwd_rando", &
[5111]377            "tendency on zonal wind due to flott gravity waves", du_gwd_rando)
[2057]378
[5117]379    IF (.NOT. ok_hines .AND. ok_gwd_rando) CALL put_field(pass, "du_gwd_front", &
[5111]380            "tendency on zonal wind due to acama gravity waves", du_gwd_front)
[1938]381
[5117]382    IF (activate_ocean_skin >= 1) THEN
383      IF (activate_ocean_skin == 2 .AND. type_ocean == 'couple') THEN
[5111]384        CALL put_field(pass, "delta_sal", &
385                "ocean-air interface salinity minus bulk salinity", delta_sal)
386        CALL put_field(pass, "delta_SST", &
387                "ocean-air interface temperature minus bulk SST", delta_sst)
388        CALL put_field(pass, "dter", &
389                "ocean-air interface temperature minus subskin temperature", &
390                dter)
391        CALL put_field(pass, "dser", &
392                "ocean-air interface salinity minus subskin salinity", dser)
393        CALL put_field(pass, "dt_ds", &
394                "(tks / tkt) * dTer", dt_ds)
395      end if
396
397      CALL put_field(pass, "dS_ns", "delta salinity near surface", ds_ns)
398      CALL put_field(pass, "dT_ns", "delta temperature near surface", dT_ns)
[3815]399    end if
[5111]400
[3506]401    IF (pass==1) CALL enddef_restartphy
402    IF (pass==2) CALL close_restartphy
[4046]403  ENDDO ! DO pass=1,2   ! pass=1 netcdf definition ; pass=2 netcdf write
[5111]404
[1827]405  !$OMP BARRIER
406
[2293]407
[5111]408CONTAINS
[2293]409
410
[5111]411  SUBROUTINE put_field_srf1(pass, nam, lnam, field)
[2293]412
[5111]413    IMPLICIT NONE
414    INTEGER, INTENT(IN) :: pass
415    CHARACTER(LEN = *), INTENT(IN) :: nam, lnam
416    REAL, INTENT(IN) :: field(:, :)
417    CHARACTER(LEN = 256) :: nm, lm, str
418    DO nsrf = 1, SIZE(field, 2)
419      WRITE(str, '(i2.2)') nsrf
420      nm = TRIM(nam) // TRIM(str)
421      lm = TRIM(lnam) // " de surface No. " // TRIM(str)
422      CALL put_field(pass, nm, lm, field(:, nsrf))
423    END DO
[2293]424
[5111]425  END SUBROUTINE put_field_srf1
[2293]426
427
[5111]428  SUBROUTINE put_field_srf2(pass, nam, lnam, field)
[2293]429
[5111]430    IMPLICIT NONE
431    INTEGER, INTENT(IN) :: pass
432    CHARACTER(LEN = *), INTENT(IN) :: nam, lnam
433    REAL, INTENT(IN) :: field(:, :, :)
434    CHARACTER(LEN = 256) :: nm, lm, str
435    DO nsrf = 1, SIZE(field, 3)
436      DO isoil = 1, SIZE(field, 2)
437        WRITE(str, '(i2.2,"srf",i2.2)')isoil, nsrf
438        !      WRITE(lunout,*)"PHYREDEM ",TRIM(nam)//TRIM(str)
439        nm = TRIM(nam) // TRIM(str)
440        lm = TRIM(lnam) // " du sol No. " // TRIM(str)
441        CALL put_field(pass, nm, lm, field(:, isoil, nsrf))
442      END DO
[2293]443    END DO
444
[5111]445  END SUBROUTINE put_field_srf2
[2293]446
447
[5111]448  SUBROUTINE put_field_srf3(pass, nam, lnam, field)
[2293]449
[5111]450    IMPLICIT NONE
451    INTEGER, INTENT(IN) :: pass
452    CHARACTER(LEN = *), INTENT(IN) :: nam, lnam
453    REAL, INTENT(IN) :: field(:, :, :)
454    CHARACTER(LEN = 256) :: nm, lm, str
455    DO nsrf = 1, SIZE(field, 3)
456      WRITE(str, '(i2.2)') nsrf
457      nm = TRIM(nam) // TRIM(str)
458      lm = TRIM(lnam) // TRIM(str)
459      CALL put_field(pass, nm, lm, field(:, 1:klev + 1, nsrf))
460    END DO
[2293]461
[5111]462  END SUBROUTINE put_field_srf3
[2293]463
464
[1827]465END SUBROUTINE phyredem
Note: See TracBrowser for help on using the repository browser.