This file has been truncated, but you can view the full file.
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
DateTime,Latitude,Longitude,Depth,Magnitude,MagType,NbStations,Gap,Distance,RMS,Source,EventID | |
1980/01/01 01:24:37.20,12.3530,95.1920,20.00,5.10,Mb,97,,,0.00,NEI,198001014001 | |
1980/01/01 02:45:54.00,27.2610,60.2590,33.00,5.30,Mb,123,,,0.00,NEI,198001014003 | |
1980/01/01 04:56:03.40,38.6020,69.5200,33.00,4.20,Mb,7,,,0.00,NEI,198001014005 | |
1980/01/01 07:53:30.62,60.1800,-152.2200,92.00,4.10,ML,0,,,,AK, | |
1980/01/01 11:18:20.20,-15.9580,26.0850,33.00,4.10,Mb,6,,,0.00,NEI,198001014009 | |
1980/01/01 12:46:18.80,-17.8390,168.0850,61.00,4.80,Mb,6,,,0.00,NEI,198001014010 | |
1980/01/01 13:48:04.20,13.8040,-90.7330,59.00,4.60,Mb,23,,,0.00,NEI,198001014011 | |
1980/01/01 14:46:19.20,6.8390,-73.0660,163.00,4.70,Mb,14,,,0.00,NEI,198001014012 | |
1980/01/01 15:55:59.60,-15.6210,26.3150,33.00,4.20,Mb,6,,,0.00,NEI,198001014013 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function[seismo,size] = ReadBinSeismo(fname) | |
fid = fopen(fname,'rb'); | |
size = fread(fid,2,'int'); | |
size(2) | |
seismo = fread(fid,size(2),'double') | |
fclose(fid) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <SD.h> | |
#include <Wire.h> | |
#include "RTClib.h" | |
// Data logger for temperature and pressure data using the Adafruit | |
// logger shield. | |
// Logging Interval (milliseconds) | |
#define LOG_INTERVAL 60000 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <SPI.h> | |
#include <Adafruit_GPS.h> | |
#include <SoftwareSerial.h> | |
#include <SD.h> | |
#include <avr/sleep.h> | |
// Make software serial port for GPS and GPS instance | |
SoftwareSerial mySerial(8, 7); | |
Adafruit_GPS GPS(&mySerial); |
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
import numpy as np | |
import sys | |
period = input("Period [sec]: ") | |
n_cycles = input("Number of Cycles: ") | |
fs = input("Update Rate [Hz]: ") | |
amp = input("Amplitude [MPa]: ") | |
print "\n\nCalibrations:\nL: 0.146059 V/MPa\nH: 1.4702 V/MPa\n" | |
gain = raw_input("[L]ow or [H]igh Gain: ") |
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
import numpy as np | |
import os | |
import sys | |
from obspy.core import * | |
from datetime import datetime | |
class recordSet(object): | |
def __init__(self, path): | |
self.traces = [] |
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
import os | |
import re | |
cwd = os.getcwd() | |
fnames = os.listdir(cwd) | |
# Find the log files | |
log_pattern = re.compile('^.*log.txt') | |
log_files = filter(log_pattern.search, fnames) |
OlderNewer