varunayan.processing.file_handler module¶
- varunayan.processing.file_handler.extract_download(zip_or_file_path: str, extract_dir: str | None = None) List[str][source]¶
Extract downloaded file. Handles both single NC file and zip files.
- Parameters:
zip_or_file_path – Path to the downloaded file
extract_dir – Directory to extract to (optional)
- Returns:
List of extracted file paths