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 1329 for trunk/NEMO/TOP_SRC/SED – NEMO

Ignore:
Timestamp:
2009-02-20T11:32:52+01:00 (15 years ago)
Author:
cetlod
Message:

update modules to take into account the mask land points in NetCDF outputs, see ticket:322

Location:
trunk/NEMO/TOP_SRC/SED
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/SED/sed.F90

    r1250 r1329  
    2121      rdt      =>   rdt         !: time step for the dynamics 
    2222 
    23    USE daymod , ONLY :                 & 
    24       nyear     =>   nyear,   &  !: Current year 
    25       nmonth    =>   nmonth,  &  !: Current month 
    26       nday      =>   nday        !: Current day 
     23   USE daymod , ONLY :            & 
     24      nyear     =>   nyear    ,   & !: Current year 
     25      nmonth    =>   nmonth   ,   & !: Current month 
     26      nday      =>   nday     ,   & !: Current day 
     27      ndastp    =>   ndastp   ,   & !: time step date in year/month/day aammjj 
     28      nday_year =>   nday_year,   & !: curent day counted from jan 1st of the current year 
     29      adatrj    =>   adatrj         !: number of elapsed days since the begining of the run 
     30   !                                !: it is the accumulated duration of previous runs 
     31   !                                !: that may have been run with different time steps. 
    2732 
    2833 
  • trunk/NEMO/TOP_SRC/SED/sedwri.F90

    r1318 r1329  
    211211         ENDDO 
    212212 
    213          !Fluxes 
     213         ! Fluxes 
    214214         DO jn = 1, jpdia2dsed 
    215215            cltra  = seddia2d(jn)   ! short title for 2D diagnostic 
     
    227227         WRITE(numsed,*) 'End of NetCDF sediment output file Initialization' 
    228228 
    229       ELSE 
    230  
    231  
    232          ! Start writing data 
    233          ! --------------------- 
    234           DO jn = 1, jptrased 
    235              cltra = sedtrcd(jn) ! short title for 3D diagnostic 
    236              CALL histwrite( nised, cltra, it, trcsedi(:,:,:,jn), ndimt52, ndext52 ) 
    237           END DO 
    238  
    239           DO jn = 1, jpdia3dsed 
    240              cltra = seddia3d(jn) ! short title for 3D diagnostic 
    241              CALL histwrite( nised, cltra, it, flxsedi3d(:,:,:,jn), ndimt52, ndext52 ) 
    242           END DO 
    243  
    244           DO jn = 1, jpdia2dsed 
     229       ENDIF 
     230 
     231       ! Start writing data 
     232       ! --------------------- 
     233       DO jn = 1, jptrased 
     234          cltra = sedtrcd(jn) ! short title for 3D diagnostic 
     235          CALL histwrite( nised, cltra, it, trcsedi(:,:,:,jn), ndimt52, ndext52 ) 
     236       END DO 
     237 
     238       DO jn = 1, jpdia3dsed 
     239          cltra = seddia3d(jn) ! short title for 3D diagnostic 
     240          CALL histwrite( nised, cltra, it, flxsedi3d(:,:,:,jn), ndimt52, ndext52 ) 
     241       END DO 
     242 
     243       DO jn = 1, jpdia2dsed 
    245244             cltra = seddia2d(jn) ! short title for 2D diagnostic 
    246245             CALL histwrite( nised, cltra, it, flxsedi2d(:,:,jn  ), ndimt51, ndext51 ) 
    247           END DO 
    248  
    249       ENDIF 
    250  
    251 ! 3. Closing all files 
    252 ! -------------------- 
     246       END DO 
     247 
     248 
     249      ! 3. Closing all files 
     250      ! -------------------- 
    253251      IF( kt == nitsedend  ) THEN 
    254252          CALL histclo( nised ) 
Note: See TracChangeset for help on using the changeset viewer.