From df2a8fe590979061f7bbb9ad10e718acd8106013 Mon Sep 17 00:00:00 2001
From: Vermaas <vermaas@astron.nl>
Date: Fri, 21 Feb 2025 14:09:56 +0100
Subject: [PATCH] change from download (globus-url-copy) to copy (untarring
 from shared path)

---
 steps/fetch_data.cwl | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/steps/fetch_data.cwl b/steps/fetch_data.cwl
index 92fa997..01dfd60 100644
--- a/steps/fetch_data.cwl
+++ b/steps/fetch_data.cwl
@@ -26,9 +26,10 @@ requirements:
           #!/bin/bash
           mkdir out
           cd out
-          turl=`echo $1 | awk '{gsub("srm://srm.grid.sara.nl[:0-9]*","gsiftp://gridftp.grid.sara.nl"); print}'`
-          turl=`echo $turl | awk '{gsub("srm://lta-head.lofar.psnc.pl[:0-9]*","gsiftp://gridftp.lofar.psnc.pl"); print}'`
-          turl=`echo $turl | awk '{gsub("srm://lofar-srm.fz-juelich.de[:0-9]*","gsiftp://lofar-gridftp.fz-juelich.de"); print}'`
-          echo "Downloading $turl"
-          globus-url-copy $turl - | tar -xvf -
-
+          echo "--- untar the tar file from the shared directory into the local tmp directory ---"
+          echo $1
+          echo "---------------------------------------------------------------------------------"
+          cat $1 | tar -xvf -
+          ls -rtl
+          echo "Nico was here!"
+          #globus-url-copy $turl - | tar -xvf -
\ No newline at end of file
-- 
GitLab