Skip to content

Commit

Permalink
modified examples
Browse files Browse the repository at this point in the history
  • Loading branch information
schwemro committed Oct 20, 2023
1 parent 162dfda commit c2fc430
Show file tree
Hide file tree
Showing 2 changed files with 235 additions and 235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ cd /home/fr/fr_fr/fr_rs1092/roger/examples/catchment_scale/eberbaechle/svat_oxyg
echo "Copy fluxes and states from global workspace to local SSD"
# Compares hashes
checksum_gws=$(shasum -a 256 /home/fr/fr_fr/fr_rs1092/roger/examples/catchment_scale/eberbaechle/svat_distributed/output/SVAT.nc | cut -f 1 -d " ")
checksum_ssd=0a
checksum_ssd=0
cp /home/fr/fr_fr/fr_rs1092/roger/examples/catchment_scale/eberbaechle/svat_distributed/output/SVAT.nc "${TMPDIR}"
# Wait for termination of moving files
while [ "${checksum_gws}" != "${checksum_ssd}" ]; do
sleep 10
checksum_ssd=$(shasum -a 256 "${TMPDIR}"/SVAT18O.nc | cut -f 1 -d " ")
checksum_ssd=$(shasum -a 256 "${TMPDIR}"/SVAT.nc | cut -f 1 -d " ")
done
echo "Copying was successful"

Expand Down
Loading

0 comments on commit c2fc430

Please sign in to comment.