Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Fix access to PARAMS_TO_COPY. Fixes #42
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly committed Jun 17, 2020
1 parent fb376f4 commit 7c76c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def loop():
_LOG.info('Message is wanted! Loading NetCDF file...')
time_start = time.time()
var_name = mo_message.message['name']
height_meters = PARAMS_TO_COPY.loc[var_name]
height_meters = PARAMS_TO_COPY['height'][var_name]
try:
load_subset_and_save_data(mo_message, height_meters, s3)
except Exception as e:
Expand Down

0 comments on commit 7c76c7b

Please sign in to comment.