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

TCRain dist to coast trick no longer effective #120

Open
emanuel-schmid opened this issue Apr 4, 2024 · 0 comments
Open

TCRain dist to coast trick no longer effective #120

emanuel-schmid opened this issue Apr 4, 2024 · 0 comments

Comments

@emanuel-schmid
Copy link
Contributor

In the TC_Rain tutorial the preset dist_to_coast column of the Bangladesh Centroids are (ab)used to create hazard plots with offshore intensities blanked out. (?)

This won't work anymore in Climada 5.0, because the dist_to_coast attribute is always calculated on the fly.

If we want to keep the behavior I'd suggest to implement an additional argument in TCRain.from_tracks(ignore_offshore=False) that does not blank out centroids far away from the coastline like (max_dist_inland_km) but those offshore.

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

No branches or pull requests

1 participant