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/LIM_SRC_2/limsbc_2.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/LIM_SRC_2/limsbc_2.F90

    r1479 r1482  
    2525   USE lbclnk           ! ocean lateral boundary condition 
    2626   USE in_out_manager   ! I/O manager 
     27   USE iom              !  
    2728   USE albedo           ! albedo parameters 
    2829   USE prtctl           ! Print control 
     
    9293      REAL(wp) ::   zsang, zmod, zfm 
    9394      REAL(wp), DIMENSION(jpi,jpj) ::   ztio_u, ztio_v   ! ocean stress below sea-ice 
     95      REAL(wp), DIMENSION(jpi,jpj) ::   zqnsoce          ! save qns before its modification by ice model 
    9496 
    9597      !!--------------------------------------------------------------------- 
     
    121123!!gm re-verifies the non solar expression, especially over open ocen 
    122124!!gm 
     125      zqnsoce(:,:) = qns(:,:) 
    123126      DO jj = 1, jpj 
    124127         DO ji = 1, jpi 
     
    185188         END DO 
    186189      END DO 
    187    
     190 
     191      CALL iom_put( 'qns_io_cea', qns(:,:) - zqnsoce(:,:) * pfrld(:,:) )       
     192      CALL iom_put( 'qsr_io_cea', fstric(:,:) * (1. - pfrld(:,:)) ) 
     193 
    188194      !------------------------------------------! 
    189195      !      mass flux at the ocean surface      ! 
     
    275281 
    276282      !-----------------------------------------------! 
    277       !   Storing the transmitted variables           ! 
     283      !   Coupling variables                          ! 
    278284      !-----------------------------------------------! 
    279  
    280       fr_i(:,:) = 1.0 - frld(:,:)       ! sea-ice fraction 
    281285 
    282286      IF ( lk_cpl ) THEN            
     
    286290         CALL albedo_ice( tn_ice, reshape( hicif, (/jpi,jpj,1/) ), reshape( hsnif, (/jpi,jpj,1/) ), zalbp, zalb ) 
    287291         alb_ice(:,:,1) =  0.5 * ( zalbp(:,:,1) + zalb (:,:,1) )   ! Ice albedo (mean clear and overcast skys) 
     292         CALL iom_put( "icealb_cea", alb_ice(:,:,1) * fr_i(:,:) )  ! ice albedo 
    288293      ENDIF 
    289294 
Note: See TracChangeset for help on using the changeset viewer.