source: trunk/MESOSCALE/LMD_MM_MARS/SIMU/MESORUN/gcm/newstart/mini_startbase.sh

Last change on this file was 2901, checked in by aslmd, 23 months ago

MESORUN: 1) corrected link towards 5.3 starts 2) used scenario 8 clim as a test baseline 3) launch script default to 1 pricessor because on spirit mesoscale model crashes with parallel computations

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#! /bin/bash
2
3########################
4# make a minimum startbase
5# with what is
6# in start_archive.nc file for clim scenario
7# downloaded from the server (reference MCD 5.2)
8########################
9
10
11###########################################
12##### NEED TO SOURCE THE ENV
13source ../../code/LMDZ.COMMON/arch.env
14##### NEED TO SOURCE THE ENV
15###########################################
16
17
18scen="clim" # the one set in callphys.def
19#scen="MY29"
20
21namefolder="startbase_"$scen"_mini"
22
23\rm -rf $namefolder
24mkdir $namefolder
25
26\rm start_archive_64x48x49_${scen}_aveEUV.nc
27#wget -q http://www.lmd.jussieu.fr/~lmdz/planets/mars/starts/start_archive_64x48x49_$scen.nc
28wget --no-check-certificate -q https://web.lmd.jussieu.fr/~lmdz/planets/mars/starts_MCDv5.3/start_archive_64x48x49_${scen}_aveEUV.nc
29
30ln -sf start_archive_64x48x49_${scen}_aveEUV.nc start_archive.nc
31
32echo -e "0\n \n0\n \n" | newstart.e > $namefolder/log0 2> $namefolder/log0
33mv restart.nc $namefolder/start0.nc
34mv restartfi.nc $namefolder/startfi0.nc
35
36echo -e "0\n \n193\n \n" | newstart.e > $namefolder/log193 2> $namefolder/log193
37mv restart.nc $namefolder/start193.nc
38mv restartfi.nc $namefolder/startfi193.nc
39
40#echo -e "0\n \n372\n \n" | newstart.e > $namefolder/log372 2> $namefolder/log372
41#mv restart.nc $namefolder/start372.nc
42#mv restartfi.nc $namefolder/startfi372.nc
43#
44#echo -e "0\n \n515\n \n" | newstart.e > $namefolder/log515 2> $namefolder/log515
45#mv restart.nc $namefolder/start515.nc
46#mv restartfi.nc $namefolder/startfi515.nc
47
Note: See TracBrowser for help on using the repository browser.