You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How does the programm use the shapefile of the subregions? If we have, for example, 3 regions: A, B, C, which effect does it have on the output files?
In the code, the functions get_regression_coefficients and generate_timeseries_for_regions were commented out (in runme.py). Should it be like that? I tried to execute these functions, and I have got an error that the subregions of Afghanistan are not contained in the IRENA database. As far as I know, the IRENA database contains only information about countries and not specifics about the regions of the countries. Does it mean that these functions can not be used and timeseries and regression coefficients can not be generated for the subregions?
The text was updated successfully, but these errors were encountered:
When you generate the time series, the code considers all the available pixels within region A, sorts them based on their full-load hours, and picks the pixels at the user-specified quantiles (for example q50 = median, q100 ~ best location, q0 ~ worst location). It generates the time series for those pixels. No averaging over the region is done to preserve the fluctuation of the time series. Same for regions B and C.
Correct, those functions can only run for countries that are within IRENA. You could create a csv file manually instead of running the regression, where you specify how you want to combine the different quantiles (giving them weights), then run the last function.
An example of what such a file looks like can be found in this archive: https://zenodo.org/record/4028181
I have two questions:
How does the programm use the shapefile of the subregions? If we have, for example, 3 regions: A, B, C, which effect does it have on the output files?
In the code, the functions get_regression_coefficients and generate_timeseries_for_regions were commented out (in runme.py). Should it be like that? I tried to execute these functions, and I have got an error that the subregions of Afghanistan are not contained in the IRENA database. As far as I know, the IRENA database contains only information about countries and not specifics about the regions of the countries. Does it mean that these functions can not be used and timeseries and regression coefficients can not be generated for the subregions?
The text was updated successfully, but these errors were encountered: