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

Ignore:
Timestamp:
2021-11-11T14:12:05+01:00 (3 years ago)
Author:
dford
Message:

Updates following review.

File:
1 edited

Legend:

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

    r15395 r15497  
    170170      jenabled = 0 
    171171      DO jgroup = 1, nn_obsgroups 
    172          CALL obs_group_read ( sobsgroups(jgroup) ) 
     172         CALL obs_group_read_namelist( sobsgroups(jgroup) ) 
    173173         CALL obs_group_check( sobsgroups(jgroup), jgroup ) 
    174174         IF (sobsgroups(jgroup)%lenabled) THEN 
    175175            jenabled = jenabled + 1 
    176             IF( sobsgroups(jgroup)%lvel  .AND.  .NOT.ln_grid_global ) THEN 
    177                CALL ctl_stop( 'Velocity data only works with ln_grid_global=.true.' ) 
    178             ENDIF 
    179176         ENDIF 
    180177      END DO 
     
    187184      ENDIF 
    188185 
    189  
    190186      !----------------------------------------------------------------------- 
    191187      ! Obs operator parameter checking and initialisations 
     
    202198      ! 
    203199      DO jgroup = 1, nn_obsgroups 
    204          IF (sobsgroups(jgroup)%lenabled) THEN 
    205             IF (sobsgroups(jgroup)%lprof) THEN 
     200         IF ( sobsgroups(jgroup)%lenabled ) THEN 
     201            IF ( sobsgroups(jgroup)%lprof ) THEN 
    206202               ! 
    207203               ! Read in profile or profile obs types 
     
    328324                     &              sobsgroups(jgroup)%rmdtcutoff ) 
    329325                  IF( sobsgroups(jgroup)%laltbias ) THEN 
    330                      !CALL obs_rea_altbias( sobsgroups(jgroup)%ssurfdataqc, & 
    331                      !   &                  sobsgroups(jgroup)%n2dint,      & 
    332                      !   &                  sobsgroups(jgroup)%caltbiasfile ) 
    333326                     CALL obs_app_bias( sobsgroups(jgroup)%ssurfdataqc,   & 
    334327                        &               sobsgroups(jgroup)%next_mdt,      &  
     
    439432 
    440433      DO jgroup = 1, nn_obsgroups 
    441          IF (sobsgroups(jgroup)%lenabled) THEN 
    442  
    443             IF (sobsgroups(jgroup)%lprof) THEN 
     434         IF ( sobsgroups(jgroup)%lenabled ) THEN 
     435 
     436            IF ( sobsgroups(jgroup)%lprof ) THEN 
    444437 
    445438               zprofclim(:,:,:) = fbrmdi 
Note: See TracChangeset for help on using the changeset viewer.