source: BOL/trunk/Class_Reg/geo2reg.script @ 607

Last change on this file since 607 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
RevLine 
[606]1#!/bin/bash
2
3
4#
5# localisation de l'executable:
[607]6repert='/u/fairhead/LMDZ/BOL/Class_Reg'
[606]7#
8# liste des fichiers à traiter
[607]9liste_fichier='2L33_1m_2000*_histmth.nc'
[606]10#
11# liste des variables a traiter
12liste_variable='rneb rhum precip'
13
14
15#
16
17cp $repert/config.def .
18
19var_list='aire,pourc_ter,w500'
20for var in $liste_variable
21do
22  var_list="$var_list,$var"
23done
24
25ncrcat -c -v $var_list,t_ave_02592000 $liste_fichier toto.nc
26
27rm result.nc
28for var in $liste_variable
29do
30  $repert/geo2reg toto.nc $var
31  ncrcat -A out.nc result.nc > /dev/null 2>&1
32done
[607]33#
34# un peu de menage
35rm toto.nc
Note: See TracBrowser for help on using the repository browser.