OpenDrift / opendrift

Open source framework for ocean trajectory modelling
https://opendrift.github.io
GNU General Public License v2.0
247 stars 120 forks source link

GSHHS high resolution #1262

Open erickfredj opened 6 months ago

erickfredj commented 6 months ago

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 commented 6 months ago

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