global-land-mask
global-land-mask copied to clipboard
Check whether a lat/lon point is on land for any point on earth
In one of the first lines of the `globe.py` file a malicious compressed file called `globe_combined_mask_compressed.npz` is loaded in path. It is responsible for loading the file into memory. ```...
On replit.com, using global land mask does not work. It shows this error when starting the project ```Traceback (most recent call last): File "main.py", line 5, in import image File...
The **numpy** requirement, although documented, is missing from the `install_requires` field in setup.py (which is missing in general). It would be great if we had it, so that pip installs...
# Description Adds a _requirements.txt_ file which is also used to populate `install_requires` of setup.py. This enables pip to automatically derive and install the dependencies of this library (basically just...
This coordinates (lat: -3.730884, lon: -38.457926) were accused of being in the ocean https://www.google.com/maps/place/3°43'51.2"S+38°27'28.5"W/@-3.7308889,-38.4601054,17z/data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d-3.730884!4d-38.457926?hl=pt lat = -3.730884 lon = -38.457926 is_on_land = globe.is_land(lat, lon) is_in_ocean = globe.is_ocean(lat, lon) print(f"is_on_land: {is_on_land}")...
Hey guy's Caspian sea seems recorded as being a land and not a sea, how could it be modified ? lat = 40.44435 lon = 50.61982 Many thanks
I'm trying to run your package on a Raspberry Pi Zero and I'm running into memory issues. ``` Traceback (most recent call last): File "grid-nn.py", line 7, in from global_land_mask...
is there a mask out there for global inland lakes? this would be a useful feature as well.
Wikimedia "Mercator Projection" vs Global Land Mask (green & red). Green means an antipode with land on both sides.  I believe my x,y to lat, long coordinate conversion is...
Hi, just a feedback to suggest that it's more natural to use f(lon, lat) given that longitude (latitude) values refer to x (y) coordinates on a map, so calling f(lon,...