diff --git a/cwl/steps/fetch_data.cwl b/cwl/steps/fetch_data.cwl index 6877b027d1df7273761b279f9278341c19c4ddea..930726c48cd9fa7ef588e5d958b441c59a97eac0 100644 --- a/cwl/steps/fetch_data.cwl +++ b/cwl/steps/fetch_data.cwl @@ -30,6 +30,12 @@ requirements: cd out echo "Downloading $1" - gfal-copy $1 .. - - tar -xvf ../*.tar \ No newline at end of file + if [[ "$1" == *"lta-head.lofar.psnc.pl"* ]]; then + cd .. + wget --no-check-certificate --read-timeout=5 --timeout 5 https://lta-download.lofar.psnc.pl/lofigrid/SRMFifoGet.py\?surl\=$1 + cd out + else + + gfal-copy $1 .. + fi + tar -xvf ../*.tar