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

Ignore:
Timestamp:
2021-10-18T14:42:58+02:00 (3 years ago)
Author:
dford
Message:

Fix use of POTM/TEMP and grid type output.

File:
1 edited

Legend:

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

    r15285 r15395  
    5757      CHARACTER(LEN=128)                            :: cbiasvarname  !: Bias variable name in input file 
    5858      CHARACTER(LEN=128)                            :: caltbiasfile  !: Altimeter bias input file name 
     59      CHARACTER(LEN=1)                              :: cgrid         !: Grid type (T,U,V) 
    5960      ! 
    6061      INTEGER,            DIMENSION(:), ALLOCATABLE :: nprofdavtypes !: Profile data types representing a daily average 
     
    316317               ! 
    317318               IF (TRIM(sdobsgroup%cobstypes(itype)) == cobsname_uvel) THEN 
     319                  sdobsgroup%cgrid              = 'U' 
    318320                  sdobsgroup%rglam(:,:,itype)   = glamu(:,:) 
    319321                  sdobsgroup%rgphi(:,:,itype)   = gphiu(:,:) 
    320322                  sdobsgroup%rmask(:,:,:,itype) = umask(:,:,:) 
    321323               ELSEIF (TRIM(sdobsgroup%cobstypes(itype)) == cobsname_vvel) THEN 
     324                  sdobsgroup%cgrid              = 'V' 
    322325                  sdobsgroup%rglam(:,:,itype)   = glamv(:,:) 
    323326                  sdobsgroup%rgphi(:,:,itype)   = gphiv(:,:) 
    324327                  sdobsgroup%rmask(:,:,:,itype) = vmask(:,:,:) 
    325328               ELSE 
     329                  sdobsgroup%cgrid              = 'T' 
    326330                  sdobsgroup%rglam(:,:,itype)   = glamt(:,:) 
    327331                  sdobsgroup%rgphi(:,:,itype)   = gphit(:,:) 
Note: See TracChangeset for help on using the changeset viewer.