g2e / seizmo Goto Github PK
View Code? Open in Web Editor NEWpassive(ly maintained) seismology toolbox for Matlab & GNU Octave
passive(ly maintained) seismology toolbox for Matlab & GNU Octave
IRIS has moved to web-based access. Need to provide functions that give an interface to that.
Benefits:
quick station, network, component info (location, orientation, instrumentation, response, etc)
data download
Hello,
When I was installing seizmo, there were two function named after built in MATLAB functions that prevented me from installing at first: isstring and vecnorm. The following error comes up during installation and I think it is tied to isstring being called in readsacpz_rdseed but potentially is running the builtin isstring instead.
This is a commonly encountered issue (meld, rotate, rotate_correlations, rotate3, hodogram, etc). Having the code in one place will simplify these rather complex functions and make writing new ones far easier.
This should probably allow for:
Actually, TD interp is better than FD interp for a few reasons:
So the FD option should probably not be included (omegashift is a workaround).
Meld (was merge) works well with evenly sampled recordings but will fail at merging unevenly sampled recordings. This should be as simple as a concatenation of the .dep & .ind fields followed by a unique on .ind to sort by time & drop time duplicates (or warn about them). Integrating it into the rather complex meld internals makes this a more difficult task.
This will also bring support for merging records sampled at different rates through an even to uneven conversion.
During installation MATLAB version 9.3.0 (R2017B)
##################################################################
Checking what application we are installing SEIZMO in...
Application: MATLAB
Version : 9.3
SEIZMO install path: F:\MATLAB\seizmo
Warning: Function isstring has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
In path (line 109)
In addpath (line 94)
In install_seizmo (line 167)
In install_seizmo (line 120)
Warning: Function vecnorm has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
In path (line 109)
In addpath (line 94)
In install_seizmo (line 167)
In install_seizmo (line 120)
Error using fullfile (line 51)
String input not supported.
Error in savepath (line 40)
templatefile = fullfile(matlabroot, 'toolbox', 'local', 'template', 'pathdef.m');
Error in install_seizmo (line 213)
ok=ok & ~savepath;
Error in install_seizmo (line 120)
Warning: "D:\Dropbox\Public\Code\matlab\seizmo\mattaup\lib\MatTauP-2.1.1.jar" is already specified on static java path.
In javaclasspath>local_validate_dynamic_path at 285
In javaclasspath>local_javapath at 182
In javaclasspath at 119
In javaaddpath at 71
In startup at 76
In matlabrc at 189
Warning: "D:\Dropbox\Public\Code\matlab\seizmo\mattaup\lib\TauP-2.1.1.jar" is already specified on static java path.
In javaclasspath>local_validate_dynamic_path at 285
In javaclasspath>local_javapath at 182
In javaclasspath at 119
In javaaddpath at 71
In startup at 76
In matlabrc at 189
Warning: "D:\Dropbox\Public\Code\matlab\seizmo\mattaup\lib\seisFile-1.5.1.jar" is already specified on static java path.
In javaclasspath>local_validate_dynamic_path at 285
In javaclasspath>local_javapath at 182
In javaclasspath at 119
In javaaddpath at 71
In startup at 76
In matlabrc at 189
Warning: Name is nonexistent or not a directory: D:\Dropbox\Public\Code\matlab\seizmo\gshhg
In path at 110
In addpath at 87
In startup at 81
In matlabrc at 189
Warning: Name is nonexistent or not a directory: D:\Dropbox\Public\Code\matlab\seizmo\m_map
In path at 110
In addpath at 87
In startup at 81
In matlabrc at 189
Warning: "D:\Dropbox\Public\Code\matlab\seizmo\njtbx\njTools-2.0.12_jre1.6.jar" is already specified on static java path.
In javaclasspath>local_validate_dynamic_path at 285
In javaclasspath>local_javapath at 182
In javaclasspath at 119
In javaaddpath at 71
In startup at 96
In matlabrc at 189
Warning: "D:\Dropbox\Public\Code\matlab\seizmo\njtbx\toolsUI-4.0.49.jar" is already specified on static java path.
In javaclasspath>local_validate_dynamic_path at 285
In javaclasspath>local_javapath at 182
In javaclasspath at 119
In javaaddpath at 71
In startup at 96
In matlabrc at 189
Examples/demos need small datasets included. Something like singleZEN.mat, arrayZ.mat, arrayNE.mat, & global.mat in a szdemos directory.
Plotting of moment tensors with plotmt() fails with the following error:
For example:
plotmt(1:6,zeros(1,6),elementary_mt(1:6));
Warning: Ignoring the 'v6' argument to CONTOURF. This will become an error in a future release.
In usev6plotapiHGUsingMATLABClasses>warnv6args (line 77)
In usev6plotapiHGUsingMATLABClasses (line 40)
In parseplotapi (line 11)
In contourf (line 48)
In plotmt (line 185)
Error using matlab.graphics.chart.primitive.Contour/get
There is no cdata property on the Contour class.
Error in plotmt (line 197)
cdata=get(h{i,1},'cdata');
rotate_correlations needs to support rotation of arbitrary orientations to RT or NE.
Rotate only allows rotating to some azimuth. It needs a through option to rotate by a certain angle.
Support for rotation in a vertical plane is needed and should not take much effort with current internals.
Dears
I am trying to install seizmo on MATLAB 2015A (8.5.XXXX) 32bit, but many errors comes and I don't know what to do, the following comes upon running install_seizmo.m :
install_seizmo
Renaming SEIZMO's top level directory to "seizmo"
Warning: Unknown error occurred.
In install_seizmo (line 112)
Warning: SEIZMO's top directory must be named "seizmo" for
commands like "help seizmo" and "ver seizmo" to work!
In install_seizmo (line 113)
##################################################################
################## STARTING SEIZMO INSTALLATION ##################
##################################################################
Checking what application we are installing SEIZMO in...
Application: MATLAB
Version : 8.5
SEIZMO install path: C:\Program Files\MATLAB\MATLAB Production Server\seizmo-master
Install TauP (<1MB)? Y/N [Y]: y
Getting TauP-2.1.1.jar
Warning: Control Character '\P' is not valid. See 'doc sprintf' for control characters valid in the format
string.
In webinstall_taup (line 150)
In install_seizmo (line 222)
In install_seizmo (line 120)
Warning: Error using webinstall_taup (line 150)
In install_seizmo (line 222)
In install_seizmo (line 120)
Install IRISWS (<1MB)? Y/N [Y]: y
Getting IRIS-WS-2.0.6.jar
Warning: Control Character '\P' is not valid. See 'doc sprintf' for control characters valid in the format
string.
In webinstall_irisws (line 137)
In install_seizmo (line 226)
In install_seizmo (line 120)
Warning: Error using webinstall_irisws (line 137)
In install_seizmo (line 226)
In install_seizmo (line 120)
Install njTBX (30MB)? Y/N [Y]: y
Error using mkdir
Access is denied.
Error in webinstall_njtbx (line 60)
if(~exist(mypath,'dir')); mkdir(mypath); end
Error in install_seizmo (line 230)
ok=ok & webinstall_njtbx;
Error in install_seizmo (line 120)
ok=install_seizmo(false);
Please assist me for solving this issue
Originally posted by @waddah100 in #16 (comment)
Can we shrink it? It will get worse when the metadata from rdseed 5.X is parsed (requires sacpz read/write updates). We should support web-based access too! We update the db to include any updates found on the web for a specific dataset's metadata. Something like websacpzdb then a unique merge with sacpzdb.
2 cmp support for horizontals is good right now but the following are needed:
2 cmp support for vert + 1 horz
3 cmp support for vert + 2 horz
4+ cmp support for operations like rotate_correlations
Add a simple README so people have a starting point.
Miniseed is widely used and supported. Unfortunately the format is quite complicated and required a large effort to understand and then write the m-code. Previous support required compilation of c-codes. Now François Beauducel has written mfiles available here:
http://www.mathworks.com/matlabcentral/fileexchange/28803-read-and-write-miniseed-file
for both read & write!
These need to be included with current codebase to have miniseed support. Will require a mseed detection function and mseed<->seizmo functions.
Hi, Garrett, the data in the table for P bathymetric excitations in bathy_micro_excite
look like Fig. 3c of Gualtieri et al. 2014 but the values are much higher, a peak of ~3.2 vs a peak of 1.9. Could you have a check?
Beside, what's the meaning of 'S-All' and what's the difference with 'S'?
Include a startup.m file for convenience.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.