New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1482 for trunk/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2009-07-03T17:28:06+02:00 (15 years ago)
Author:
smasson
Message:

distribution of iom_put + cleaning of LIM2 outputs, see ticket:437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcmod.F90

    r1465 r1482  
    189189 
    190190      IF( kt == nit000 )   CALL sbc_init         ! Read namsbc namelist : surface module 
    191  
     191      ! 
     192      CALL iom_setkt( kt + nn_fsbc - 1 )         !  in sbc, iom_put is called every nn_fsbc time step 
     193      ! 
    192194      ! ocean to sbc mean sea surface variables (ss._m) 
    193195      ! --------------------------------------- 
     
    238240      !                                                         ! (update freshwater fluxes) 
    239241      ! 
     242      IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 
     243         CALL iom_put( "emp"    , emp       )                   ! upward water flux 
     244         CALL iom_put( "emps"   , emps      )                   ! c/d water flux 
     245         CALL iom_put( "qns+qsr", qns + qsr )                   ! total heat flux   (caution if ln_dm2dc=true, to be  
     246         CALL iom_put( "qns"    , qns       )                   ! solar heat flux    moved after the call to iom_setkt) 
     247         CALL iom_put( "qsr"    ,       qsr )                   ! solar heat flux    moved after the call to iom_setkt) 
     248         IF(  nn_ice > 0 )   CALL iom_put( "ice_cover", fr_i )  ! ice fraction  
     249      ENDIF 
     250      ! 
     251      CALL iom_setkt( kt )           ! iom_put outside of sbc is called at every time step 
     252      ! 
     253      CALL iom_put( "utau", utau )   ! i-wind stress   (stress can be updated at  
     254      CALL iom_put( "vtau", vtau )   ! j-wind stress    each time step in sea-ice) 
     255      ! 
    240256      IF(ln_ctl) THEN         ! print mean trends (used for debugging) 
    241257         CALL prt_ctl(tab2d_1=fr_i   , clinfo1=' fr_i - : ', mask1=tmask, ovlap=1 ) 
Note: See TracChangeset for help on using the changeset viewer.