v5.15.0 release notes

Clawpack 5.15.0 was released on ???, 2026. See Installing Clawpack.

Permanent DOI: https://doi.org/10.5281/zenodo.???

Changes relative to Clawpack 5.14.0 (January 26, 2026) are shown below.

To see more recent changes that are in the the master branch but not yet released, see Changes to master since v5.15.0.

Changes that are not backward compatible

  • GeoClaw topo and dtopo. Significant changes to geoclaw.topotools and geoclaw.dtopotools may cause some older Python code to no longer work. See Changes to topo and dtopo handling (planned for v5.15.0) for a summary of some of these changes and links to other related documentation. (Most of the changes were designed to be backward compatible, whenever possible.)

    In particular:

    • New classes geoclaw.topotools.TopoFile and geoclaw.dtopotools.DTopoFile have been introduced to distinguish the files containing data from the objects of class geoclaw.topotools.Topography or geoclaw.dtopotools.DTopography that are read in from a file or created by other means. Check the documentation for changes to functions (and their arguments) and other attributes now available for these four classes.

    • The format of topo.data and dtopo.data files produced from setrun.py has changed, so you should make data before running the new code. (This should automatically happen if you use make .output, for example.) Every line is now value =: key and Fortran checks each key to help avoid problems that might arise from using old .data files. See topo.data and dtopo.data File Formats.

    • crop_bounds is no longer written to topo.data; there is now one crop frame for every topo type.

    • geoclaw.topotools.read_netcdf and the internals of etopotools are deprecated in favor of the new fetch_remote_topo. The old functions remain as shims that issue a DeprecationWarning.

  • GeoClaw meteorological forcing renames. The storm surge code has been generalized to meteorological forcing (see Meteorological (Storm) Forcing and What’s new / migrating):

    • The Fortran modules were renamed: storm_module is now met_forcing_module, model_storm_module is now parametric_met_forcing_module, and data_storm_module is now gridded_met_forcing_module (the source files were renamed to match). Any custom Makefile or Fortran code that refers to the old names must be updated. The GeoClaw Riemann solvers in riemann were renamed in lockstep, so the two must be updated together.

    • The Python package clawpack.geoclaw.surge is now clawpack.geoclaw.met. Importing surge still works but issues a DeprecationWarning. MetData is an alias for SurgeData, and rundata.met_data is an alias for rundata.surge_data. The surge.data file name is unchanged.

  • VisClaw html movies. The old 4.x style html movie has been removed. Setting plotdata.html_movie = True in setplot.py now uses JSAnimation, which was already the default.

  • Riemann solvers stop on unsupported use. rpt2_dummy.f90 (the transverse solver used by kpp_2D, shallow_hlle_2D, euler_hlle_2D and euler_hlle_with_walls_2D) and rpn2_psystem.f90 (for an unknown stress relation) used to continue with unset output. They now print an error and stop.

  • Python version and dependencies. Clawpack now requires Python 3.10 or later and declares its runtime dependencies. Optional dependencies can be installed as extras, e.g. pip install clawpack[netcdf,met]. Available extras include met, netcdf, hdf5, xarray, geotiff, vtk, dtopo, petclaw, interactive and test.

  • Compiler flags. The way default FFLAGS and LFLAGS are set in clawutil was reworked so that required flags are always added and values set in the environment take precedence. If you set these flags yourself, check that your builds still use the flags you expect.

General changes

  • AI Policy: We are developing a Clawpack policy on the use of AI when writing new code or pull requests for Clawpack. This is loosely based on policies adopted by related open source software projects, such as NumPy. We recognize that AI is a valuable tool for rapidly developing and debugging new capabilities (and the core Clawpack developers are increasingly using it ourselves), but we want to insure that a human understands and takes responsibility for any changes proposed, and can explain it in a way that others can understand when reviewing pull requests.

    Anyone who plans to submit pull requests in the future that may incorporate some work assisted by AI should read the AI Policy. Your AI agents should also read AGENTS.md These live in the top github.com/clawpack/clawpack repository, but apply to all submodules such as PyClaw and GeoClaw as well.

  • Testing with pytest. We are still in the process of changing the way unit tests and regressions tests are designed using pytest. Many tests have disappeared from the tests directory in each repository, and instead many of the examples in the examples directory have gained a new Python script named test_XXX.py that runs a simplified (quick) version of the example as a test. This does not affect normal usage of the example.

    If you have pytest installed, then typing pytest at the command line in any directory will run all the tests found in that directory and any subdirectories. The tests use a new ClawpackTestRunner in clawutil, which can also regenerate the regression data. New examples should include a test_XXX.py. See Testing your installation for how to run and write tests, and Clawpack Testing Refactor for the motivation and status of this change.

  • Continuous integration. Tests run on GitHub Actions for every pull request on Linux (now with gcc 15). The macOS tests moved to a nightly run. Dependabot keeps the GitHub Actions versions up to date in each repository, and the top-level clawpack repository checks that an install can import everything it ships.

  • Versioned documentation. The documentation is now built and published for each released version, and each version’s documentation records the Clawpack source it shipped with.

  • Code of Conduct. The URL for reporting Code of Conduct concerns has changed in all repositories.

Changes to classic

  • Tests added to examples, using the new pytest test runner.

  • aux arrays are now passed to rpn3 using aux2(:,...) so that compilers that check array arguments more strictly accept the call when num_aux = 0.

  • Other minor changes.

See classic diffs

Changes to clawutil

  • New ClawpackTestRunner to support pytest in other repositories, including exact file comparisons, gauge id overrides, make variables, and creating regression data directories. See Testing your installation.

  • Reworked handling of default FFLAGS and LFLAGS; see above.

  • Compiler and linker flags for NetCDF support.

  • Some changes in data modules to support GeoClaw topography changes, including passing num_dim to TopographyData and DTopoData.

  • rundata.met_data added as an alias for rundata.surge_data.

  • data_write writes numpy arrays and other sequences element-wise.

  • The multiprocessing run helpers are now installed, and clawmultip_tools imports plotclaw only when needed.

  • Fixed get_remote_file.

  • Other minor changes and bug fixes.

See clawutil diffs

Changes to visclaw

  • Updates to some Matlab plotting tools by @donnaaboise.

  • Removed the old 4.x style html movie; see above.

  • Spatial patch filtering is limited to plots with 2d items.

  • Other minor changes and bug fixes.

See visclaw diffs

Changes to riemann

  • Rename storm_module to met_forcing_module in GeoClaw Riemann solvers; see above.

  • Bug fixes in Euler HLLE solvers. Results computed with these solvers will change. See https://github.com/clawpack/riemann/issues/197 and https://github.com/clawpack/riemann/pull/199

  • Bug fixes in transverse shallow water solvers rpt2_shallow_bathymetry_fwave.f90 and rpt2_sw_aug.f90, and in the tracer fluctuation of rp1_shallow_roe_tracer.f90. Results computed with these solvers will change. This does not affect any Geoclaw solvers. See https://github.com/clawpack/riemann/pull/208

  • New tests (riemann/tests) call the compiled solvers directly and check properties that every correct solver must satisfy (consistency, conservation, waves summing to the jump, rotation invariance, lake at rest, HLLE wave speeds), and are run by a new GitHub Actions workflow. See https://github.com/clawpack/riemann/pull/194 and https://github.com/clawpack/riemann/pull/198

  • Solvers now stop when used in a way they do not support; see above.

  • static.py, the *_constants.py modules and the solver headers now agree, and write_constants.py was fixed. A constants file was added for mapped-grid 3D Euler.

  • Removed the stale riemann/setup.py.

  • Other minor changes and bug fixes.

See riemann diffs

Changes to amrclaw

  • Fixed an incorrect comparison when the domain is periodic in x but not in y. Results for such problems may change.

  • Tests added to examples, using the new pytest test runner.

  • Other minor changes and bug fixes.

See amrclaw diffs

Changes to geoclaw

  • Boussinesq solver without PETSc. The 2D Boussinesq solvers introduced in GeoClaw in Version 5.10.0 required the PETSc package for solving large linear systems of equations in each time step to compute correction terms to the shallow water equations. PETSc is a powerful package but can also be difficult to install, and requires the use of MPI in addition to the OpenMP parallelization used elsewhere in Clawpack.

    In Version 5.15.0, a stand-alone linear solver is included as the default option that can be used instead of PETSc. Tests show that this preconditioned GMRES method performs comparably to PETSc on several test problems. See the release notes or the Boussinesq solvers in Two Space Dimensions documentation for more information.

  • Overview of changes related to handling topo and dtopo Numerous changes have been made to how topo and dtopo files and objects are handled, providing new flexibility. See Changes to topo and dtopo handling (planned for v5.15.0) for more information.

  • New classes for topo or dtopo files. New classes geoclaw.topotools.TopoFile and geoclaw.dtopotools.DTopoFile have been introduced to distinguish the files containing data from the objects of class geoclaw.topotools.Topography or geoclaw.dtopotools.DTopography that are read in from a file or created by other means. Check the documentation for changes to functions (and their arguments) and other attributes now available for these four classes.

  • Specifying topo or dtopo operations in setrun. Rather than having to preprocess DEMs to create topofiles that are cropped, subsampled, or otherwise modified before passing them to the GeoClaw Fortran code, many operations can now be specified in setrun.py. In addition to still supporting adding lists of the form [topo_type, topo_path] to rundata.topo_data in setrun.py, it is now possible to add objects of class geoclaw.topotools.TopoFile that have attributes topo_type and topo_path but also several others: crop_extent, coarsen, buffer, align, x_shift (e.g. to shift longitude by 360 from W to E), z_shift, and negate_z. These control how the data is processed as it is read in to Python, and also how it will be processed as it is read into the Fortran code when these are specified in setrun.py. Objects of class geoclaw.dtopotools.DTopoFile support a subset of these attributes. See the documentation and Topography file settings.

  • NetCDF support. NetCDF versions of topo files or dtopo files can now be read directly in Fortran (if you have netCDF properly installed), by specifying topo_type==4 or dtopo_type==4 respectively. Python objects of class geoclaw.topotools.Topography or geoclaw.dtopotools.DTopography can also be written out in this format.

  • CF-aware NetCDF reading. NetCDF topography files (topo_type=4) are now read via TopoInspector, which auto-detects coordinate variable names using Climate and Forecast (CF) Conventions (standard_name, axis, and common fallback names). Files with non-standard coordinate names and non-standard dimension orders are handled automatically. read_header() also uses CF detection for type-4 files, enabling a lazy-load pattern where coordinates are available without loading the elevation array. See Python tools for working with topo and dtopo for an example. Units are also supported.

  • Python-owned priority ordering. Topography files in topo.data are now sorted entirely in Python by _compute_priority_order() before writing. Files are written coarsest-first (finest last), matching the traditional GeoClaw listing order; the last file listed in topo.data is assigned rank 1 (highest priority) by Fortran, with no Fortran-side sorting. rundata.topo_data.override_order = True preserves user-specified list order; when used, the finest (highest-resolution) file should be listed last. See Topography file ordering.

  • New topo.data format. Each per-file block in topo.data now contains several lines recording all preprocessing attributes. If a topofile is used more than once (e.g. with different crop_extent or coarsen parameters), then the file appears more than once in topo.data. See topo.data and dtopo.data File Formats for the complete format specification.

  • dtopo NetCDF (dtopo_type=4). DTopography reads and writes CF-compliant NetCDF dtopo files. The optional time_reference attribute selects a CF datetime time axis (units = "seconds since <ref>") that a plain xarray.open_dataset decodes to datetime64; without it a bare units = "seconds" (simulation-relative) axis is written. The reader scales the time axis by its CF units, fixing an earlier bug where a "hours"/"minutes" axis was misread as seconds. See GeoClaw NetCDF Input System and dtopo file formats.

  • NetCDF write dtype control. Topography.write(topo_type=4, z_dtype=...) and DTopography.write(dtopo_type=4, dz_dtype=...) override the on-disk elevation/deformation dtype (default "float32"; pass "float64" for full double precision).

  • Robust NetCDF file opening. A NetCDF backend engine is now selected explicitly, so a valid file opens even when its name uses a non-standard extension (e.g. .dtt3) that xarray’s extension-based engine guessing would not recognize.

  • Fetching remote topography. The new topotools.fetch_remote_topo handles downloading topography files and replaces the internals of read_netcdf and etopotools. NetCDF topography (topo_type=4) is now read lazily, loading only the part of the file that is needed. DTopography.read_header() was added.

  • GeoTIFF topography. The topo_type=5 (GeoTIFF) reader, which had not worked with GDAL releases since 3.2, was fixed. It now supports both the rasterio and osgeo backends and uses pixel-center coordinates. Results computed with GeoTIFF topography may change.

  • Units. A units policy now applies to topo and dtopo input, including ASCII files, with one mechanism to override the units.

  • Meteorological forcing. Storm surge forcing has been reorganized as meteorological forcing with a new Python object model, in which the forcing is selected by a family (parametric or gridded) and a subtype. See Meteorological (Storm) Forcing. Other additions:

    • Better support for OWI format files.

    • Parsing of multi-storm HURDAT2 files and bulk iteration over IBTrACS and ATCF storms.

    • Reconstruction of storm data that is missing from the HURDAT2 and IBTrACS databases.

    • Missing data is now marked consistently with NaN.

    Bug fixes that may change results:

    • The Willoughby wind model.

    • An off-by-one error in the grid coordinates of OWI/ASCII gridded forcing.

    • The storm refinement thresholds are read from surge.data again.

  • Gauges. fetch_noaa_tide_data falls back to hourly data for stations (often before 1996) that have no 6-minute data, and has better error handling.

  • 1D GeoClaw. topo.data and dtopo.data are written in a form the 1D code can read, and some character length issues in the 1D topo_module.f90 were fixed.

  • Other bug fixes.

    • dt was passed uninitialized to b4step2.

    • topo0save interacted incorrectly with topo ordering when dtopo was used.

    • OpenMP builds of the multilayer code did not link correctly.

    • dtopo file names may now be up to 512 characters long.

    • fgmax_tools failed for 1d point styles, and topotools.plot called pcolorcells incorrectly.

  • Development documents. The new dev/ directory in the GeoClaw repository holds design documents and roadmaps, such as the one for topo and dtopo input.

  • Many other minor changes and bug fixes.

See geoclaw diffs

Changes to PyClaw

  • Polynomial reconstruction in SharpClaw. solver.lim_type accepts three new values that select linear (unlimited) polynomial reconstruction, with the even stencil parameter solver.poly_order equal to 4 (the default), 6, 8, or 10:

    • ‘poly’ (4): uses the poly_order cells centered on each cell interface, so both sides of the interface get the same value and the spatial discretization adds no numerical dissipation. Formal order poly_order.

    • ‘poly_dissipative’ (5): the same stencil width, shifted one cell upwind. Formal order poly_order.

    • ‘poly_cell_centered’ (6): uses the poly_order + 1 cells centered on each cell. Formal order poly_order + 1; this is WENO of that order with its linear weights.

    These reconstructions are intended for smooth solutions (the motivating application is electromagnetic waves); they will lead to spurious oscillations for solutions with discontinuities. They are available with Fortran kernels only and are applied to each component of q separately. The number of ghost cells is set automatically. lim_type can be set by name or by integer, and existing WENO settings are unaffected. See https://github.com/clawpack/pyclaw/pull/492

  • SharpClaw setup errors are now Python exceptions. An unsupported lim_type, weno_order, or poly_order, or a lim_type that the chosen kernel language does not implement, now raises ValueError or NotImplementedError when the solver is set up. Previously these cases reached a Fortran stop, which ended the Python process with exit status 0 and no exception.

  • SharpClaw TVD limiters without characteristic decomposition. When solver.char_decomp == 0, solver.limiters must now have length 1 or num_eqn (previously 1 or num_waves), since the limiter is applied to each component of q. This affects only problems for which num_eqn and num_waves differ.

  • Mapped grids require a capacity function. If grid.mapc2p is set to something other than the identity map, State.is_valid (called at the start of Controller.run) now raises ValueError unless the state has an aux array and state.index_capa is a valid index into it. Code that used a mapped grid without a capacity function will now stop with this error. See https://github.com/clawpack/pyclaw/pull/752

  • Bug fixes.

    • ForestClaw I/O no longer changes PyClaw ASCII I/O. See https://github.com/clawpack/pyclaw/pull/780

    • flux2.f90 and flux3.f90 in SharpClaw now set dq to zero before accumulating into it. Results from SharpClawSolver are unchanged, since they relied on the f2py wrapper providing a zeroed array. See https://github.com/clawpack/pyclaw/pull/777

    • petclaw.Domain can now be created from lower and upper bounds and numbers of cells, e.g. Domain([0.,0.],[1.,1.],[100,100]), as pyclaw.Domain can.

    • If the PetClaw HDF5 module cannot be imported, petclaw.Solution now raises the underlying import error rather than an AttributeError.

    • Other minor bug fixes.

  • Changes to examples.

    • examples/stegoton_1d: the moving-wall boundary condition did not fill the outermost ghost cell at the lower boundary. This is fixed, and results with this boundary condition change. See https://github.com/clawpack/pyclaw/pull/757

    • examples/euler_2d/euler_2d.py no longer runs a simulation when it is imported; it now has a setup() function like the other examples.

    • examples/euler_2d/quadrants.py can now be run with PETSc.

    • The regression data for examples/euler_2d/quadrants.py with the HLLE solver was regenerated because of the HLLE bug fix in riemann (see above), and examples/mhd_1d imports its constants from clawpack.riemann.mhd_roe_1D_constants, the new name of that module.

  • Tests. The PyClaw and PetClaw I/O tests and the ForestClaw tests were not being collected by pytest, and some of them could not fail. They have been rewritten and are now run (the PetClaw I/O tests are still skipped in continuous integration, which has no MPI-enabled h5py). Tests now write their output to temporary directories rather than the source tree. Continuous integration now runs on Linux for each pull request, with debug and optimized builds, and on macOS nightly.

  • Added by @mandli:

  • Bug fixes that may change results.

    • dq is now initialized to zero in the SharpClaw flux2 and flux3.

    • Fixed an off-by-one error in the ghost cells filled by moving_wall_bc in the stegoton_1d example.

    • The quadrants reference data was regenerated for the corrected HLLE solver in riemann.

  • A warning is raised if mapc2p is set but the capacity array is not.

  • Fixed the signature of Domain.__init__.

  • Removed the remaining uses of six from PetClaw.

  • More tests now run under pytest, including the ForestClaw and I/O tests.

  • Better command line interface for gauge comparisons.

See pyclaw diffs

Other Clawpack Repositories

The repositories below are not included in the Clawpack tarfile or pip install, but changes to these repositories may also be of interest.