- Timestamp:
- Feb 8, 2024, 3:08:53 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r4784 r4807 260 260 #esac 261 261 262 262 263 # Option de compilation pour Cosp 263 264 opt_cosp="" … … 1362 1363 #activer les sorties pour Cosp 1363 1364 if [ "$cosp" = "v1" ] ; then 1364 histfile=file_def_histdayCOSP_lmdz.xml 1365 sed -e 's@enabled=".FALSE."@enabled=".TRUE."@' $histfile > tmp 1366 \mv -f tmp $histfile 1367 sed -e 's@output_level="_AUTO_"@output_level="5"@' $histfile > tmp 1368 \mv -f tmp $histfile 1369 sed -e 's@compression_level="2"@compression_level="0"@' \ 1370 $histfile > tmp 1371 \mv -f tmp $histfile 1365 sed -i'' -e 's@enabled=".FALSE."@enabled=".TRUE."@' \ 1366 -e 's@output_level="_AUTO_"@output_level="5"@' \ 1367 -e 's@compression_level="2"@compression_level="0"@' \ 1368 file_def_histdayCOSP_lmdz.xml 1372 1369 fi 1373 1370 if [ "$cosp" = "v2" ] ; then 1374 histfile=file_def_histdayCOSPv2_lmdz.xml 1375 sed -e 's@compression_level="2"@compression_level="0"@' \ 1376 $histfile > tmp 1377 \mv -f tmp $histfile 1378 contextfile=context_lmdz.xml 1379 sed -e 's@src="./file_def_histdayCOSP_lmdz.xml"@src="./file_def_histdayCOSPv2_lmdz.xml"@' \ 1380 $contextfile > tmp 1381 \mv -f tmp $contextfile 1382 sed -e 's@src="./file_def_histmthCOSP_lmdz.xml"@src="./file_def_histmthCOSPv2_lmdz.xml"@' \ 1383 $contextfile > tmp 1384 \mv -f tmp $contextfile 1385 sed -e 's@src="./file_def_histhfCOSP_lmdz.xml"@src="./file_def_histhfCOSPv2_lmdz.xml"@' \ 1386 $contextfile > tmp 1387 \mv -f tmp $contextfile 1388 fieldfile=field_def_lmdz.xml 1389 sed -e 's@field_def_cosp1.xml@field_def_cospv2.xml@' $fieldfile \ 1390 > tmp 1391 \mv -f tmp $fieldfile 1371 sed -e 's@compression_level="2"@compression_level="0"@' file_def_histdayCOSPv2_lmdz.xml 1372 for type_ in hf day mth ; do 1373 file=file_def_hist${type_}COSP 1374 sed -i'' -e 's@src="./'${file}'_lmdz.xml"@src="./'${file}'v2_lmdz.xml"@' context_lmdz.xml 1375 done 1376 sed -i '' -e 's@field_def_cosp1.xml@field_def_cospv2.xml@' field_def_lmdz.xml 1392 1377 fi 1393 1378
Note: See TracChangeset
for help on using the changeset viewer.