This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>diff</title> | |
<meta name="Generator" content="Vim/8.2"> | |
<meta name="plugin-version" content="vim8.1_v2"> | |
<meta name="settings" content="whole_filler,use_css,pre_wrap,no_foldcolumn,prevent_copy=,use_input_for_pc=fallback"> | |
<meta name="colorscheme" content="none"> | |
<style> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>diff</title> | |
<meta name="Generator" content="Vim/8.2"> | |
<meta name="plugin-version" content="vim8.1_v2"> | |
<meta name="settings" content="whole_filler,use_css,pre_wrap,no_foldcolumn,prevent_copy=,use_input_for_pc=fallback"> | |
<meta name="colorscheme" content="none"> | |
<style> |
This file contains 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
# Download a file from http://research.ssl.berkeley.edu/data/psp/data/sci/fields/l2/mag_SC_1min/ | |
import spacepy.pycdf | |
with spacepy.pycdf.CDF('psp_fld_l2_mag_SC_1min_20200801_v01.cdf') as f: | |
alldata = f.copy() | |
print(alldata.keys()) | |
print(alldata.attrs) | |
print(alldata['psp_fld_l2_mag_SC_1min'][:5]) | |
print(alldata['psp_fld_l2_mag_SC_1min'].attrs) | |
alldata.tree() |
This file contains 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
#!/usr/bin/env ruby | |
## disconnect | |
# ./disconnect.rb -u yourusername [-o /your/path] [-p yourhttpproxyserver] \ | |
# [-d gmt_to_start_from] | |
# | |
# This is a command-line utility for the bulk-downloading of run data from | |
# the connect.garmin.com web application, which has lackluster export | |
# capabilities. |