raspstephan / l96-visualization Goto Github PK
View Code? Open in Web Editor NEWVisualizations of the Lorenz 96 model
Visualizations of the Lorenz 96 model
Dear Stephan,
Thanks a lot for making the code publicly available! It has been very helpful to me!
Is it possible that np.roll(X, shift_param)
shifts in the opposite direction of what is intended?
Example:
print(initX[0:5])
> [7.22218496 2.99854488 1.42502222 3.22644313 3.42971768]
print(np.roll(initX[0:5], -1))
> [2.99854488 1.42502222 3.22644313 3.42971768 7.22218496]
I think this thus gives
Should thus the shift parameters be negated and changed to the following?
def _rhs(self, X):
"""Compute the right hand side of the ODE."""
dXdt = (
- np.roll(X, 1) * (np.roll(X, 2) - np.roll(X, -1)) -
X + self.F
)
return dXdt
I am unsure if this actually changes much as the ordering of the k X variables/X states is arbitrary.
Thanks in advance,
Kim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.