Skip to content

Commit

Permalink
bugfix to allow data download without credentials when not using aws
Browse files Browse the repository at this point in the history
  • Loading branch information
laestrada committed Nov 7, 2024
1 parent 1e44c58 commit 72e9040
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/template_component/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ setup_template() {

cd ${RunTemplate}

if "$isAWS"; then
# Update GC data download to silence output from aws commands
sed -i "s/command: 'aws s3 cp '/command: 'aws s3 cp --no-sign-request --only-show-errors '/" download_data.yml
fi
# Update GC data download to silence output from aws commands and not require aws creds
sed -i "s/command: 'aws s3 cp '/command: 'aws s3 cp --no-sign-request --only-show-errors '/" download_data.yml

# Modify geoschem_config.yml based on settings in config.yml
sed -i -e "s:20190101:${StartDate}:g" \
Expand Down

0 comments on commit 72e9040

Please sign in to comment.