-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading plotfiles from boosted frame examples - ds.field_list error message #190
Comments
I think this is a problem I introduced when I added information about the rigid injected species into I am leaving for vacation today, and I'll fix this for real when I get back. In the meantime, you can delete the lines at the end of WarpXHeader that have to do with the rigid injected species, leaving only the species charges and masses, and it should work. |
Hi Andrew,
Oh I see. I will test that fix then.
Thanks!
… On Jun 27, 2019, at 9:53 AM, Andrew Myers ***@***.***> wrote:
I think this is a problem I introduced when I added information about the rigid injected species into WarpXHeader, to fix the restart when those were used.
I am leaving for vacation today, and I'll fix this for real when I get back. In the meantime, you can delete the lines at the end of WarpXHeader that have to do with the rigid injected species, leaving only the species charges and masses, and it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#190?email_source=notifications&email_token=ADS4BSBL54XY4ROOW4NL4TTP4TV67A5CNFSM4H35ZBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXXKQI#issuecomment-506426689>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADS4BSFU5HT5ZBSXMXROH7TP4TV67ANCNFSM4H35ZBRA>.
|
FYI I have made a pull request to yt that fixes this issue: yt-project/yt#2289 |
Thanks!! |
Just in case anyone else wants to model beams with the rigid option, until yt merges Andrew's PR, I decided to do the attached small bash script to remove the additional header lines automatically (to avoid making mistakes). So far it works for my runs. To run it, first change it to ".sh", adapt the directory paths and confirm the WarpXHeader line numbers to be removed. Then use the command "bash rm_rigid_header.sh". The original header files are stored in the new files WarpXHeader-stored, so you can double-check the changes. |
Note that if you are running an input with multiple beams with the rigid option, you will have to remove multiple "sets" of lines in the WarpXHeader files. |
installs |
* build image - test for non-corrupt checkpoints before starting simulation * build image - only delete checkpoints if a restart was successful from an earlier checkpoint * only clean possibly corrupt checkpoints when restarting * Revise handling of corrupted checkpoints. This attempts to be relatively cautious/fail-safe by at most removing one corrupt checkpoint (and two are always kept by default so removing one will leave another), and erroring out if two or more appear to be corrupt. * suggested changes from PM code review * updated version and changelog Co-authored-by: Peter Scherpelz <peter.scherpelz@modernelectron.com>
Hi all,
I am opening this issue, just in case any of you have encountered a similar error message before (and also if I find out what mistake I am making, by writing it here no one will repeat it!).
I am trying to change one function (warpx_copy_attribs - which affects back transformed diagnostics) from Fortran to CPP. When I tested the changes in my fork and branch, with the boosted frame examples of the repo, I wasn't able to read the plotfiles information with yt.
Using a jupyter notebook with commands
ds=yt.load(f)
and then reading theds.domain_...
worked well, but the commandds.field_list
would lead to the following errors:Although the command
ad = ds.all_data()
wouldn't lead to any error message, I was unable to load 'electrons' data, getting a similar error message as the one above.Did any of you ever encounter this error message before?
I tested the same inputs with the dev branch (updated) and I still got the same issue. I didn't have any problem opening the plot files when they resulted from the example input file for modeling the uniform plasma.
I have been (and will keep) trying to figure out my mistake that is causing this. But decided to write it down here in case any of you have any suggestions of how to diagnose it. Right now my plan is to start adding details from the boosted frame in the uniform plasma input until it "breaks".
Thanks,
Diana
The text was updated successfully, but these errors were encountered: