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

Extending geogrid_simulator domain plots? #159

Open
marfel opened this issue Sep 23, 2019 · 1 comment
Open

Extending geogrid_simulator domain plots? #159

marfel opened this issue Sep 23, 2019 · 1 comment

Comments

@marfel
Copy link

marfel commented Sep 23, 2019

Hi,

we find the geogrid_simulator very useful, but since we sometime have very small offshore domains, it would be helpful to be able to increase the map boundary beyond the outermost domain. Otherwise we sometimes end up seeing only ocean. We tried different things in that regard already, but -- being new to the library -- so far nothing really worked. Can you think of a simple solution for implementing this?

Thanks,
Martin

@fmaussion
Copy link
Owner

The current design of the tool does not really allow this, but it shouldn't be too difficult to implement.

Since it's just about the graphical representation, one should create N+1 maps (with N the number of domains) here in code. The first map should be created from an "extented" grid object. This is probably the only thing that requires a bit of thinking. Maybe there could be a Grid.extend() or Grid.enlarge() method that returns a new grid enlarged by a given number of grid points?

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