Weather Module
weather
Functions:
Name | Description |
---|---|
fetch_list |
Fetches weather data based on the input type which could be coordinates, a CSV file, or a shapefile. |
fetch_list(config_file, input_data, output_dir, raw=False)
Fetches weather data based on the input type which could be coordinates, a CSV file, or a shapefile.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_data
|
str
|
Could be latitude and longitude as a string, path to a CSV file, or path to a shapefile. |
required |
output_dir
|
str
|
Directory or file path where the output should be saved. |
required |
raw
|
bool
|
Whether to save as raw CSV (True) or DLY format (False). Defaults to False. |
False
|