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
def mass_data_downloader(savepath, start='20141201', stop='20161201', | |
Network='XH', Station='*', Channel='HH*'): | |
''' | |
This function uses the FDSN mass data downloader to automatically download | |
data from the XH network deployed on the RIS from Nov 2014 - Nov 2016. | |
More information on the Obspy mass downloader available at: | |
https://docs.obspy.org/packages/autogen/obspy.clients.fdsn.mass_downloader.html | |
Inputs: | |
savepath: "[string to savepath]" | |
start: "YYYYMMDD" |
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
""" | |
Written by Billy Jenkins, 27 Oct 2020, Scripps Institution of Oceanography | |
wjenkins (at) ucsd.edu | |
Demonstration of interchangeability between sk-learn & CUML libraries. | |
For more information, visit https://docs.rapids.ai/api/cuml/stable/ | |
Unfortunately, CUML only supports 'Linux-like' platforms at this time, so for | |
Apple or Windows machines, you are stuck with the scikit-learn library and your | |
CPU. If you have a Linux machine with a CUDA device available, the CUML |