This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Use https://github.com/jklymak/waypoint_distance instead! | |
""" | |
def get_xy(ds, lat0, lon0): | |
x = (ds.longitude - lon0) * np.cos(np.deg2rad(lat0)) * 60 * 1.852 | |
y = (ds.latitude - lat0) * 60 * 1.852 | |
ds['x'] = x | |
ds.x.attrs['units'] = f'km east of {lon0}' | |
ds['y'] = y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[preamble] | |
id: 2 | |
numerator: 25400000 | |
denominator: 473628672 | |
magnification: 1000 | |
comment: ' TeX output 2020.06.30:2115' | |
[postamble] | |
maxv: 5088.900009pt | |
maxh: 5058.900009pt |
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from matplotlib.cbook import get_sample_data | |
fname = get_sample_data('percent_bachelors_degrees_women_usa.csv', | |
asfileobj=False) | |
gender_degree_data = np.genfromtxt(fname, delimiter=',', names=True) | |
# These are the colors that will be used in the plot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for hdf5 on macOS 10.13.4 | |
Build date: 2018-05-03 14:04:12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for netcdf on macOS 10.13.4 | |
Build date: 2017-07-10 15:49:19 |