Skip to content

Instantly share code, notes, and snippets.

View JiaweiZhuang's full-sized avatar
😈
working hard

Jiawei Zhuang JiaweiZhuang

😈
working hard
View GitHub Profile
@JiaweiZhuang
JiaweiZhuang / CMIP5-MakeFigs.ipynb
Created June 15, 2018 11:21 — forked from naomi-henderson/CMIP5-MakeFigs.ipynb
CMIP5 multi-model stats notebook from my home linux box
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / CMIP5-MakeFigs-GC.ipynb
Created June 15, 2018 11:21 — forked from naomi-henderson/CMIP5-MakeFigs-GC.ipynb
Same notebook on pangeo.pydata.org
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / cubed_sphere_to_mesh_regrid.py
Created June 19, 2018 19:42
ESMPy cubed-sphere regridding (from src/addon/ESMPy/examples/cubed_sphere_to_mesh_regrid.py in ESMF source code)
# This example demonstrates how to regrid between a cubed sphere Grid and a Mesh.
# The data files can be retrieved from the ESMF data repository by uncommenting the
# following block of code:
#
# import os
# DD = os.path.join(os.getcwd(), "examples/data")
# if not os.path.isdir(DD):
# os.makedirs(DD)
# from ESMF.util.cache_data import cache_data_file
# cache_data_file(os.path.join(DD, "mpas_uniform_10242_dual_counterclockwise.nc"))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / GC_plane_diag.ipynb
Created July 6, 2018 15:30
Planeflight diagnostics from GEOS-Chem plane.log.YYYYMMDD
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / interp_vs_xESMF.ipynb
Created July 12, 2018 00:50
Compare xarray's built-in interpolation with xESMF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / timing_interp_vs_xESMF.ipynb
Created July 12, 2018 06:03
Compare the performance of xarray's built-in interp() with xESMF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JiaweiZhuang
JiaweiZhuang / Conservative_normalization.ipynb
Created August 6, 2018 18:09
Masking + renormalization in xESMF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.