Skip to content

Commit

Permalink
fix WPS dataset metadata reading
Browse files Browse the repository at this point in the history
(fixes #167)
  • Loading branch information
letmaik committed Apr 12, 2020
1 parent dd482b0 commit ba3e698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gis4wrf/core/readers/wps_binary_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def read_wps_binary_index_file(folder: str) -> WPSBinaryIndexMetadata:
raise UserError(f'{index_path} is missing, this is not a valid WPS Binary dataset')
with open(index_path) as f:
index = '\n'.join(line.strip() for line in f.readlines())
parser = ConfigParser()
parser = ConfigParser(interpolation=None)
parser.read_string('[root]\n' + index)
meta = parser['root']

Expand Down

0 comments on commit ba3e698

Please sign in to comment.