simplEarth icon indicating copy to clipboard operation
simplEarth copied to clipboard

Translate to python

Open florianboergel opened this issue 4 years ago • 5 comments

I am still impressed with the content of this lecture series. I offer to translate everything (climate related) to python. I get that this course is mainly to push Julia, therefore the translation could be perceived as counterproductive.

But I guess my main point is, that language should not be a barrier to this amazing content.

florianboergel avatar Nov 23 '20 19:11 florianboergel

Thanks for your interest! What do you think is the best way of organizing this? Should we make a simplEarth organization and have simplEarth.py and simplEarth.jl?

hdrake avatar Nov 23 '20 20:11 hdrake

E.g. one reason to separate them is that it makes the environment set-up faster, which is especially important for binder.

hdrake avatar Nov 23 '20 20:11 hdrake

I agree that a python port would benefit everyone, but remember that there is no python equivalent of Pluto.jl yet, so you need to find alternatives for the interactivity

fonsp avatar Nov 23 '20 20:11 fonsp

I agree. It's a good idea to separate both versions. I propose that I start by creating simplEarth.py

@fonsp to your point: Have a look at https://florianboergel.github.io/personal_blog/jupyter/2020/11/12/nonlinear-dynamics.html

Interactivity of ipywidgets is limited. However I would be OK with the way it is handled here. Try the binder version.

The simplEarth.py could be hosted similar to this blog version on the MIT class github page?

florianboergel avatar Nov 24 '20 09:11 florianboergel

Quick update: I finished with the two-dimensional advection-diffusion of heat. The last lecture is exciting but I am not so much looking forward to translating it to python ;). The speed difference between python and julia is just mindblowing.

florianboergel avatar Dec 16 '20 18:12 florianboergel