Open leifdenby opened 2 years ago
Please note, that we'te using the MySt format for notebooks in the book in stead of the usual ipynb format (to facilitate reviews / diffs). You can convert your ipynb files to MySt with the help of jupytext using:
Thank you! Yes, I spotted that, but I just find it easier to develop the notebook in jupyter first. Presumably you do the same? Or is there a way to save directly to MySt while you're working on a notebook?
Yes, if you have jupytext installed, you should be able to just use the MySt files just as if they were notebooks. If that doesn't work, this page has some more ideas on how to do that. I usually to this for coarse skething and interative experiments. For the final cleanup, I use a texteditor on the Markdown directly and do the rendering using jupyter-book.
If you really want to have the outputs stored, there's in principle also the option to use paired notebooks, which takes care of synchronization between multiple formats. However, in How to eurec4a, we intentionally don't do this.
Hej! It's Tuesday and I was just wondering if we can push this PR forward 😄
Is jupytext --to myst notebook.ipynb
all that is necessary here?
Hej! It's Tuesday and I was just wondering if we can push this PR forward smile
Hahahaha!
Yes, I need to get all of this done... I'm just about to have a look at this now and I'll let you know :)
In creating plots for the Twin-Otter data paper I have decided to make all the figure-creation scripts into jupyter notebooks. That way they can be shared with the community and everyone can see how to use the Twin-Otter data.
This is still work in progress since I need to create GOES-16 composites for flights that don't have MODIS overpasses.