Comments (3)
Changing
FloATPy/floatpy/readers/miranda_reader.py
Lines 99 to 101 in 9628b87
# 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?
from floatpy.
@akshaysubr , this looks about right, though I'd need to check that this doesn't break the parallel version.
from floatpy.
Fixed this issue in the latest pull request. Checked that the fix works with the parallel reader as well. Closing this issue.
from floatpy.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatpy.