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

Commit 7c76c7b

Browse files
committed
Fix access to PARAMS_TO_COPY. Fixes #42
1 parent fb376f4 commit 7c76c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def loop():
127127
_LOG.info('Message is wanted! Loading NetCDF file...')
128128
time_start = time.time()
129129
var_name = mo_message.message['name']
130-
height_meters = PARAMS_TO_COPY.loc[var_name]
130+
height_meters = PARAMS_TO_COPY['height'][var_name]
131131
try:
132132
load_subset_and_save_data(mo_message, height_meters, s3)
133133
except Exception as e:

0 commit comments

Comments
 (0)