Skip to content

Instantly share code, notes, and snippets.

View adcroft's full-sized avatar

Alistair Adcroft adcroft

View GitHub Profile
@adcroft
adcroft / demo_tarfile2netcdf.ipynb
Last active August 29, 2015 14:10
Reading a small netcdf variable directly from a tar file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Convert CCS grid to Mosaic.ipynb
Last active September 12, 2016 20:18
Extracts data from a ROMS regional grid file and creates a [slightly approximated] mosaic grid spec file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Visualizing and animating sea-surface height in the double-gyre example.ipynb
Last active February 24, 2017 21:33
Visualizing and animating sea-surface height in the double-gyre example.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Understanding native output data from MOM6.ipynb
Last active January 24, 2025 19:57
Understanding native output data from MOM6.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Cheat sheet for using a Mosaic grid with MOM6 output.ipynb
Last active November 18, 2025 15:55
Cheat sheet for using a Mosaic grid with MOM6 output
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / tracer_mixing.ipynb
Created March 9, 2017 21:43
Isopycnal mixing test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Animate_iceberg_shelf.ipynb
Created March 17, 2017 13:51
Animate icebergs breaking away from an iceshelf
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Interpolating+on+non-uniform+quad-mesh.ipynb
Created April 10, 2017 18:33
Interpolating on a non-uniform quad-mesh
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Analysis of NCAR 1-degree grid.ipynb
Last active July 26, 2017 20:58
Analysis of NCAR 1-degree grid.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcroft
adcroft / Time-space scales in atmosphere and ocean.ipynb
Created January 17, 2018 01:18
Schematics of space and time scales for a range of atmospheric and oceanic processes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.