source: TOOLS/MOSAIX/rangement.bash @ 4202

Last change on this file since 4202 was 4186, checked in by omamce, 6 years ago

O.M. :

Runoff weight for both ICO and LMDZ
Correct corc grid

  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 921 bytes
RevLine 
[3620]1#!/bin/bash
[4092]2### ===========================================================================
3###
4##
5## SVN information
6#  $Author$
7#  $Date$
8#  $Revision$
9#  $Id$
10#  $HeadURL$
[3620]11
[4092]12#source ./Setup.bash
[3620]13
[4092]14WORK_MOSAIC=/ccc/work/cont003/gen2212/p86mart/MOSAIX
15mkdir -p ${WORK_MOSAIC}
16
[3620]17# ============================================================
18
[4186]19for ATM in LMD144142 LMD9695 LMD256256 LMD144x142 LMD96x95 LMD256x256 ICO30 ICO40 ICO450 dynamico30 dynamico40 dynamico450
[3620]20do
[4172]21    for OCE in ORCA2.3 eORCA1.2 eORCA025 ORCA025
[3620]22    do
[4186]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  )
[3620]24
25        if [[ -z ${Liste} ]] ; then
26            echo "${ATM} : ${OCE} : Vide "
27        else
28            echo "${ATM} : ${OCE} : ${Liste}"
[4153]29            echo "${WORK_MOSAIC}/${OCE}x${ATM}"
[4092]30            mkdir -p ${WORK_MOSAIC}/${OCE}x${ATM}
31            mv ${Liste}  ${WORK_MOSAIC}/${OCE}x${ATM}
[3620]32
33        fi
34       
35    done
36done
Note: See TracBrowser for help on using the repository browser.