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

GSHHS high resolution #1262

Open
erickfredj opened this issue Mar 22, 2024 · 1 comment
Open

GSHHS high resolution #1262

erickfredj opened this issue Mar 22, 2024 · 1 comment

Comments

@erickfredj
Copy link

How can I switch the GSHHS coastline setting from 'h' to 'i' in the latest version of OpenDrift?

Thx for your help in advance

@knutfrode
Copy link
Collaborator

Hi, and sorry for late reply,

For the plot and animation methods, you can specify lscale
https://github.com/OpenDrift/opendrift/blob/master/opendrift/models/basemodel/__init__.py#L2558

For the simulations, the full resolution landmask is always used (unless using a custom reader, e.g. ocean model). This is fast, thanks to the use of roaring-landmask
https://github.com/gauteh/roaring-landmask

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

2 participants