All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- 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
- 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
- Fix crash when trying to create flat multiscale graphs with >= 3 levels #41, @joeloskarsson
-
added github pull-request template to ease contribution and review process #18, @joeloskarsson
-
Allow for specifying relative distance as
rel_max_dist
when connecting nodes usingwithin_radius
method. #19 @joeloskarsson -
save.to_pyg
can now handle any number of 1D or 2D edge or node features when converting pytorch-geometricData
objects totorch.Tensor
objects. #31 @maxiimilian -
Add containing_rectangle graph connection method for m2g edges #28 @joeloskarsson
-
Create different number of mesh nodes in x- and y-direction. #21 @joeloskarsson
-
Changed the
refinement_factor
argument into two: agrid_refinement_factor
and alevel_refinement_factor
. #19 @joeloskarsson -
Connect grid nodes only to the bottom level of hierarchical mesh graphs. #19 @joeloskarsson
-
Change default archetypes to match the graph creation from neural-lam. #19 @joeloskarsson
-
Fix
attribute
keyword bug in save function #35 @joeloskarsson -
Fix wrong number of mesh levels when grid is multiple of refinement factor #26 @joeloskarsson
- Ensure that cell execution doesn't time out when building jupyterbook based documentation #25, @leifdenby
First tagged release of weather-model-graphs
which includes functionality to
create three graph archetypes (Keisler nearest-neighbour, GraphCast multi-range
and Oskarsson hierarchical graphs) deliniating the different connectivity
options, background on graph-based data-driven models, 2D plotting utilities,
JupyterBook based documentation. In this version the graph assumes grid
coordinates are Cartesian coordinates.