Last change
on this file since 3603 was
607,
checked in by Laurent Fairhead, 20 years ago
|
Deja des modifs!
LF
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
574 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | |
---|
4 | # |
---|
5 | # localisation de l'executable: |
---|
6 | repert='/u/fairhead/LMDZ/BOL/Class_Reg' |
---|
7 | # |
---|
8 | # liste des fichiers à traiter |
---|
9 | liste_fichier='2L33_1m_2000*_histmth.nc' |
---|
10 | # |
---|
11 | # liste des variables a traiter |
---|
12 | liste_variable='rneb rhum precip' |
---|
13 | |
---|
14 | |
---|
15 | # |
---|
16 | |
---|
17 | cp $repert/config.def . |
---|
18 | |
---|
19 | var_list='aire,pourc_ter,w500' |
---|
20 | for var in $liste_variable |
---|
21 | do |
---|
22 | var_list="$var_list,$var" |
---|
23 | done |
---|
24 | |
---|
25 | ncrcat -c -v $var_list,t_ave_02592000 $liste_fichier toto.nc |
---|
26 | |
---|
27 | rm result.nc |
---|
28 | for var in $liste_variable |
---|
29 | do |
---|
30 | $repert/geo2reg toto.nc $var |
---|
31 | ncrcat -A out.nc result.nc > /dev/null 2>&1 |
---|
32 | done |
---|
33 | # |
---|
34 | # un peu de menage |
---|
35 | rm toto.nc |
---|
Note: See
TracBrowser
for help on using the repository browser.