A question about 'substitute' in the job_is4dvar.sh

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
zhouwei
Posts: 29
Joined: Thu Dec 21, 2006 10:25 pm
Location: South China Sea Institute of Oceanology

A question about 'substitute' in the job_is4dvar.sh

#1 Unread post by zhouwei »

Hello,everyone.
I found these command in the job_is4dvar.sh

Code: Select all

# Modify S4DVAR template input script and specify above files.

 set IS4DVAR=is4dvar.in
 if (-e $IS4DVAR) then
   /bin/rm $IS4DVAR
 endif
 cp s4dvar.in $IS4DVAR

 substitute $IS4DVAR ocean_std.nc $STDname
 substitute $IS4DVAR ocean_nrm.nc $NRMname
 substitute $IS4DVAR ocean_obs.nc $OBSname
 substitute $IS4DVAR ocean_hss.nc ../Data/gyre3d_hss.nc
 substitute $IS4DVAR ocean_mod.nc gyre3d_mod.nc
I have tried to 'man substitute' and search for it in google, but I still don't know the command 'substitute', Does anybody know? Thank you very much.

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

#2 Unread post by m.hadfield »

ROMS/Bin/substitute

Post Reply