Changeset 1543 for trunk


Ignore:
Timestamp:
01/18/21 12:14:03 (3 years ago)
Author:
acosce
Message:

Add management of ${ResolAtm?} variable in JobName? (example in CREATE case)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1536 r1543  
    464464  RESOL_ATM_3D=this_is_a_test_string 
    465465  RESOL=this_is_another_test_string 
     466  ResolAtm=this_is_a_new_another_test 
    466467  typeset option 
    467468  for option in ${config_UserChoices[*]} ; do 
     
    478479    TRUERESOL=$( head -1 $resolfile  ) 
    479480    JobName=$( echo ${config_UserChoices_JobName} | sed -e "s/${RESOL}/${TRUERESOL}/" ) 
     481    IGCM_card_WriteOption ${j}'/'${F_CFG} UserChoices JobName ${JobName} 
     482  elif [ ! X$( echo ${config_UserChoices_JobName} | grep ${ResolAtm} ) = X ] ; then 
     483    TRUERESOL=${config_UserChoices_ResolAtm} 
     484    JobName=$( echo ${config_UserChoices_JobName} | sed -e "s/${ResolAtm}/${TRUERESOL}/" ) 
    480485    IGCM_card_WriteOption ${j}'/'${F_CFG} UserChoices JobName ${JobName} 
    481486  else 
Note: See TracChangeset for help on using the changeset viewer.