Skip to content

Commit

Permalink
Use shorter Remapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Mar 5, 2024
1 parent 201e9ce commit fc63e6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion experiments/standalone/Bucket/global_bucket_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ space = axes(coords.surface)
longpts = range(-180.0, 180.0, 21)
latpts = range(-90.0, 90.0, 21)
hcoords = [Geometry.LatLongPoint(lat, long) for long in longpts, lat in latpts]
remapper = Remapping.Remapper(hcoords, nothing, space)
remapper = Remapping.Remapper(space, hcoords)

W = [
Remapping.interpolate(remapper, sol.u[k].bucket.W) for k in 1:length(sol.t)
Expand Down
2 changes: 1 addition & 1 deletion experiments/standalone/Bucket/global_bucket_staticmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ space = axes(coords.surface)
longpts = range(-180.0, 180.0, 21)
latpts = range(-90.0, 90.0, 21)
hcoords = [Geometry.LatLongPoint(lat, long) for long in longpts, lat in latpts]
remapper = Remapping.Remapper(hcoords, nothing, space)
remapper = Remapping.Remapper(space, hcoords)

W = [
Remapping.interpolate(remapper, sol.u[k].bucket.W) for k in 1:length(sol.t)
Expand Down
2 changes: 1 addition & 1 deletion experiments/standalone/Bucket/global_bucket_temporalmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ space = axes(coords.surface)
longpts = range(-180.0, 180.0, 21)
latpts = range(-90.0, 90.0, 21)
hcoords = [Geometry.LatLongPoint(lat, long) for long in longpts, lat in latpts]
remapper = Remapping.Remapper(hcoords, nothing, space)
remapper = Remapping.Remapper(space, hcoords)

W = [
Remapping.interpolate(remapper, sol.u[k].bucket.W) for k in 1:length(sol.t)
Expand Down

0 comments on commit fc63e6c

Please sign in to comment.