source: TOOLS/MOSAIX/rangement.bash @ 4172

Last change on this file since 4172 was 4172, checked in by omamce, 5 years ago

O.M. :

  • More documentation
  • Update run-off weights computation
  • Update calving weights computation
  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 889 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 LMD256256 ICO30 ICO40 ICO450 dynamico30 dynamico40 dynamico450
20do
21    for OCE in ORCA2.3 eORCA1.2 eORCA025 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.