source: TOOLS/MOSAIX/rangement.bash @ 4386

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

O.M. : corection on MOSAIX

  • add ORCA025.1 to known resolutions
  • Correct mask used to generate weigths
  • Suppress the second computation of uuid
  • OceMask? is now ocean fraction like it was in MOZAIC. OceFrac? still exists (and equals OceFrac?)
  • Add Oce2AtmMask as a 1/0 mask
  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 1.1 KB
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
[4298]14WORK_MOSAIX=/ccc/work/cont003/gen2212/p86mart/MOSAIX
[4092]15
[3620]16# ============================================================
17
[4298]18for ATM in LMD9695 LMD96x95 LMD144142 LMD144x142 LMD256256 LMD256x256 ICO30 ICO40 ICO450 ;
[3620]19do
[4298]20    for OCE in ORCA2.3 eORCA1.2 eORCA025 eORCA025.1
[3620]21    do
[4298]22        CplModel=${OCE}x${ATM}
23        Liste=$(ls README_${OCE}x${ATM}.txt README_${OCE}x${ATM}_*.txt rmp_*${OCE}_to_*${ATM}_*.nc rmp_*${ATM}_to_*${OCE}_*.nc dia_*${OCE}_to_*${ATM}_*.nc dia_*${ATM}_to_*${OCE}_*.nc ${ATM}_grid_maskFrom_${OCE}_*.nc grids_${OCE}x${ATM}_*.nc masks_${OCE}x${ATM}_*.nc areas_${OCE}x${ATM}_*.nc 2> /dev/null )
[3620]24
25        if [[ -z ${Liste} ]] ; then
[4298]26            echo "${CplModel} : Vide "
[3620]27        else
[4298]28            echo "${CplModel} : ${Liste}"
29            echo "${WORK_MOSAIX}/${CplModel}"
30            mkdir -p ${WORK_MOSAIX}/${CplModel}
31            mv ${Liste} ${WORK_MOSAIX}/${CplModel}
[3620]32        fi
33    done
[4298]34    [[ -f Out_${CplModel} ]] && cp Out_${CplModel} ${WORK_MOSAIX}/${CplModel}
[3620]35done
Note: See TracBrowser for help on using the repository browser.