Skip to content
Snippets Groups Projects
Commit c559ce80 authored by Alan De Smet's avatar Alan De Smet
Browse files

Briefer descriptions for GFS FileSets

parent d300ae6b
No related branches found
No related tags found
No related merge requests found
......@@ -124,8 +124,10 @@ class GFSDownloader(csppfetch.Downloader):
urls_to_files.update(self.url_to_file_for_time(generated_time, end))
expected = self.is_expected(forecast_start) and self.is_expected(end)
startstr = str(int(forecast_start.total_seconds()/(60*60)))
endstr = str(int( end.total_seconds()/(60*60)))
description = f"{self.name} for {generated_time} forecast {forecast_start} and {end} hours into the future"
description = f"{self.name} for {generated_time} forecast {startstr} and {endstr} hours into the future"
fs = csppfetch.FileSet(urls_to_files, expected, description)
filesets.append(fs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment