paint.preprocessing.juelich_weather_converter
Classes
Initialize the weather converter. |
Module Contents
- class paint.preprocessing.juelich_weather_converter.JuelichWeatherConverter(input_root_dir: str, output_path: str, compression_method: str = 'gzip', compression_level: int = 5)
Initialize the weather converter.
Parameters
- input_root_dirstr
The root directory to search for weather files.
- output_pathstr
The output path to save the HDF5 file.
- compression_methodstr
The method used to compress the HDF5 file.
- compression_levelint
The compression level.
- input_root_dir
- output_path
- files_list
- compression_opts
- find_weather_files() list[str]
Recursively find all weather.txt files in the directory.
Returns
- list[str]
The list of weather.txt files to be concatenated.