Skip to content

Instantly share code, notes, and snippets.

View benbovy's full-sized avatar

Benoit Bovy benbovy

View GitHub Profile
@benbovy
benbovy / text_width_vs_char_length.ipynb
Created January 13, 2018 00:29
Width of rendered text vs. number of characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / test_html_repr.ipynb
Created January 11, 2018 15:44
Test xarray rich output in notebook and jupyterlab
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / test_vdom.ipynb
Created November 13, 2017 17:52
Test vdom with xarray.Dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / observed_vs_modelled_topography.ipynb
Created September 14, 2017 09:52
observed vs modelled topography
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / Final_Project.ipynb
Created May 11, 2017 18:07
SWC Final Project
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / Uniform_Interpolation.ipynb
Last active April 21, 2017 15:31
Uniform Interpolation on a 2-dimensional parametric curve
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / Benchmark_Results.ipynb
Created February 20, 2017 13:25
Fastscape Preliminary Benchmarks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / DatasetNode.ipynb
Created November 13, 2016 02:01
Dataset node
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / Geoviews_example.ipynb
Created October 26, 2016 12:28
interactive_map_example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbovy
benbovy / iris_read_daily_data.py
Last active October 12, 2016 10:34
Iris: read data from daily data files into a single, merged cube
import datetime
import iris
import cf_units
TIME_UNITS = 'hours since 1970-01-01 00:00:00'
def read_file_as_cube(filename, prefix):