Skip to content

Commit 369c8f4

Browse files
committed
Update copying prep file to COMOUT to do files individually
Refs: NOAA-EMC#1
1 parent 94e76b0 commit 369c8f4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/global_det/prep/exevs_global_det_atmos_prep.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@ echo
1616
python ${USHevs}/global_det/global_det_atmos_prep_prod_archive.py
1717

1818
if [ $SENDCOM = YES ]; then
19-
cp -r $DATA/$RUN.$INITDATE/* $COMOUT/.
19+
for model in cfs cmc cmc_regional dwd ecmwf fnmoc gfs imd jma metfra ukmet; do
20+
mkdir -p $COMOUT/$model
21+
for FILE in $DATA/$RUN.$INITDATE/$model/*; do
22+
cp -v $FILE $COMOUT/$model/.
23+
done
24+
done
2025
fi

0 commit comments

Comments
 (0)