Skip to content

Weather Module

weather

Functions:

Name Description
fetch_data

Fetches weather data based on the input type which could be coordinates, a CSV file, or a shapefile.

fetch_data(config_file, input_data, output_path)

Fetches weather data based on the input type which could be coordinates, a CSV file, or a shapefile.

Parameters:

Name Type Description Default
config_file str

Path to the configuration YAML file.

required
input_data str

Could be latitude and longitude as a string, path to a CSV file, or path to a shapefile.

required
output_path str

Directory or file path where the output should be saved.

required