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 4781 for branches/2014/dev_r4650_UKMO14.11_SETTE_OBSASM/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90 – NEMO

Ignore:
Timestamp:
2014-09-22T16:54:46+02:00 (10 years ago)
Author:
djlea
Message:

Remove redundant error check preventing background write and increments being applied in the same run. Switch to use ctl_stop in diaobs. Fix to jul2greg to deal properly with negative julian dates. Tidying obs_write. Restore agrif sette test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO14.11_SETTE_OBSASM/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90

    r4751 r4781  
    484484      CALL obs_grid_setup( ) 
    485485      IF ( ( n1dint < 0 ).OR.( n1dint > 1 ) ) THEN 
    486          IF(lwp) WRITE(numout,cform_err) 
    487          IF(lwp) WRITE(numout,*) ' Choice of vertical (1D) interpolation method', & 
    488             &                    ' is not available' 
    489          nstop = nstop + 1 
     486         CALL ctl_stop(' Choice of vertical (1D) interpolation method', & 
     487            &                    ' is not available') 
    490488      ENDIF 
    491489      IF ( ( n2dint < 0 ).OR.( n2dint > 4 ) ) THEN 
    492          IF(lwp) WRITE(numout,cform_err) 
    493          IF(lwp) WRITE(numout,*) ' Choice of horizontal (2D) interpolation method', & 
    494             &                    ' is not available' 
    495          nstop = nstop + 1 
     490         CALL ctl_stop(' Choice of horizontal (2D) interpolation method', & 
     491            &                    ' is not available') 
    496492      ENDIF 
    497493 
Note: See TracChangeset for help on using the changeset viewer.