Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed committed Apr 25, 2024
2 parents e26e273 + 69ff24a commit f7d2b96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ As well as the raw data fields, derived fields are also supported, for example,
If you use Windows, a pre-compiled executable using pyinstaller is available

- Action Autobuild (latest version) [here](https://nightly.link/edwardsmith999/pyDataView/workflows/main/master/pyDataView.exe.zip)
- Stable download [here](https://e1.pcloud.link/publink/show?code=XZng4FZRzqlM9Xu9m5rjfsHqeWmYYcaWnj7) (Built 23/12/21)
- Stable download [here]([https://e1.pcloud.link/publink/show?code=XZng4FZRzqlM9Xu9m5rjfsHqeWmYYcaWnj7](https://e.pcloud.link/publink/show?code=XZow81ZztSOsTwpmBbrvhihbwBVVYIf5vhy)) (Built 01/12/23)


## Adding new readers
Expand Down
4 changes: 3 additions & 1 deletion postproclib/VTKrawdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def get_gridtopology(self):

#Read any file as grid should be the same
fdata = pv.read(self.filelist[0])
gnbins = (fdata.extent[1], fdata.extent[3], fdata.extent[5])
#gnbins = (fdata.extent[1], fdata.extent[3], fdata.extent[5])
gnbins = (fdata.x.shape[0]-1, fdata.y.shape[0]-1, fdata.z.shape[0]-1)

self.domain = [fdata.x[-1], fdata.y[-1], fdata.z[-1]]

binspaces = [0.5*(fdata.x[:-1] + fdata.x[1:]),
Expand Down

0 comments on commit f7d2b96

Please sign in to comment.