Global land mask for satellite ocean color remote sensing
Project description
global-land-mask-oc
Global land mask for satellite ocean color remote sensing
Installation
via pip
pip install global-land-mask-oc
via uv
uv add global-land-mask-oc
Usage
Single Point Check
from global_land_mask_oc import globe
def check_if_land():
lat = 40
lon = -120
is_on_land = globe.is_land(lat, lon)
print("lat={}, lon={} is on land: {}".format(lat, lon, is_on_land))
2D Array Processing
from global_land_mask_oc import globe
# Lat/lon
lat = np.linspace(32.533, 28.676, 1000)
lon = np.linspace(119.570, 123.266, 1002)
# Make a grid
lon_grid, lat_grid = np.meshgrid(lon, lat)
# Get whether the points are on land.
z = globe.is_land(lat_grid, lon_grid)
Compare with global-land-mask
global-land-mask-oc offers significant advantages over the original global-land-mask, including:
- Higher Resolution: Captures more detailed geographical features, ensuring accurate land identification even in complex coastal areas.
- Included Lakes: Incorporates lake data, providing a more comprehensive representation of land-water boundaries for ocean color remote sensing.
Reference
- Mikelsons, K., Wang, M., Wang, X.-L. & Jiang, L. Global land mask for satellite ocean color remote sensing. Remote Sens. Environ. 257, 112356 (2021).
- https://github.com/toddkarin/global-land-mask
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
global_land_mask_oc-1.0.0.tar.gz
(29.6 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file global_land_mask_oc-1.0.0.tar.gz.
File metadata
- Download URL: global_land_mask_oc-1.0.0.tar.gz
- Upload date:
- Size: 29.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59514f9172cbead5db26369bde91f40774a9970d2cafefda0be44948aec38fa4
|
|
| MD5 |
ba61d360e8b3ca65ce3369559f905d44
|
|
| BLAKE2b-256 |
bdba283edfac67dcbfbe6f3b6685dc385975d42cf3c8da73f74ecbf774159a3a
|
File details
Details for the file global_land_mask_oc-1.0.0-py3-none-any.whl.
File metadata
- Download URL: global_land_mask_oc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0794f57bfd98622da4398fc24307db698684c4bb183297beeeabe7477b31b2d
|
|
| MD5 |
896c879732d70f68eff5beadd200f0bd
|
|
| BLAKE2b-256 |
0a99f281440fd3305e8fcc8f313ec3c97a2accaa52399e40fb3caf8fa28b1a6d
|