Skip to content

Commit

Permalink
Merge pull request #1214 from aodn/wave_typo
Browse files Browse the repository at this point in the history
wave: fix typo
  • Loading branch information
leonardolaiolo authored Nov 14, 2024
2 parents 471d6f2 + 87e20f1 commit 29c301c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def convert_wave_data_to_netcdf(self, true_dates=False):
not re.match('^IMOS', template.global_attributes['institution'].upper()):
template.global_attributes.update({'institution_code': 'VIC-DEAKIN-UNI'})
elif re.match('^IMOS', template.global_attributes['institution'].upper()) and \
not emplate.global_attributes['institution_code'].lower == 'imos':
not template.global_attributes['institution_code'].lower == 'imos':
# rename VIC and UWA operated buoys from IMOS-NTP facility
template.global_attributes.update({'institution_code': 'IMOS_NTP-WAVE'})
elif template.global_attributes['institution_code'].lower == 'imos':
Expand Down

0 comments on commit 29c301c

Please sign in to comment.