Skip to content

Commit

Permalink
fix: fixed syntax in grid.py (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerat authored May 8, 2024
1 parent 344c2af commit 9c40f15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydrodiy/gis/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,8 @@ def get_grid(name):
info = AWRAL_SUBGRIDS.loc[idx, :].iloc[0]

# Generate file names
fh = "{}/{}.hdr".format(info.entity_type, re.sub("\..*$", "", info.grid_file))
fh = "{}/{}.hdr".format(info.entity_type, \
re.sub("\\..*$", "", info.grid_file))

# Reads data
gr = Grid.from_zip(FZIP_AWRAL_SUBGRIDS, fh)
Expand Down

0 comments on commit 9c40f15

Please sign in to comment.