Skip to content

Instantly share code, notes, and snippets.

View gmao-cda's full-sized avatar

Cheng Da gmao-cda

View GitHub Profile
@raphaeldussin
raphaeldussin / movie.py
Created March 23, 2023 22:30
rotating globe movie for surface speed
import xarray as xr
import numpy as np
from matplotlib import pyplot as plt
from matplotlib import animation
import matplotlib.image as image
import cartopy.crs as ccrs
from owslib.wms import WebMapService
from matplotlib import cm
import os
from xgcm import Grid