pyearthviz3d 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyearthviz3d-0.1.0/LICENSE +28 -0
- pyearthviz3d-0.1.0/MANIFEST.in +20 -0
- pyearthviz3d-0.1.0/PKG-INFO +44 -0
- pyearthviz3d-0.1.0/README.md +1 -0
- pyearthviz3d-0.1.0/pyearthviz3d/__init__.py +40 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/__init__.py +24 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/animate_polyline_file_on_sphere.py +908 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/animate_rotating_frames.py +616 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/animate_time_series_frames.py +170 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/map_single_frame.py +380 -0
- pyearthviz3d-0.1.0/pyearthviz3d/geovista/utility.py +1250 -0
- pyearthviz3d-0.1.0/pyearthviz3d.egg-info/PKG-INFO +44 -0
- pyearthviz3d-0.1.0/pyearthviz3d.egg-info/SOURCES.txt +16 -0
- pyearthviz3d-0.1.0/pyearthviz3d.egg-info/dependency_links.txt +1 -0
- pyearthviz3d-0.1.0/pyearthviz3d.egg-info/requires.txt +18 -0
- pyearthviz3d-0.1.0/pyearthviz3d.egg-info/top_level.txt +1 -0
- pyearthviz3d-0.1.0/pyproject.toml +91 -0
- pyearthviz3d-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Chang Liao
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Include documentation and metadata files
|
|
2
|
+
include README.md
|
|
3
|
+
include LICENSE
|
|
4
|
+
include pyproject.toml
|
|
5
|
+
include setup.py
|
|
6
|
+
|
|
7
|
+
# Include package data
|
|
8
|
+
recursive-include pyearthviz3d *.py
|
|
9
|
+
|
|
10
|
+
# Exclude unnecessary files
|
|
11
|
+
global-exclude __pycache__
|
|
12
|
+
global-exclude *.py[cod]
|
|
13
|
+
global-exclude *.so
|
|
14
|
+
global-exclude .DS_Store
|
|
15
|
+
global-exclude *.swp
|
|
16
|
+
global-exclude *.swo
|
|
17
|
+
|
|
18
|
+
# Exclude test files
|
|
19
|
+
prune tests
|
|
20
|
+
prune docs/_build
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyearthviz3d
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: 3D globe visualization tools for geospatial data on spherical earth
|
|
5
|
+
Author-email: Chang Liao <changliao.climate@gmail.com>
|
|
6
|
+
Maintainer-email: Chang Liao <changliao.climate@gmail.com>
|
|
7
|
+
License: BSD-3-Clause
|
|
8
|
+
Project-URL: Homepage, https://github.com/changliao1025/pyearthviz3d
|
|
9
|
+
Project-URL: Documentation, https://pyearthviz3d.readthedocs.io
|
|
10
|
+
Project-URL: Repository, https://github.com/changliao1025/pyearthviz3d.git
|
|
11
|
+
Project-URL: Issues, https://github.com/changliao1025/pyearthviz3d/issues
|
|
12
|
+
Keywords: visualization,3D,globe,geospatial,GIS,geovista,pyvista,sphere
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
24
|
+
Requires-Python: >=3.8
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
Requires-Dist: numpy>=1.20.0
|
|
28
|
+
Requires-Dist: geovista>=0.1.0
|
|
29
|
+
Requires-Dist: pyvista>=0.30.0
|
|
30
|
+
Requires-Dist: gdal>=3.0.0
|
|
31
|
+
Requires-Dist: pyearth>=0.2.1
|
|
32
|
+
Provides-Extra: pyearth
|
|
33
|
+
Requires-Dist: pyearth>=0.2.1; extra == "pyearth"
|
|
34
|
+
Provides-Extra: all
|
|
35
|
+
Requires-Dist: pyearth>=0.2.1; extra == "all"
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-cov>=3.0.0; extra == "dev"
|
|
39
|
+
Requires-Dist: black>=22.0.0; extra == "dev"
|
|
40
|
+
Requires-Dist: flake8>=4.0.0; extra == "dev"
|
|
41
|
+
Requires-Dist: mypy>=0.950; extra == "dev"
|
|
42
|
+
Dynamic: license-file
|
|
43
|
+
|
|
44
|
+
# pyearthviz3d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# pyearthviz3d
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pyearthviz3d: 3D Globe Visualization Tools for Geospatial Data
|
|
3
|
+
|
|
4
|
+
pyearthviz3d provides 3D visualization capabilities on spherical earth using GeoVista and PyVista:
|
|
5
|
+
- 3D globe rendering
|
|
6
|
+
- Polyline/polygon visualization on sphere
|
|
7
|
+
- Rotating animations
|
|
8
|
+
- Time series animations on globe
|
|
9
|
+
- Interactive 3D views
|
|
10
|
+
|
|
11
|
+
Example:
|
|
12
|
+
>>> from pyearthviz3d.geovista import map_single_frame
|
|
13
|
+
>>>
|
|
14
|
+
>>> # Visualize vector data on 3D globe
|
|
15
|
+
>>> map_single_frame(
|
|
16
|
+
... 'data.geojson',
|
|
17
|
+
... 'globe.png',
|
|
18
|
+
... title='Global Data'
|
|
19
|
+
... )
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
__version__ = "0.1.0"
|
|
23
|
+
__author__ = "Chang Liao"
|
|
24
|
+
__email__ = "changliao.climate@gmail.com"
|
|
25
|
+
__url__ = "https://github.com/changliao1025/pyearthviz3d"
|
|
26
|
+
|
|
27
|
+
# Import main geovista functions for convenience
|
|
28
|
+
from .geovista import (
|
|
29
|
+
map_single_frame,
|
|
30
|
+
animate_polyline_file_on_sphere,
|
|
31
|
+
animate_rotating_frames,
|
|
32
|
+
animate_time_series_frames,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
__all__ = [
|
|
36
|
+
"map_single_frame",
|
|
37
|
+
"animate_polyline_file_on_sphere",
|
|
38
|
+
"animate_rotating_frames",
|
|
39
|
+
"animate_time_series_frames",
|
|
40
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""
|
|
2
|
+
GeoVista-based 3D globe visualization module for pyearthviz3d.
|
|
3
|
+
|
|
4
|
+
This module provides functions for visualizing geospatial data on a 3D sphere
|
|
5
|
+
using GeoVista and PyVista.
|
|
6
|
+
|
|
7
|
+
Functions:
|
|
8
|
+
map_single_frame: Create a single frame 3D globe visualization
|
|
9
|
+
animate_polyline_file_on_sphere: Animate polylines on rotating sphere
|
|
10
|
+
animate_rotating_frames: Create rotating globe animation
|
|
11
|
+
animate_time_series_frames: Create time series animation on globe
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from .map_single_frame import map_single_frame
|
|
15
|
+
from .animate_polyline_file_on_sphere import animate_polyline_file_on_sphere
|
|
16
|
+
from .animate_rotating_frames import animate_rotating_frames
|
|
17
|
+
from .animate_time_series_frames import animate_time_series_frames
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
"map_single_frame",
|
|
21
|
+
"animate_polyline_file_on_sphere",
|
|
22
|
+
"animate_rotating_frames",
|
|
23
|
+
"animate_time_series_frames",
|
|
24
|
+
]
|