Skip to content

v0.3.0

Choose a tag to compare

@leifdenby leifdenby released this 12 Nov 10:43
· 12 commits to main since this release
deebc7b

The release adds support for flexible coordinate reference systems, i.e. lat/lons or projected coordinates (via coords_crs and graph_crs), enables masking to decode only to a subset of grid nodes, and includes automated tests ensuring README examples stay up to date. Coordinate inputs are now represented as [N_grid_points, 2], allowing for irregular grids. The update also fixes issues with edgeless nodes being dropped and crashes in flat multiscale graphs with three or more levels, while improving CI workflows and JupyterBook deployment reliability.

Added

  • Add a decoding mask option to only include subset of grid nodes in m2g #34 @joeloskarsson

  • Add test to check python codeblocks in README keep working as code changes #38 @leifdenby

  • Add coords_crs and graph_crs arguments to allow for using lat-lons coordinates or other CRSs as input. These are then converted to the specific CRS used when constructing the graph. #32, @joeloskarsson

Changed

  • Change coordinate input to array of shape [N_grid_points, 2] (was previously [2, Ny, Nx]), to allow for non-regularly gridded coordinates #32, @joeloskarsson

Fixed

Maintenance

  • Update github CI actions, including pre-commit action to fix caching issue that lead to tests failing #48, @leifdenby

  • Update github CI actions to fix failing build and deploy of jupyterbook #49, #54, @leifdenby