-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Iceland to analysis also adds random islands #1
Comments
I think this is a problem as the demand data does not include these islands (entso-e, 2016). However, as this is the case, maybe it would be even good to have a special case treatment here that removes Madeira and the Azores explicitly, not implicitly like before. entso-e. (2016). Specific national considerations. https://www.entsoe.eu/Documents/Publications/Statistics/Specific_national_considerations.pdf |
I wonder if we could provide the bounds of the system as a shapefile, instead of bounds of a rectangle? Or does that over-complicate the cutting down of input data (which currently uses those bounds)? |
I think the code would not change much if we were to use a shapefile (basically a complex polygon I guess, no?) rather than a box. The configuration would become more complicated though. Instead of 4 values you would need a long textfile describing the polygon (assuming it is stored as a GeoJSON rather than as a shapefile). I think I'd rather take the current box, and then stamp our Madeira and the Azores. The coordinates of the islands can be hard coded. The stamping could be controlled by one or two more flags in the config: scope:
countries:
[...]
bounds:
x_min: [...]
[...]
y_max: [...]
include-madeira: True
include-azores: True Those are weirdly specific configuration parameters, but it looks like a pragmatic solution to me. |
How about being able to define exclusion zones? scope:
countries:
[...]
bounds:
x_min: [...]
[...]
y_max: [...]
exclusion_zones:
atlantic_islands:
x_min: [...]
[...]
y_max: [...] It could then be any arbitrary number of exclusion zones that are named by the user for convenience ( |
Much better! |
OK, there are a few locations were bounds are used in the analysis:
This might need to be updated with clipping relative to a raster which has the 'holes' of the exclusion zones already in it:
Seems quite easy to wrap this in a Polygon shape, holes and all: |
|
Great, well 2. is easy - I'll create a PR on that soon. As to SRTM tiles, is it possible to find the spatial bounds of tiles by their numbers? |
No, the 59.5 and 60 values are fine. That's just because SRTM is only available up until latitude 60°. For the SRTM files it's likely possible to map bounds to their numbers. I simply did not bother back then. |
SRTM: |
This issue relates to adding Iceland for use in a downstream dependency, Euro-Calliope (see https://github.com/timtroendle/euro-calliope/issues/15).
Including Iceland here is relatively straightforward, it just requires:
There's only one issue: on creating the ninja input configs I noticed that the extended spatial bounds of the problem leads to a bunch of island territories ending up in the model:
These same islands will end up elsewhere in the analysis, since the spatial bounds are used to set the study area in e.g. generating shapefiles. Thoughts on the easiest way to exclude these @timtroendle, or do you imagine they won't be a problem?
The text was updated successfully, but these errors were encountered: