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 15187 for NEMO/branches/UKMO/NEMO_4.0.4_generic_obs/src/OCE/OBS/obs_readmdt.F90 – NEMO

Ignore:
Timestamp:
2021-08-13T11:34:58+02:00 (3 years ago)
Author:
dford
Message:

Update treatment of SLA and POTM additional/extra variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_generic_obs/src/OCE/OBS/obs_readmdt.F90

    r15180 r15187  
    4444CONTAINS 
    4545 
    46    SUBROUTINE obs_rea_mdt( sladata, k2dint ) 
     46   SUBROUTINE obs_rea_mdt( sladata, k2dint, kmdt ) 
    4747      !!--------------------------------------------------------------------- 
    4848      !! 
     
    5959      TYPE(obs_surf), INTENT(inout) ::   sladata   ! SLA data 
    6060      INTEGER       , INTENT(in)    ::   k2dint    ! ? 
     61      INTEGER       , INTENT(in)    ::   kmdt      ! Index of MDT extra var 
    6162      ! 
    6263      CHARACTER(LEN=12), PARAMETER ::   cpname  = 'obs_rea_mdt' 
     
    148149         CALL obs_int_h2d( 1, 1, zweig, zmdtl(:,:,jobs),  zext ) 
    149150 
    150 ! FIGURE OUT THIS ASSIGNMENT  
    151 !         sladata%rext(jobs,2) = zext(1) 
     151         sladata%rext(jobs,kmdt) = zext(1) 
    152152 
    153153! mark any masked data with a QC flag 
     
    247247         WRITE(numout,*) '               zcorr         = ', zcorr 
    248248         WRITE(numout,*) '               nn_msshc        = ', nn_msshc 
     249 
     250         IF ( nn_msshc == 0 ) WRITE(numout,*) '           MSSH correction is not applied' 
     251         IF ( nn_msshc == 1 ) WRITE(numout,*) '           MSSH correction is applied' 
     252         IF ( nn_msshc == 2 ) WRITE(numout,*) '           User defined MSSH correction'  
    249253      ENDIF 
    250  
    251       IF ( nn_msshc == 0 ) WRITE(numout,*) '           MSSH correction is not applied' 
    252       IF ( nn_msshc == 1 ) WRITE(numout,*) '           MSSH correction is applied' 
    253       IF ( nn_msshc == 2 ) WRITE(numout,*) '           User defined MSSH correction'  
    254254 
    255255      ! 
Note: See TracChangeset for help on using the changeset viewer.