You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /data/predict1/data_from_nda/${NET}/PHOENIX/PROTECTED
# raw JSONs
zip $ARCHIVE/raw/${NET}-PROTECTED.json.${datestamp}.zip -r ${NET}??/raw/*/surveys/*.${NET}.json
# raw surveys
if [ ${NET} == Prescient ]
then
for site in ${NET}??; do pushd .; cd ${site}/raw; for s in ???????; do echo $s; zip $ARCHIVE/raw/${s}.surveys.zip -r ${s}/surveys/${s}_*.csv; done; popd; done
fi
############################################
cd /data/predict1/data_from_nda/${NET}/PHOENIX/GENERAL
# shifted JSONs
zip $ARCHIVE/processed/${NET}-GENERAL.json.${datestamp}.zip -r ${NET}??/processed/*/surveys/*.${NET}.json
# processed outcomes
for site in ${NET}??; do pushd .; cd ${site}/processed/; for s in ???????; do echo $s; zip $ARCHIVE/processed/${s}.outcomes.zip -q -r ${s}/surveys/*.csv; done; popd; done