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 3884 for branches/2013/dev_r3858_NOC_ZTC/NEMOGCM/NEMO/OPA_SRC/DIA – NEMO

Ignore:
Timestamp:
2013-04-22T13:25:29+02:00 (11 years ago)
Author:
acc
Message:

Branch 2013/dev_r3858_NOC_ZTC, #863. Correction to sst2 and sss3 terms in diawri.F90 and code tidying in domvvl.F90 with added support for other ORCA grids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3858_NOC_ZTC/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r3867 r3884  
    146146         CALL iom_put( "toce" , z3d                        )   ! heat content 
    147147         CALL iom_put( "sst"  , z3d(:,:,1)                 )   ! sea surface heat content 
    148          CALL iom_put( "sst2" , z3d(:,:,1) * z3d(:,:,1)    )   ! sea surface content of squared temperature 
     148         z3d(:,:,1) = tsn(:,:,1,jp_tem) * z3d(:,:,1) 
     149         CALL iom_put( "sst2" , z3d(:,:,1)                 )   ! sea surface content of squared temperature 
    149150         z3d(:,:,:) = tsn(:,:,:,jp_sal) * fse3t_n(:,:,:)             
    150151         CALL iom_put( "soce" , z3d                        )   ! salinity content 
    151152         CALL iom_put( "sss"  , z3d(:,:,1)                 )   ! sea surface salinity content 
    152          CALL iom_put( "sss2" , z3d(:,:,1) * z3d(:,:,1)    )   ! sea surface content of squared salinity 
     153         z3d(:,:,1) = tsn(:,:,1,jp_sal) * z3d(:,:,1) 
     154         CALL iom_put( "sss2" , z3d(:,:,1)                 )   ! sea surface content of squared salinity 
    153155      ELSE 
    154156         CALL iom_put( "toce" , tsn(:,:,:,jp_tem)          )   ! temperature 
Note: See TracChangeset for help on using the changeset viewer.