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

Ignore:
Timestamp:
2021-09-01T17:16:18+02:00 (3 years ago)
Author:
dford
Message:

Fix treatment of extra variables for profiles, and remove a couple of unused routines.

File:
1 edited

Legend:

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

    r15187 r15224  
    613613      ENDIF 
    614614      CALL obs_prof_alloc( profdata, kvars, kadd+iadd, kextr+iextr, iprof, iv3dt, & 
    615          &                 kstp, jpi, jpj, jpk ) 
     615         &                 ip3dt, kstp, jpi, jpj, jpk ) 
    616616 
    617617      ! * Read obs/positions, QC, all variable and assign to profdata 
     
    765765                     & CYCLE 
    766766 
    767                   IF (ldallatall) THEN 
     767                  IF ( ldallatall .OR. (iextr > 0) ) THEN 
    768768 
    769769                     DO jvar = 1, kvars 
     
    857857                  ! Extra variables 
    858858                  IF ( iextr > 0 ) THEN 
     859                     profdata%vext%nepidx(ip3dt) = iprof 
     860                     profdata%vext%nelidx(ip3dt) = ij 
    859861                     DO jext = 1, iextr 
    860                         profdata%vext(iprof,kextr+jext) = inpfiles(jj)%pext(ij,ji,jext) 
     862                        profdata%vext%eobs(ip3dt,kextr+jext) = inpfiles(jj)%pext(ij,ji,jext) 
    861863                     END DO 
    862864                  ENDIF 
Note: See TracChangeset for help on using the changeset viewer.