Changeset 4088


Ignore:
Timestamp:
10/25/18 09:30:37 (4 years ago)
Author:
omamce
Message:

O.M. : cosmetic on CreateWeights?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/CreateWeightsMask.bash

    r4082 r4088  
    5252# Defines models 
    5353# ============== 
    54 #OCE=ORCA2.3 
    55 OCE=eORCA1.2 
     54OCE=ORCA2.3 
     55#OCE=eORCA1.2 
    5656#OCE=ORCA025 
    5757 
    58 #ATM=ICO30 
    59 ATM=ICO40 
     58ATM=ICO30 
     59#ATM=ICO40 
    6060#ATM=ICO450 
    6161#ATM=LMD9695 
     
    152152FMT_XIOS=netcdf4 
    153153 
    154  
    155154cp ${SUBMIT_DIR}/bin/interpol.exe    . 
    156155cp ${SUBMIT_DIR}/*.py                . 
    157  
    158156 
    159157cp ${R_IN}/OCE/NEMO/${OCE}/${OCE}_coordinates_mask.nc  . 
     
    194192## NEMO T point towards ATM - 1st order 
    195193## =========================================================================== 
    196 echo ${Green}"${OCE} T toward ${ATM} - 1stOrder"${Norm} 
     194echo ${Green}"Initial case - ${OCE} T toward ${ATM} - 1stOrder - UnNormalized - Surfacic"${Norm} 
    197195cp ${SUBMIT_DIR}/iodef_oce_to_atm.xml   iodef.xml 
    198196Suffix=1stOrder_UnNormalized_Surfacic 
     
    257255    case ${atm} in 
    258256        ( *ico* )  
    259         ncrename --history --dimension cell_domain_dst,cell       ${ATM}_grid_maskFrom_${OCE}.nc 
     257        ncrename --history --dimension cell_domain_dst,cell              ${ATM}_grid_maskFrom_${OCE}.nc 
     258        ncrename --history --dimension nvertex_domain_dst,nvertex        ${ATM}_grid_maskFrom_${OCE}.nc 
     259        ncrename --history --variable  lat_domain_dst,lat                ${ATM}_grid_maskFrom_${OCE}.nc 
     260        ncrename --history --variable  lon_domain_dst,lon                ${ATM}_grid_maskFrom_${OCE}.nc 
     261        ncrename --history --variable  bounds_lat_domain_dst,bounds_lat  ${ATM}_grid_maskFrom_${OCE}.nc 
     262        ncrename --history --variable  bounds_lon_domain_dst,bounds_lon  ${ATM}_grid_maskFrom_${OCE}.nc 
     263        ncatted  --history --attribute bounds,lat,m,c,"bounds_lat"       ${ATM}_grid_maskFrom_${OCE}.nc 
     264        ncatted  --history --attribute bounds,lon,m,c,"bounds_lon"       ${ATM}_grid_maskFrom_${OCE}.nc 
    260265        ;; 
    261266        ( *lmd* )  
    262         ncrename --history --dimension x_domain_dst,x             ${ATM}_grid_maskFrom_${OCE}.nc 
    263         ncrename --history --dimension y_domain_dst,y             ${ATM}_grid_maskFrom_${OCE}.nc 
     267        ncrename --history --dimension lon_domain_dst,lon            ${ATM}_grid_maskFrom_${OCE}.nc 
     268        ncrename --history --dimension lat_domain_dst,lat            ${ATM}_grid_maskFrom_${OCE}.nc 
    264269        ;; 
    265270    esac 
    266     ncrename --history --dimension nvertex_domain_dst,nvertex        ${ATM}_grid_maskFrom_${OCE}.nc 
    267     ncrename --history --variable lat_domain_dst,lat                 ${ATM}_grid_maskFrom_${OCE}.nc 
    268     ncrename --history --variable lon_domain_dst,lon                 ${ATM}_grid_maskFrom_${OCE}.nc 
    269     ncrename --history --variable bounds_lat_domain_dst,bounds_lat   ${ATM}_grid_maskFrom_${OCE}.nc 
    270     ncrename --history --variable bounds_lon_domain_dst,bounds_lon   ${ATM}_grid_maskFrom_${OCE}.nc 
    271     ncatted  --history --attribute bounds,lat,m,c,"bounds_lat"       ${ATM}_grid_maskFrom_${OCE}.nc 
    272     ncatted  --history --attribute bounds,lon,m,c,"bounds_lon"       ${ATM}_grid_maskFrom_${OCE}.nc 
    273271    ncatted  --history --attribute coordinates,OceFrac,m,c,"lat lon" ${ATM}_grid_maskFrom_${OCE}.nc 
    274272    ncatted  --history --attribute coordinates,OceMask,m,c,"lat lon" ${ATM}_grid_maskFrom_${OCE}.nc 
     273  
    275274fi 
    276275 
Note: See TracChangeset for help on using the changeset viewer.