Ignore:
Timestamp:
09/18/20 17:47:05 (2 years ago)
Author:
omamce
Message:

O.M. : MOSAIX smaal corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/CreateWeightsMask.bash

    r5156 r5158  
    1 #!/usr/bin/env bash 
     1#!/bin/bash 
    22#MSUB -r WeightsMask        # Job name 
    33#MSUB -o Out_WeightsMask    # Standard output 
     
    77#MSUB -q skylake 
    88#MSUB -p gen2212 
    9 #MSUB -m work 
     9#MSUB -m work,store 
    1010 
    1111### =========================================================================== 
     
    6161## =========================================================================== 
    6262set -e 
     63echo BASH Version ${BASH_VERSION} 
     64echo SHELL ${SHELL} 
    6365 
    6466# 
     
    422424        ;; 
    423425        ( *lmd* ) 
    424         ncrename --history --variabl   lon_domain_dst,lon                ${ATM}_grid_maskFrom_${OCE}.nc 
     426        ncrename --history --variable  lon_domain_dst,lon                ${ATM}_grid_maskFrom_${OCE}.nc 
    425427        ncrename --history --variable  lat_domain_dst,lat                ${ATM}_grid_maskFrom_${OCE}.nc 
    426428        ncrename --history --dimension lon_domain_dst,lon                ${ATM}_grid_maskFrom_${OCE}.nc 
     
    724726        if [[ ${a_to_o} = true ]] ; then 
    725727            ncap2 --history --append --script-file add_varatm_$(basename ${rmpFile} .nc)_a_to_o.nco ${ATM}_grid_maskFrom_${OCE}_noglobal.nc ${rmpFile} 
    726             exit 
    727728            ncks --alphabetize --history --overwrite --variable src_address,dst_address,remap_matrix,src_grid_dims,src_grid_center_lat,src_grid_center_lon,src_grid_corner_lon,src_grid_corner_lat,src_grid_area,src_grid_imask,dst_grid_dims,dst_grid_center_lat,dst_grid_center_lon,dst_grid_corner_lon,dst_grid_corner_lat,dst_grid_area,dst_grid_imask ${rmpFile} rmp_tmp.nc 
    728729            mv rmp_tmp.nc ${rmpFile} 
Note: See TracChangeset for help on using the changeset viewer.