Commit b4859a46 authored by CEVAER's avatar CEVAER
Browse files

Use new SMOS path (v3.0)

parent 81c63095
......@@ -39,7 +39,7 @@ if [ -z "$output_path" ] ; then
fi
smap_path=/home/datawork-cersat-public/provider/remss/satellite/l3/smap/smap/wind/v1.0 # includes daily and daily_nrt
smos_path=/home/ref-smoswind-public/data/v2.0/l3/data
smos_path="/home/ref-smoswind-public/data/v*.0/l3/data"
if [ -z "$smos" ] && [ -z "$smap" ] ; then
echo "You must chose which archive to update with --smos or --smap"
......@@ -69,7 +69,7 @@ sec=$(date --date="$days days ago" +%s)
files_to_process=""
# Keeping only files that are in the requested time interval for SMAP
for file in "$inpath"/**/*.nc; do # Whitespace-safe and recursive
for file in $inpath/**/*.nc; do # Whitespace-safe and recursive
if [ "$smap" == "True" ] ; then
# If the current file is an NRT file, checking that the FINAL file does not exist. If it does, skipping the NRT file.
if [[ "$file" == *"daily_nrt"* ]]; then
......
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