Skip to content

Commit

Permalink
calcDelays: fix path to out file being lost
Browse files Browse the repository at this point in the history
  • Loading branch information
garlic-os committed Jul 31, 2024
1 parent fd55756 commit 8147520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/RAiDER/cli/raider.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def calcDelays(iargs: Optional[Sequence[str]]=None) -> list[Path]:
else:
out_filename = Path(out_filename)
if aoi.type() == 'station_file':
out_filename = Path(out_filename.stem + '.csv')
out_filename = out_filename.with_suffix('.csv')

if aoi.type() in ('station_file', 'radar_rasters', 'geocoded_file'):
writeDelays(aoi, wet_delay, hydro_delay, str(out_filename), f, outformat=run_config.runtime_group.raster_format)
Expand Down

0 comments on commit 8147520

Please sign in to comment.