openmethane / openmethane-prior

Method to calculate a gridded, prior emissions estimate for methane across Australia
Apache License 2.0
4 stars 0 forks source link

notebooks #41

Open crdanielbusch opened 3 months ago

crdanielbusch commented 3 months ago

Description

Work in progress.

Checklist

Please confirm that this pull request has done the following:

Notes

lewisjared commented 3 months ago

@crdanielbusch Take a look at jupytext (I think it is in our copier repo). Jupytext allows us to just check-in a .py file instead of a .ipynb file. The bonus is that the .py file is waaaay easier to see what has changed in the notebook and to deal with merge conflicts as it is plain text instead of a JSON file.

If you open the .py files in jupyter lab they will generate a corresponding .ipynb file and keep it in sync with the .py file so changes in one impact the other and vice versa. We can then gitignore *.ipynb and just track the built notebook.

prayner commented 3 months ago

and, fwiw, I find the .py files easier to wrangle than the .ipynb -- Peter Rayner (he/him) My work days are Monday-Thursday, responses at other times might be slow. The Superpower Institute https://www.superpowerinstitute.com.au/ Level 3 105 Victoria St. Fitzroy 3065 Transparent, actionable and auditable data on Australia's methane emissions https://openmethane.org mobile +61 402 752 379 zoom id 4431343191, join at https://unimelb.zoom.us/j/4431343191?pwd=a1E5Z3JEOTRVQUJsaVdRbVUvR1QyZz09 mail-to: @.*** google scholar: https://scholar.google.com.au/citations?user=H3up71wAAAAJ&hl=en I acknowledge the Traditional Custodians of the land on which I work, the Wurundjeri people of the Kulin nation, and pay my respect to their Elders, past and present I am sending this email when convenient for me, please only respond when convenient for you

lewisjared commented 3 months ago

I could imagine that the text to speech for a JSON file with mixed images, HTML and code would be less than ideal 😬