Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@joeloskarsson joeloskarsson released this 20 Nov 13:05
· 1 commit to main since this release
a6d43e3

Highlights

This release focuses on adding flexibility for graph creation. It introduces a number of new options for connecting different graph components and arguments that give users more fine-grained control about how to build mesh graphs.

Detailed Changes

Added

  • 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 using within_radius method.
    #19
    @joeloskarsson

  • save.to_pyg can now handle any number of 1D or 2D edge or node features when
    converting pytorch-geometric Data objects to torch.Tensor objects.
    #31
    @maxiimilian

  • Add containing_rectangle graph connection method for m2g edges
    #28
    @joeloskarsson

Changed

  • Create different number of mesh nodes in x- and y-direction.
    #21
    @joeloskarsson

  • Changed the refinement_factor argument into two: a grid_refinement_factor and a level_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

Fixed

Maintenance

  • Ensure that cell execution doesn't time out when building jupyterbook based
    documentation #25,
    @leifdenby

Upgrade Steps

Install the new version from pypi, e.g. python -m pip install weather-model-graphs==0.2.0

Links