Skip to content
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

Flight tracks from Twin-Otter aircraft #72

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

leifdenby
Copy link

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.

@d70-t
Copy link
Collaborator

d70-t commented Mar 10, 2022

Awesome 🎉!

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:

jupytext --to myst notebook.ipynb

@leifdenby leifdenby changed the title completed all flight tracks with MODIS overpasses Flight tracks from Twin-Otter aircraft Mar 11, 2022
@leifdenby
Copy link
Author

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?

@d70-t
Copy link
Collaborator

d70-t commented Mar 11, 2022

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.

@observingClouds
Copy link
Collaborator

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?

@leifdenby
Copy link
Author

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants