Skip to content
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

[ENG-1188] prepare network large countries #19

Merged
merged 14 commits into from
Jun 23, 2024

Conversation

ollie-bell
Copy link
Collaborator

@ollie-bell
Copy link
Collaborator Author

Also closes tickets ENG-1258 and ENG-1259

_TRACE_outputs/progress-map.png Show resolved Hide resolved
country_configs/config.US.yaml Show resolved Hide resolved
@@ -197,7 +198,7 @@ transformers:
type: ""

atlite:
nprocesses: 1
nprocesses: 8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just for speed?/making better use of dask

@@ -126,7 +127,9 @@
offshore = gpd.read_file(offshore_shapes)
regions = pd.concat([onshore, offshore])
d = max(cutout_params.get("dx", 0.25), cutout_params.get("dy", 0.25)) * 2
cutout_params["bounds"] = regions.total_bounds + [-d, -d, d, d]
cutout_params["bounds"] = np.clip(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: add flag based on snakemake arg

@ollie-bell ollie-bell merged commit e648c2d into main Jun 23, 2024
@ollie-bell ollie-bell deleted the eng-1188-prepare-network-large-countries branch June 24, 2024 15:42
@ollie-bell ollie-bell restored the eng-1188-prepare-network-large-countries branch June 24, 2024 15:42
@ollie-bell ollie-bell deleted the eng-1188-prepare-network-large-countries branch June 24, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants