I spend a lot of time behind a computer-- these are various tricks that I’ve put together to try and keep sane.
Posts in this section¶
Embedding zarr in myst
As part of my time at Englacial, we virtualized the Ice Sheet Model Intercomparison Project model output from the CMIP6; i.e., ISMIP6. You can see the virtual store here on source.coop, and we also built an interactive viewer, which runs client side in the browser.
One of the more common things I find myself wanting to do, is to reference data inline for content that I produce and post. Obviously, jupyter and myst are great for this-- we can build a notebook, call python to plot something, and then render the output as a static page. But what if I’m primarily writing and not coding... it would be great to be able to render data directly in markdown.
Reproducible Builds Using Nix
Ported from the original Sphinx + ablog source onto mystmd. ablog’s
.. post:: block became frontmatter, and .. update:: (which used
free-form English dates) is now this directive with strict ISO-8601 dates.
Before I was a scientist, I worked for UnixOps supporting research computing — mainly building software. The fact that the University of Colorado, Boulder campus needed almost a dozen system admins to build and rebuild software tells you something about how much of a hassle it is; builds are often cryptic, requirements conflict, and things constantly break between versions.