Commit 0aac4db3 authored by CEVAER's avatar CEVAER
Browse files

Use only 1 thread to prevent HDF errors

parent a621f741
......@@ -100,10 +100,10 @@ files_to_process=$(echo "$files_to_process" | sed -r '/^\s*$/d')
if [ "$smap" == "True" ] ; then
echo "Generating SMAP files..."
#printf "%s\n $files_to_process" | xargs -r -P 5 extractSmapCyclone.py --dbd "$DATABASE_URL" -o "$output_path" -i
printf "%s\n $files_to_process" | xargs -r -P 10 -L 1 extractWrapper.sh extractSmapCyclone.py --dbd "$DATABASE_URL" -o "$output_path" -i
printf "%s\n $files_to_process" | xargs -r -P 1 -L 1 extractWrapper.sh extractSmapCyclone.py --dbd "$DATABASE_URL" -o "$output_path" -i
elif [ "$smos" == "True" ] ; then
echo "Generating SMOS files..."
printf "%s\n $files_to_process" | xargs -r -P 10 -L 1 extractWrapper.sh extractSmosCyclone.py --dbd "$DATABASE_URL" -o "$output_path" -i
printf "%s\n $files_to_process" | xargs -r -P 1 -L 1 extractWrapper.sh extractSmosCyclone.py --dbd "$DATABASE_URL" -o "$output_path" -i
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment