Skip to content

Commit

Permalink
change get-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cirrusasf committed Jun 18, 2020
1 parent 927d6f5 commit 06beabb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 365 deletions.
2 changes: 1 addition & 1 deletion harmony_gdal/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def get_variables(self, filename):

# GeoTIFFs, where variables are bands, with descriptions set to their variable name
for subdataset in filter((lambda line: re.match(r"^\s*Description = ", line)), gdalinfo_lines):
result.append(ObjectView({ "name": re.split(r"=", subdataset)[-1] }))
result.append(ObjectView({ "name": re.split(r" = ", subdataset)[-1] }))
if result:
return result

Expand Down
364 changes: 0 additions & 364 deletions harmony_gdal/transform.py.test

This file was deleted.

0 comments on commit 06beabb

Please sign in to comment.