Closed peterdesmet closed 1 year ago
@peterdesmet to abstract away the logic of the path, while keeping it all rely on the filename an additional class is added:
It contains the logic for s3_folder_path_h5
, s3_file_path_daily_vpts
and s3_file_path_monthly_vpts
as properties and the components are generated from the file name using the parse_file_name
method (which can be used outside the context of the class as well to parse in other context as this is a staticmethod).
Implemented in https://github.com/enram/vptstools/pull/19, closing
The directory consensus for files is (#https://github.com/enram/data-repository/issues/65#issuecomment-1108679530) is
source/format/radar/yyyy/
I suggest: