Build cutout
Functions to download ERA5/SARAH data and build the atlite cutout for the atlite. These functions linked to the build_cutout rule.
cutout_timespan(config, weather_year)
build the cutout timespan. Note that the coutout requests are in UTC (TBC)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
dict
|
the snakemake config |
required |
weather_year
|
dict
|
the coutout weather year |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
list
|
end and start of the cutout timespan |
Source code in workflow/scripts/build_cutout.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |