/[MITgcm]/MITgcm_contrib/high_res_cube/input/modpickup
ViewVC logotype

Diff of /MITgcm_contrib/high_res_cube/input/modpickup

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.10 by dimitri, Tue Aug 7 13:44:49 2007 UTC revision 1.11 by dimitri, Tue Nov 6 22:07:40 2007 UTC
# Line 1  Line 1 
1  #! /bin/csh  #! /bin/csh
2  set filesize=5031374400  set filesize=3782894400
3  set last_pickup=`ls -lt pickup.*.data | awk '$5~/'${filesize}'/{print $NF}'|head -1 `  set last_pickup=`ls -lt pickup.*.data | awk '$5~/'${filesize}'/{print $NF}'|head -1 `
4  if (-e ${last_pickup}) then  if (-e ${last_pickup}) then
5  set last_meta=`echo $last_pickup | sed 's/data/meta/'`  set last_meta=`echo $last_pickup | sed 's/data/meta/'`
# Line 7  set timestep=`awk '$1~/timeStepNumber/{p Line 7  set timestep=`awk '$1~/timeStepNumber/{p
7  \ln -sf ${last_pickup} pickup.${timestep}  \ln -sf ${last_pickup} pickup.${timestep}
8  endif  endif
9    
10  set filesize=262180800  set filesize=274665600
11  set last_pickup_seaice=`ls -lt pickup_seaice.*.data | awk '$5~/'${filesize}'/{print $NF}'|head -1 `  set last_pickup_seaice=`ls -lt pickup_seaice.*.data | awk '$5~/'${filesize}'/{print $NF}'|head -1 `
12  if (-e ${last_pickup_seaice}) then  if (-e ${last_pickup_seaice}) then
13  set last_meta=`echo $last_pickup_seaice | sed 's/data/meta/'`  set last_meta=`echo $last_pickup_seaice | sed 's/data/meta/'`

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22