- Timestamp:
- 02/10/20 15:10:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/orchidee.driver
r4379 r4921 182 182 183 183 184 185 # Set interpolated output grid depending on resoultion 186 if [ ${RESOL_NBP} == 40 ] ; then 187 valuei=144 188 valuej=143 189 elif [ ${RESOL_NBP} == 80 ] ; then 190 valuei=360 191 valuej=180 192 elif [ ${RESOL_NBP} == 160 ] ; then 193 valuei=720 194 valuej=360 195 else 196 IGCM_debug_Exit "RESOL_NBP=${RESOL_NBP} is not yet implemented in drivers" 197 IGCM_debug_Verif_Exit 198 fi 199 200 IGCM_debug_Print 1 "Modify output grid parameters for current resolution in context_orchidee.xml" 201 cp context_orchidee.xml context_orchidee.xml.init 202 sed -e "s/ni_glo.*=.*\"144\"/ni_glo=\"${valuei}\"/" \ 203 -e "s/nj_glo.*=.*\"143\"/nj_glo=\"${valuej}\"/" \ 204 context_orchidee.xml.init > context_orchidee.xml 205 184 # Set interpolated output grid depending on resoultion, only if ICO component is set in config.card 185 if [ ! "X${config_ListOfComponents_ICO}" = "X" ] ; then 186 if [ ${RESOL_NBP} == 40 ] ; then 187 valuei=144 188 valuej=143 189 elif [ ${RESOL_NBP} == 80 ] ; then 190 valuei=360 191 valuej=180 192 elif [ ${RESOL_NBP} == 160 ] ; then 193 valuei=720 194 valuej=360 195 else 196 IGCM_debug_Exit "RESOL_NBP=${RESOL_NBP} is not yet implemented in drivers" 197 IGCM_debug_Verif_Exit 198 fi 199 200 IGCM_debug_Print 1 "Modify output grid parameters for current resolution in context_orchidee.xml" 201 cp context_orchidee.xml context_orchidee.xml.init 202 sed -e "s/ni_glo.*=.*\"144\"/ni_glo=\"${valuei}\"/" \ 203 -e "s/nj_glo.*=.*\"143\"/nj_glo=\"${valuej}\"/" \ 204 context_orchidee.xml.init > context_orchidee.xml 205 206 fi 207 206 208 IGCM_debug_PopStack "SRF_Update" 207 209 }
Note: See TracChangeset
for help on using the changeset viewer.