Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0bc078f
Remove merge_ts
claudio525 Oct 1, 2025
b2ac444
Remove merge_ts
claudio525 Oct 1, 2025
eb60f74
Initial version of virtual sites grid code.
claudio525 Oct 2, 2025
1d228f4
Improvements
claudio525 Oct 20, 2025
c496e3a
Renaming.
claudio525 Oct 20, 2025
f3e0e95
Documentation update
claudio525 Oct 20, 2025
e3e4a40
Fixed site name generation, bug fixes, plotting improvments, added su…
claudio525 Oct 22, 2025
f37632e
Switched to config based approach.
claudio525 Oct 22, 2025
87b1417
Saving
claudio525 Oct 23, 2025
24a4456
Testing, bug fixes, minor improvements
claudio525 Oct 28, 2025
95c2c02
LLM PR comments
claudio525 Oct 28, 2025
1d1279e
Bug fix, more tests
claudio525 Nov 3, 2025
26bb7eb
Merge branch 'pegasus' into virt_sites_grid
claudio525 Nov 3, 2025
fb336fc
Address PR checks
claudio525 Nov 4, 2025
9d6e346
PR test fixes.
claudio525 Nov 4, 2025
bad818b
PR issues
claudio525 Nov 9, 2025
9bcebb2
Bug fix, fix tests
claudio525 Nov 9, 2025
72457bb
PR test fix.
claudio525 Nov 9, 2025
086d311
PR test fixes. Add type checking.
claudio525 Nov 9, 2025
2fc0922
Merge branch 'type_checking' into virt_sites_grid
claudio525 Nov 9, 2025
2cd7bef
More test, typing
claudio525 Nov 11, 2025
5731846
typing fixes
claudio525 Nov 12, 2025
585e979
Merge branch 'pegasus' into virt_sites_grid
claudio525 Nov 12, 2025
3e9af6d
PR check fixes
claudio525 Nov 12, 2025
fa462a3
Merge branch 'pegasus' into virt_sites_grid
lispandfound Mar 10, 2026
61ed4a6
feat: add cli entrypoint for site_gen_cmds.py
lispandfound Mar 10, 2026
5cb58f3
fix: defer plotly import so it is not required for workflow
lispandfound Mar 10, 2026
da624cd
add gmt to dependencies temporarily
lispandfound Mar 10, 2026
deaf2f1
fix(site-gen): defer GMT import
lispandfound Mar 10, 2026
4fccdbb
deps: pygmt now optional again
lispandfound Mar 10, 2026
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
5 changes: 5 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
**/pyproject.toml
- run: uv venv
- run: uv pip install -e ".[test,dev]"
# - name: Download velocity data
# shell: bash -l -e {0}
# run: uv run nzcvm-data-helper ensure --no-full
- name: Download velocity data
run: uv run nzcvm-data-helper ensure --no-full
- name: Run tests
run: uv run pytest --cov=workflow --cov-report=html tests
- name: Upload coverage data
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
run: uv sync --all-extras --dev

- name: Run type checking with ty
run: uv run ty check --exclude workflow/schemas.py --exclude setup.py
run: uv run ty check --exclude workflow/schemas.py --exclude setup.py
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies = [
"oq_wrapper>=2025.12.3",
"qcore-utils>=2025.12.2",
"source_modelling>=2025.12.1",

# Data Formats
"geopandas",
"pandas[parquet, hdf5]",
Expand Down Expand Up @@ -45,6 +46,12 @@ test = [
]
types = ["pandas-stubs", "types-geopandas", "types-requests", "scipy-stubs"]
dev = ["ruff", "deptry", "ty", "numpydoc"]
plot = [
"plotly",
]
grid = [
"pygmt"
]

[tool.deptry]
pep621_dev_dependency_groups = ["test", "dev", "types"]
Expand All @@ -61,7 +68,6 @@ generate-rupture-propagation = "workflow.scripts.generate_rupture_propagation:ap
copy-domain-parameters = "workflow.scripts.copy_velocity_model_parameters:app"
create-e3d-par = "workflow.scripts.create_e3d_par:app"
generate-stoch = "workflow.scripts.generate_stoch:app"
merge-ts = "workflow.scripts.merge_ts:app"
hf-sim = "workflow.scripts.hf_sim:app"
bb-sim = "workflow.scripts.bb_sim:app"
im-calc = "workflow.scripts.im_calc:app"
Expand All @@ -70,6 +76,9 @@ check-domain = "workflow.scripts.check_domain:app"
gcmt-auto-simulate = "workflow.scripts.gcmt_auto_simulate:app"
import-realisation = "workflow.scripts.import_realisation:app"
lf-to-xarray = "workflow.scripts.lf_to_xarray:app"
merge-ts = "workflow.scripts.merge_ts:app"
site-grid = "workflow.scripts.site_gen_cmds:app"


[tool.setuptools.package-dir]
workflow = "workflow"
Expand Down
Loading
Loading