source: TOOLS/MOSAIX/rangement.bash @ 4153

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

O.M. : include areas correction

  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 869 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 LMD144142 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            echo "${WORK_MOSAIC}/${OCE}x${ATM}"
30            mkdir -p ${WORK_MOSAIC}/${OCE}x${ATM}
31            mv ${Liste}  ${WORK_MOSAIC}/${OCE}x${ATM}
32
33        fi
34       
35    done
36done
Note: See TracBrowser for help on using the repository browser.