Changeset 4979


Ignore:
Timestamp:
Jun 11, 2024, 3:01:21 PM (6 months ago)
Author:
musat
Message:

Corrections lancement ferret et ajout script ferret go_sstk_stk.jnl
Ionela Musat

Location:
BOL/Scripts_ce0l/SST_SIC_ERA
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Scripts_ce0l/SST_SIC_ERA/mk_prepa_daily-SST-SIC_ERA.sh

    r4907 r4979  
    9090
    9191var=sstk
    92 cp ${din}/${yr}/${var}.${yr}${mth}.${suff}.${res}.nc .
     92cp ${din}/${var}.${yr}${mth}.${suff}.${res}.nc .
    9393cdo daymean ${var}.${yr}${mth}.${suff}.${res}.nc ${var}_daily.${yr}${mth}.${res}.nc
    9494chmod u+w ${var}.${yr}${mth}.${suff}.${res}.nc
     
    9999fi
    100100
    101 cat<<eof>go_sstk_stk.jnl
    102 cancel data/all
    103 cancel view
    104 
    105 use "skt_daily.$1.$3.nc"
    106 use "sstk_daily.$1.$3.nc"
    107 
    108 let sst = if sstk[d=2] then sstk[d=2] else skt[d=1]
    109 shade sst[l=1]-skt[d=1,l=1]; go land
    110 
    111 save/file=sst_$4.$1.nc sst[l=1]
    112 repeat/l=2:$2 (save/append/file=sst_$4.$1.nc sst[l=`l`])
     101\rm tmp.jnl
     102cat<<eof>tmp.jnl
     103go go_sstk_stk.jnl ${yr}${mth} ${ndays} ${res} ${data}
    113104quit
    114 
    115105eof
    116106
    117 ferret -batch tmp.ps -script go_sstk_stk.jnl ${yr}${mth} ${ndays} ${res} ${data}
     107 ###ferret -batch tmp.ps -script go_sstk_stk.jnl ${yr}${mth} ${ndays} ${res} ${data}
     108ferret<tmp.jnl
    118109
    119110echo mth $mth ndays ${ndays}
    120111
    121112done
     113
     114#exit
    122115
    123116varnew=sst
Note: See TracChangeset for help on using the changeset viewer.