Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
87662ff
feat: add plot-ts utility
lispandfound Apr 10, 2025
b17d0a5
ci: ignore plot_ts for coverage
lispandfound Apr 10, 2025
f0ca4f9
fix: apply copilot suggested fixes
lispandfound Apr 10, 2025
214b9b5
docs: numpydoc
lispandfound Apr 10, 2025
56a6e92
fix: actually use the supplied cmap
lispandfound Apr 10, 2025
0d9222d
fix: remove unnecessary coordinate transform of fault geometry
lispandfound Apr 10, 2025
120be41
chore: removed unused imports
lispandfound Apr 10, 2025
b03ad68
fix: only plot towns that are in the domain
lispandfound Apr 11, 2025
a1f35e2
fix: z-order resolution for faults
lispandfound Apr 11, 2025
8ae4512
fix: function signature for plot_towns
lispandfound Apr 11, 2025
ae6a57e
feat: support zoom levels for animation
lispandfound Apr 11, 2025
2a8ce2f
doc(plot-ts): document zoom extents return value.
lispandfound Apr 11, 2025
4246648
feat: support openstreetmap tiles
lispandfound Apr 11, 2025
70688df
feat: use multiprocessing for plot-ts
lispandfound Apr 11, 2025
650e8b3
fix: frame rendering tqdm
lispandfound Apr 11, 2025
1104509
docs: docs for render_frame
lispandfound Apr 11, 2025
87d6792
fix: more rect padding for labels
lispandfound Apr 11, 2025
25bade5
fix(plot-ts): pad video output if width or height is odd
lispandfound Apr 14, 2025
a2709b6
fix(plot-ts): resolve output path before `os.chdir` to ensure output …
lispandfound Apr 14, 2025
aa01c07
fix: ruff fixes
lispandfound Apr 15, 2025
8c246d8
docs(plot-ts): fix numpydoc errors
lispandfound Apr 15, 2025
f362591
fix(plot-ts): remove unused import
lispandfound Apr 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ plot-slip-rise-rake = "visualisation.sources.plot_slip_rise_rake:app"
plot-srf-distribution = "visualisation.sources.plot_srf_distribution:app"
plot-1d-velocity-model = "visualisation.plot_1d_velocity_model:app"
plot-stoch = "visualisation.sources.plot_stoch:app"
plot-ts = "visualisation.plot_ts:app"

[tool.setuptools.package-dir]
visualisation = "visualisation"
Expand Down Expand Up @@ -75,7 +76,11 @@ known-first-party = [
"__init__.py" = ["D104"]
# Ignore docstring errors in tests folder
"tests/**.py" = ["D"]
# ignore everything in the ccld.py module

[tool.coverage.run]
omit = [
"visualisation/plot_ts.py"
]

[tool.numpydoc_validation]
checks = [
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
diffimg
cartopy
matplotlib
numpy
pygmt
Expand All @@ -14,3 +15,4 @@ pytest
pytest-cov
pytest-xdist
typer
tqdm
Loading