Polyhedral meshes on the unit sphere
Project description
Sphedron: Polyhedral meshes on the sphere
A python package for creating refinable polyhedral meshes on the sphere. The refinement is either rectangle or triangle based.
The was developed as a component of Graph Neural Networks (GNN) for Geospatial ML projects, and it's designed with that in mind.
The package implements:
- Icosphere
- Octasphere
- Cubesphere
- Uniform Latitude/Longitude
It is also straighforward to extend it to include other triangular/rectangular meshes.
You can find code examples here:
If you're looking to implement your own rectangle/triangle based mesh:
For the full documentation:
Requirements
- python >= 3.10
- numpy
- scipy (nearest neighbor query)
- trimesh (radius query)
Optional dependencies:
- cartopy (plots)
- shapely (land mask feature)
Install
To understand the inner workings of a mesh and how its refined, refer to Icosphere Mesh Documentation
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
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 sphedron-0.1.1.tar.gz.
File metadata
- Download URL: sphedron-0.1.1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.12.31-gentoo-x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f705b815ef2e75e290ddba78f4657a871d01520f7f902d2a5376f04717a5cae
|
|
| MD5 |
07e3ab31133a47b97132a2f3659dc425
|
|
| BLAKE2b-256 |
b10414f77eb44d6f6c6505b70fef420c732522f490af8c4d2482b1e357bff3ba
|
File details
Details for the file sphedron-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sphedron-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.12.31-gentoo-x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6f2d5111e969e3fa22a0d149e7a003604006b86b49d10572b35059c83f01a4
|
|
| MD5 |
0762f6ff931b3115c17789d7aaf6dafb
|
|
| BLAKE2b-256 |
19ff70c49c2561ea41aefe3a195f276b4d708a41df8cc73c000b4f259cc4e82e
|