Changeset 7502 for branches/ORCHIDEE_2_2


Ignore:
Timestamp:
2022-02-25T14:14:39+01:00 (3 years ago)
Author:
josefine.ghattas
Message:

Add test if missmatch for land/sea mask in model and restart files. See ticket #806

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/slowproc.f90

    r7485 r7502  
    10201020       njsc (:) = undef_int 
    10211021       call_slowproc_soilt=.TRUE. 
     1022    ELSEIF ( ANY( ABS(tmp_real(:)) .GT. 20 ) ) THEN 
     1023       ! This is a test if some of the values for njsc are out of rang. This can be the case if 
     1024       ! there is a mismatch in the land-sea mask. njsc is the first 
     1025       ! restart variable read in current version of ORCHIDEE. 
     1026       CALL ipslerr_p(3, 'slowproc_init', 'Some values for njsc from restart file are out of range.',& 
     1027                         'There is probably a mismatch in the land/sea mask in the model and in the restart file.',& 
     1028                         'Start the model again without restart files for ORCHIDEE.') 
    10221029    ELSE 
    10231030       njsc = NINT(tmp_real) 
Note: See TracChangeset for help on using the changeset viewer.