Skip to content

Commit

Permalink
fixed topo_sim issue of returning lon or lat vectors that ere one pix…
Browse files Browse the repository at this point in the history
…el out
  • Loading branch information
joelfiddes committed Aug 14, 2024
1 parent 5bc9f4a commit 327fe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TopoPyScale/sim_fsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ def topo_map_sim(ds_var, n_decimals=2, dtype='float32', new_res=None):
# resampling=Resampling.nearest
# )

# return coords of resampled grid here (this does not preserve dimensions perfectly (can be 1pix out))
# return coords of resampled grid here (this does not preserve dimensions perfectly (can be 1pix out)) -FIXED!
array = src.read()
min_E, min_N, max_E, max_N = src.bounds
# lons = np.arange(min_E, max_E, src.res[0])
Expand Down

0 comments on commit 327fe4f

Please sign in to comment.