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

Can pycoast create land/water masks? #35

Open
7yl4r opened this issue Oct 31, 2019 · 3 comments
Open

Can pycoast create land/water masks? #35

7yl4r opened this issue Oct 31, 2019 · 3 comments
Assignees
Labels

Comments

@7yl4r
Copy link

7yl4r commented Oct 31, 2019

Can pycoast be used to create landmasks?
It seems that the task of adding boundaries is much the same as creating a mask but I see no examples demonstrating this usage.

Easy creation of landmasks using this tool would be useful for my processing and likely many others.
I even came across this old issue on pyspectral mentioning the same.

What changes would be needed to allow pycoast to create masks?

@mraspaud
Copy link
Member

AFAIK, pycoast can fill landmasses with a given colour, so in principle you could use it to make a land/sea mask yes. Now the question is how do you use it ? do you want to save it to some format to use in another program, or make this available to satpy for online masking in some composites ? The later is appealing to me in the way I use satpy in operation, but it would rather be a new composite class in satpy I suppose than some new functionality in pycoast.

@mraspaud mraspaud self-assigned this Nov 1, 2019
@7yl4r
Copy link
Author

7yl4r commented Nov 26, 2019

I'm not using other parts of satpy (yet), so I was thinking of using a mask output file (png, tif, svg, or similar) to overlay onto an image produced by another pipeline.

@paapu88
Copy link

paapu88 commented Dec 10, 2020

I have used this:
https://pypi.org/project/global-land-mask/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants