Ignore:
Timestamp:
04/01/11 17:15:43 (14 years ago)
Author:
jgipsl
Message:

Added script to interpolate nudge files from model output format (TS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZOR/branches/LMDZOR_v4/CREATE/SCRIPT/era2gcm.ksh

    r1366 r1367  
    3131        varout=uwnd 
    3232        grille='grille_u' 
    33     elif [ ${varin} = 'v' ] ; then  
     33    elif [ ${varin} = 'v' ] || [ ${varin} = 'vitv' ] ; then  
    3434        varout=vwnd 
    3535        grille='grille_v' 
    36     elif [ ${varin} = 'ta' ] ; then  
     36    elif [ ${varin} = 'ta' ] || [ ${varin} = 'temp' ] ; then  
    3737        varout=air 
    3838        grille='grille_t' 
    39     elif [ ${varin} = 'r' ] ; then  
     39    elif [ ${varin} = 'r' ] || [ ${varin} = 'hur' ] ; then  
    4040        varout=rh 
    4141        grille='grille_t' 
     
    6363 
    6464save/clobber/file="${fileout}" ${varout}[d=2,g=${grille},l=1] 
    65 !repeat/l=1:${tmax} save/file="${fileout}"/append ${varout}[d=2,g=${grille}] 
    66 repeat/l=1:2 save/file="${fileout}"/append ${varout}[d=2,g=${grille}] 
     65repeat/l=1:${tmax} save/file="${fileout}"/append ${varout}[d=2,g=${grille}] 
    6766 
    6867exit 
Note: See TracChangeset for help on using the changeset viewer.