Changeset 5038


Ignore:
Timestamp:
Jul 9, 2024, 6:25:19 PM (6 months ago)
Author:
fhourdin
Message:

OK pour extraction 1D depuis simulation parallele

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/Replay/replay_equip.sh

    r5033 r5038  
    314314    if (( $# >> 0 )) ; then
    315315       vars=$*
     316       echo "if ( abs(gr_index_)>0 ) then"
    316317       for var in $vars ; do
    317318          local vardim=$( var_dims $var )
    318319          echo "call iotd_ecrit_seq('"$pre$var"',$klev_,'"$pre$var in $param"',' ',"$var$vardim")"
    319320       done
     321       echo endif
    320322    fi
    321323}
     
    470472endif
    471473irec=irec+1
    472 write(81,rec=irec) $( echo $varin | sed -e "s/,$klon/,1/" )
     474write(81,rec=irec) $varin
    473475endif
    474476first_replay=.false.
     
    497499if [[ "$lonlat" != "" ]] ; then
    498500    for file in $paraminc1 $paraminc2 ; do sed -i -e "s/1:$klon/gr_index_/g" -e '/rec_l/s/\*('$klon')//g'  $file ; done
     501    sed -i -e "/(81/s/,$klon/,1/" $paraminc1
    499502fi
    500503 
Note: See TracChangeset for help on using the changeset viewer.