Skip to content

Instantly share code, notes, and snippets.

View rvalenzuelar's full-sized avatar

Raul Valenzuela rvalenzuelar

View GitHub Profile
@rvalenzuelar
rvalenzuelar / test_oo.py
Created July 9, 2019 14:53 — forked from astrofrog/test_oo.py
Diagnosing Memory Leaks in Matplotlib
# Object-oriented API
#
# Memory usage (iteration, object count, memory size)
# 100 5637 1562216
# 200 5529 1491528
# 300 5422 1426264
# 400 5758 1587376
# 500 5422 1426288
# 600 5416 1440456
# 700 5610 1515056
@rvalenzuelar
rvalenzuelar / installcdo.sh
Created January 30, 2019 16:07 — forked from mainvoid007/installcdo.sh
install cdo with grib2, hdf5, netcdf4
#!/bin/bash
# Institut für Wetter- und Klimakommunikation GmbH / Qmet
# O. Maywald <maywald@klimagipfel.de>
# This should install CDO with grib2, netcdf and HDF5 support. Note that the binaries are in /opt/cdo-install/bin.
# For further information look:
# http://www.studytrails.com/blog/install-climate-data-operator-cdo-with-netcdf-grib2-and-hdf5-support/
# docker-command