You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Miranda reader with the newer format and a single processor run returns a zero array for all fields including coordinates. For a 128x128x1 2D problem, looks like self.px, seld.py, self.pz == 0, 0, 1 with self.nx, seld.ny, self.nz == 128, 128, 1 and self.ax, seld.ay, self.az == 129, 129, 1. Maybe an issue with handling of ghost point indexing in the reader?
The text was updated successfully, but these errors were encountered:
# Fix the local indices
if self.nx > 1:
self.ax -= 1 #numpy.minimum(self.px-1,1)
if self.ny > 1:
self.ay -= 1 #numpy.minimum(self.py-1,1)
if self.nz > 1:
self.az -= 1 #numpy.minimum(self.pz-1,1)
seems to fix the issue. @flow-phys could you check if this fix is correct?
Miranda reader with the newer format and a single processor run returns a zero array for all fields including coordinates. For a
128x128x1
2D problem, looks likeself.px, seld.py, self.pz == 0, 0, 1
withself.nx, seld.ny, self.nz == 128, 128, 1
andself.ax, seld.ay, self.az == 129, 129, 1
. Maybe an issue with handling of ghost point indexing in the reader?The text was updated successfully, but these errors were encountered: