Closed dafeda closed 2 years ago
I think it's
examples/basic_3a.py
that generates one of the figures in the README.md. Or, it seems to me as if it at least generates the data that the figure is based on. Is this correct?
basic_3{a,b}.py
together generate a figure, but not the one you show. I think it's pretty clear which figure is generated when reading the rendered md
on the frontpage
How do I go about recreating the following figure found in the README?
The figure you include here can be obtained by using Lorenz96/sakov08
rather than Lorenz63
in basic_1
.
Anyway, it is better to obtain it via liveplotting than replays (because not all the stats are stored for later use). The error you get is because the covariances are not stored. It should be better handled, but I don't have the capacity for that right now. You can avoid it by using liveplots=["sliding_diagnostics", "spatial1d"])
in your code. Moreover, for the best liveplotting "experience", I recommend running as a script (not in jupyter).
basic_3{a,b}.py
together generate a figure, but not the one you show. I think it's pretty clear which figure is generated when reading the renderedmd
on the frontpage
Sorry, my writing was sloppy.
I agree that it is clear which figure gets generated (the one attached to this reply), but I was not aware that I had to run both basic_3a
and basic_3b
to generate it.
The figure you include here can be obtained by using Lorenz96/sakov08 rather than Lorenz63 in basic_1. Anyway, it is better to obtain it via liveplotting than replays (because not all the stats are stored for later use). The error you get is because the covariances are not stored. It should be better handled, but I don't have the capacity for that right now. You can avoid it by using liveplots=["sliding_diagnostics", "spatial1d"]) in your code. Moreover, for the best liveplotting "experience", I recommend running as a script (not in jupyter).
Thank you, that is helpful.
I think it's
examples/basic_3a.py
that generates one of the figures in the README.md. Or, it seems to me as if it at least generates the data that the figure is based on. Is this correct?I have a somewhat related question.
How do I go about recreating the following figure found in the README?
I have tried running a simple 1D advection example using the attached code, but not sure how to proceed. The
xp.stats.replay()
produces some plots, but eventually crashed. (I've attached the error message to the end of this post) I'm probably misunderstanding badly and any tips are appreciated.