Conversation
There is a 'theta' variable in grid files, which prevents naming a dimension 'theta'. Also keep the 'psixy' variable in the Dataset - create a new variable referecing it rather than renaming it to make the 'psi_poloidal' coordinate.
|
Test failures seem to be numpy/xarray incompatibility issues. Maybe would be fixed by #303? |
|
I have tried checking out bout and #307, rebuilding, and running the scripts featured in #306 . I still see the error What did I miss? |
|
If you |
Here's my check: Which is odd, given that I have an editable hypnotoad install on your branch. |
|
You need to pull the latest version, with the changes I added yesterday. |
My mistake. Now I have the following: from snippet |
|
Ah, that was just a mistake in the example plot script that I've forgotten to update. The line should have been grid["psi_poloidal"].bout.plot_regions() |
|
Plots are now generating from the example script on my local machine. Thanks for tracking down the issues! |
…t file as a dump file rather than a grid file.
…/xBOUT into fix-gridfile-loading
…. Mike Kryjak indicates that this coordinate use was originally an error.
…s labels. Mike Kryjak indicates that this coordinate use was originally an error." This reverts commit 168244b.
Conflicts: xbout/load.py
Seems it was removed in `master`, then the merge partly put it back. Hopefully it's supposed to be removed...
There is (now) a 'theta' variable in grid files, which prevents naming a dimension 'theta', so need to choose a different dimension name when opening a grid file.
Also keep the 'psixy' variable in the Dataset - create a new variable referencing it rather than renaming it to make the 'psi_poloidal' coordinate.
Along with boutproject/hypnotoad#187, fixes #306.
The
examples/plot_grid.pyscript should work again.