Changeset 3278


Ignore:
Timestamp:
06/20/17 16:29:24 (7 years ago)
Author:
acosce
Message:

Add a safeguard to manage the frequency allowed by inca in xml files.
(Idea of Josefine - thanks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/inca.driver

    r3270 r3278  
    3939    echo LMDZ physics version : ${LMDZ_Physics} 
    4040 
    41  
    4241    for frequency in ${config_CHM_WriteFrequency} ; do 
    43         case ${frequency} in 
    44             1M|1m) freq_output=1mo ;; 
    45         esac 
    46         case ${frequency} in 
    47             1D|1d) freq_output=1d ;; 
    48         esac 
     42    case ${frequency} in 
     43        1M|1m) freq_output=1mo ;; 
     44        1D|1d) freq_output=1d ;; 
     45            *) IGCM_debug_Exit "CHM_Update " ${frequency} " invalid WriteFrequency : choose between 1M and 1D" 
     46        IGCM_debug_Verif_Exit ;; 
     47 
     48    esac 
    4949    done 
    5050 
Note: See TracChangeset for help on using the changeset viewer.