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 6301 – NEMO

Changeset 6301


Ignore:
Timestamp:
2016-02-10T06:08:29+01:00 (8 years ago)
Author:
djlea
Message:

Update to QC out observations which are caught by the strict bathymetry check in obs_oper. Reverting some changes to obs_prep which are no longer needed.

Location:
branches/UKMO/dev_r4650_general_vert_coord_obsoper/NEMOGCM/NEMO/OPA_SRC/OBS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r4650_general_vert_coord_obsoper/NEMOGCM/NEMO/OPA_SRC/OBS/obs_oper.F90

    r6016 r6301  
    884884                  CALL obs_int_h2d( 1, 1, l_zweig, interp_corner(:,:,ikn), &  
    885885                  &          prodatqc%var(1)%vmod(iend:iend) )  
     886 
     887                  ! Set QC flag for any observations found below the bottom 
     888                  ! needed as the check here is more strict than that in obs_prep 
     889                  IF (sum(l_zweig) == 0.0_wp) prodatqc%var(1)%nvqc(iend:iend)=4 
    886890  
    887891               ENDDO  
     
    10181022                  CALL obs_int_h2d( 1, 1, l_zweig, interp_corner(:,:,ikn), &  
    10191023                  &          prodatqc%var(2)%vmod(iend:iend) )  
     1024 
     1025                  ! Set QC flag for any observations found below the bottom 
     1026                  ! needed as the check here is more strict than that in obs_prep 
     1027                  IF (sum(l_zweig) == 0.0_wp) prodatqc%var(2)%nvqc(iend:iend)=4 
    10201028  
    10211029               ENDDO  
  • branches/UKMO/dev_r4650_general_vert_coord_obsoper/NEMOGCM/NEMO/OPA_SRC/OBS/obs_prep.F90

    r6286 r6301  
    17161716         & ln_zps,        & 
    17171717         & lk_vvl                         
     1718 
    17181719      !! * Arguments 
    17191720      INTEGER, INTENT(IN) :: kprofno      ! Number of profiles 
     
    18431844               &  .OR. ( pobsphi(jobs) <  -90.         )       & 
    18441845               &  .OR. ( pobsphi(jobs) >   90.         )       & 
    1845                &  .OR. ( pobsdep(jobsp) < 0.0          )       ) THEN 
     1846               &  .OR. ( pobsdep(jobsp) < 0.0          )       & 
     1847               &  .OR. ( pobsdep(jobsp) > gdepw_1d(kpk)) ) THEN 
    18461848               kobsqc(jobsp) = kobsqc(jobsp) + 11 
    18471849               kosdobs = kosdobs + 1 
     
    18791881               IF ( ANY( zgdepw(1:2,1:2,kpk,jobs) < pobsdep(jobsp) ) & 
    18801882                  &     .OR. &  
    1881                   &  ( SUM( zgmsk(1,1,kobsk(jobsp)-1:kobsk(jobsp),jobs)) == 0.0_wp ) .OR. & 
    1882                   &  ( SUM( zgmsk(1,2,kobsk(jobsp)-1:kobsk(jobsp),jobs)) == 0.0_wp ) .OR. & 
    1883                   &  ( SUM( zgmsk(2,1,kobsk(jobsp)-1:kobsk(jobsp),jobs)) == 0.0_wp ) .OR. & 
    1884                   &  ( SUM( zgmsk(2,2,kobsk(jobsp)-1:kobsk(jobsp),jobs)) == 0.0_wp ) ) THEN  
     1883                  &  ( SUM( zgmsk(1:2,1:2,kobsk(jobsp)-1:kobsk(jobsp),jobs) ) & 
     1884                  &  == 0.0_wp) ) THEN 
    18851885                  kobsqc(jobsp) = kobsqc(jobsp) + 12  
    18861886                  klanobs = klanobs + 1  
Note: See TracChangeset for help on using the changeset viewer.