Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mmann1123 authored Oct 24, 2024
1 parent 38113ab commit 92ea09a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ with gw.series( files) as src:
if len(list(params.keys())) > 0:
key_names = list(params.keys())[0]
value_names = list(params.values())[0]
outfile = f"{band_name}_{func_name}_{key_names}_{value_names}_{grid}.tif"
outfile = f"{band_name}_{func_name}_{key_names}_{value_names}.tif"
# avoid issue with all dates
if func_name in ["doy_of_maximum", "doy_of_minimum"]:
outfile = f"{band_name}_{func_name}_{key_names}_{grid}.tif"
outfile = f"{band_name}_{func_name}_{key_names}.tif"
else:
outfile = f"{band_name}_{func_name}_{grid}.tif"
outfile = f"{band_name}_{func_name}.tif"
# extract features
try:
Expand All @@ -133,7 +133,7 @@ with gw.series( files) as src:
)
except Exception as e:
logging.error(
f"Error extracting features from {band_name} {func_name} {grid}: {e}"
f"Error extracting features from {band_name} {func_name}: {e}"
)
continue
```
Expand Down

0 comments on commit 92ea09a

Please sign in to comment.