Ignore:
Timestamp:
Jul 17, 2020, 6:24:14 PM (4 years ago)
Author:
lguez
Message:

Bug fix: read before close_startphy

Bug fix: in procedure phyetat0, read s_int, delta_sst, ds_ns and
dt_ns before the call to close_startphy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/phylmd/phyetat0.F90

    r3744 r3766  
    523523  ENDIF ! Slab       
    524524
    525   ! on ferme le fichier
    526   CALL close_startphy
    527 
    528   ! Initialize module pbl_surface_mod
    529 
    530   CALL pbl_surface_init(fder, snow, qsurf, tsoil)
    531 
    532   ! Initialize module ocean_cpl_mod for the case of coupled ocean
    533   IF ( type_ocean == 'couple' ) THEN
    534      CALL ocean_cpl_init(phys_tstep, longitude_deg, latitude_deg)
    535   ENDIF
    536 
    537 !  CALL init_iophy_new(latitude_deg, longitude_deg)
    538 
    539   ! Initilialize module fonte_neige_mod     
    540   CALL fonte_neige_init(run_off_lic_0)
    541 
    542525  if (activate_ocean_skin >= 1) then
    543526     if (activate_ocean_skin == 2 .and. type_ocean == 'couple') then
     
    560543  end if
    561544
     545  ! on ferme le fichier
     546  CALL close_startphy
     547
     548  ! Initialize module pbl_surface_mod
     549
     550  CALL pbl_surface_init(fder, snow, qsurf, tsoil)
     551
     552  ! Initialize module ocean_cpl_mod for the case of coupled ocean
     553  IF ( type_ocean == 'couple' ) THEN
     554     CALL ocean_cpl_init(phys_tstep, longitude_deg, latitude_deg)
     555  ENDIF
     556
     557!  CALL init_iophy_new(latitude_deg, longitude_deg)
     558
     559  ! Initilialize module fonte_neige_mod     
     560  CALL fonte_neige_init(run_off_lic_0)
     561
    562562END SUBROUTINE phyetat0
    563563
Note: See TracChangeset for help on using the changeset viewer.