source: TOOLS/MOSAIX/rangement.bash @ 4092

Last change on this file since 4092 was 4092, checked in by omamce, 3 years ago

O.M. : add header to rangement.bash:wq

  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 829 bytes
Line 
1#!/bin/bash
2### ===========================================================================
3###
4##
5## SVN information
6#  $Author$
7#  $Date$
8#  $Revision$
9#  $Id$
10#  $HeadURL$
11
12#source ./Setup.bash
13
14WORK_MOSAIC=/ccc/work/cont003/gen2212/p86mart/MOSAIX
15mkdir -p ${WORK_MOSAIC}
16
17# ============================================================
18
19for ATM in LMD144X142 LMD9695 ICO30 ICO40 ICO450 dynamico30 dynamico40 dynamico450
20do
21    for OCE in ORCA2.3 eORCA1.2 ORCA025
22    do
23        Liste=$(ls README_${OCE}x${ATM}.txt *${ATM}*_*${OCE}*.nc *${OCE}*_*${ATM}*.nc  *${ATM}x${OCE}*.nc *${OCE}x${ATM}*.nc 2> /dev/null  )
24
25        if [[ -z ${Liste} ]] ; then
26            echo "${ATM} : ${OCE} : Vide "
27        else
28            echo "${ATM} : ${OCE} : ${Liste}"
29            mkdir -p ${WORK_MOSAIC}/${OCE}x${ATM}
30            mv ${Liste}  ${WORK_MOSAIC}/${OCE}x${ATM}
31
32        fi
33       
34    done
35done
Note: See TracBrowser for help on using the repository browser.