Skip to content

Commit

Permalink
fix: update configs to avoid DeprecationWarning (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX authored Jan 22, 2025
1 parent 40dd1a1 commit 3560290
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ edges:
attributes:
nodes:
area_weight:
_target_: anemoi.graphs.nodes.attributes.AreaWeights # options: Area, Uniform
_target_: anemoi.graphs.nodes.attributes.SphericalAreaWeights # options: Area, Uniform
norm: unit-max # options: l1, l2, unit-max, unit-sum, unit-std
edges:
edge_length:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ attributes:
nodes:
# Attributes for data nodes
area_weight:
_target_: anemoi.graphs.nodes.attributes.AreaWeights # options: Area, Uniform
_target_: anemoi.graphs.nodes.attributes.PlanarAreaWeights # options: Area, Uniform
norm: unit-max # options: l1, l2, unit-max, unit-sum, unit-std
cutout_mask:
_target_: anemoi.graphs.nodes.attributes.CutOutMask
Expand Down
2 changes: 1 addition & 1 deletion training/src/anemoi/training/config/graph/multi_scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ edges:
attributes:
nodes:
area_weight:
_target_: anemoi.graphs.nodes.attributes.AreaWeights # options: Area, Uniform
_target_: anemoi.graphs.nodes.attributes.SphericalAreaWeights # options: Area, Uniform
norm: unit-max # options: l1, l2, unit-max, unit-sum, unit-std
edges:
edge_length:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ attributes:
nodes:
# Attributes for data nodes
area_weight:
_target_: anemoi.graphs.nodes.attributes.AreaWeights
_target_: anemoi.graphs.nodes.attributes.SphericalAreaWeights
norm: unit-max
cutout:
_target_: anemoi.graphs.nodes.attributes.CutOutMask
Expand Down

0 comments on commit 3560290

Please sign in to comment.