Skip to content

[sww] Read EPSG, starttime, timezone and centroid (_c) datasets#525

Open
stoiver wants to merge 5 commits intolutraconsulting:masterfrom
stoiver:master
Open

[sww] Read EPSG, starttime, timezone and centroid (_c) datasets#525
stoiver wants to merge 5 commits intolutraconsulting:masterfrom
stoiver:master

Conversation

@stoiver
Copy link
Copy Markdown

@stoiver stoiver commented Mar 27, 2026

  • Read global epsg attribute and set mesh CRS via setSourceCrsFromEPSG()
  • Read global starttime (Unix epoch seconds) as reference time on all dataset groups, and timezone as mesh metadata
  • Support centroid-based variables (suffix _c, dimension number_of_volumes): scalar and vector, static and time-dependent, stored as DataOnFaces
  • Generalise readScalarGroup/readVectorGroup to accept nValues and MDAL_DataLocation so vertex and face groups share one code path
  • Fix time units in readVectorGroup to use RelativeTimestamp::seconds, consistent with readScalarGroup
  • Add test file merimbula_basic_mesh.sww (EPSG:32755, has _c variables)
  • Update Merimbula and Catchment test cases accordingly

stoiver and others added 5 commits March 27, 2026 14:48
- Read global `epsg` attribute and set mesh CRS via setSourceCrsFromEPSG()
- Read global `starttime` (Unix epoch seconds) as reference time on all
  dataset groups, and `timezone` as mesh metadata
- Support centroid-based variables (suffix `_c`, dimension number_of_volumes):
  scalar and vector, static and time-dependent, stored as DataOnFaces
- Generalise readScalarGroup/readVectorGroup to accept nValues and
  MDAL_DataLocation so vertex and face groups share one code path
- Fix time units in readVectorGroup to use RelativeTimestamp::seconds,
  consistent with readScalarGroup
- Add test file merimbula_basic_mesh.sww (EPSG:32755, has _c variables)
- Update Merimbula and Catchment test cases accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ubuntu-16.04 was retired by Microsoft and is no longer available as
an Azure Pipelines hosted agent, causing "No image label found" errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nd in custom admonition visitors

Modern Sphinx's depart_admonition() uses self.context.pop() rather than
directly appending '</div>\n'. The custom visit_*_node functions were not
pushing to self.context, causing IndexError: pop from empty list when
building docs with the ubuntu-22.04 CI image (Python 3.12 / newer Sphinx).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Option removed in newer sphinx-rtd-theme; caused WARNING treated as
error under Sphinx -W flag on ubuntu-22.04 CI image.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
substitutefont.sty is not present in TeX Live 2023 (osgeo/proj-docs
container), causing pdflatex to hang waiting for input. The package
is not actively used in the docs so removing it is safe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant