celsoreyes / zmap7 Goto Github PK
View Code? Open in Web Editor NEWZMAP Seismology Software. V 7.x has been updated to MATLAB R2018a.
ZMAP Seismology Software. V 7.x has been updated to MATLAB R2018a.
Zmap won't start.
I use Matlab 2018a
After zmap comand I receive the message:
Loaded previous catalog from: C:\Program Files\MATLAB\R2018a\zmap\working\lastcatalog.mat
ZmapCatalog "" with 92702 events
with properties:
Date : [ 01-Jan-2005 02:22:17 to 31-Dec-2017 21:43:05 ]
Longitude : [ 165.741 to 175.078 ]
Latitude : [ -48.0803 to -40.0445 ]
Depth : [ 0 to 49.9972 ]
Magnitude : [ 0.0739183 to 7.82038 ]
MagnitudeType : 1 categories [ ML ]
Dip : [ to ]
DipDirection : [ to ]
Rake : [ to ]
MomentTensor : empty
with properties:
Date : [ 01-Jan-2005 02:22:17 to 31-Dec-2017 21:43:05 ]
Longitude : [ 165.741 to 175.078 ]
Latitude : [ -48.0803 to -40.0445 ]
Depth : [ 0 to 49.9972 ]
Magnitude : [ 0.0739183 to 7.82038 ]
MagnitudeType : 1 categories [ ML ]
Dip : [ to ]
DipDirection : [ to ]
Rake : [ to ]
MomentTensor : empty
with properties:
Date : [ 01-Jan-2005 02:22:17 to 31-Dec-2017 21:43:05 ]
Longitude : [ 165.741 to 175.078 ]
Latitude : [ -48.0803 to -40.0445 ]
Depth : [ 0 to 49.9972 ]
Magnitude : [ 0.0739183 to 7.82038 ]
MagnitudeType : 1 categories [ ML ]
Dip : [ to ]
DipDirection : [ to ]
Rake : [ to ]
MomentTensor : empty
Error using ZmapCatalog/get.DateSpan (line 203)
Invalid default value for property 'Data' in class 'ZmapGlobal':
Undefined function 'range' for input arguments of type 'datetime'.
Error in ZmapCatalog/disp (line 696)
switch class(obj.(pn))
Error in ZmapData (line 184)
disp(obj.primeCatalog)
Error in zmap (line 65)
ZG = ZmapGlobal.Data;
What I have to do ?
I declustered a wide catalogue of M5+ events from USGS and I noticed that an event that originally is M6.1 occurred on 2013-01-31 at 3:33 UT after decluster with the option "Replace with the equivalent event" in the ZMap Catalogue is 8.1461 that is not possible for physics...
USGS_M5_1980_2020.zip
To Reproduce
Steps to reproduce the behavior:
If you export the declustered catalogue the mistake is still present.
I suppose the mistake is due to a mix of lines that happened also in ZMAP6.0 and in that version, I found that saving the results, closing the Whole Matlab and reopen at each passage can overpass the bug.
Expected behavior
The equivalent magnitude of the cluster I expect can be greater of 0.1 / 0.3 not 2.0
Describe the bug
After loading the catalog, I pressed the toolbar 'Mc, a- and b- value map', but nothing happed.
To Reproduce
Steps to reproduce the behavior:
矩阵维度必须一致。
出错 mcperc_ca3 (line 21)
ls = magnitudes >= loopMags-0.0499; % magnitudes x loopMags logical array
出错 XYfun.bvalgrid/Calculate/do_calculation (line 108)
[~, ~, ~, out(7)] = mcperc_ca3(catalog.Magnitude);
出错 XYfun.bvalgrid>@(catalog)do_calculation(catalog,@calculate_noboot) (line 93)
obj.gridCalculations(@(catalog) do_calculation(catalog, @calculate_noboot));
出错 gridfun/doSinglefun (line 198)
returned_vals = fun(minicat);
出错 gridfun (line 118)
doSinglefun(fcn);
出错 ZmapGridFunction/gridCalculations (line 126)
] = gridfun( calculationFcn, obj.RawCatalog, obj.Grid, obj.EventSelector, obj.NodeMinEventCount ,numel(obj.CalcFields),
'noreshape' );
出错 XYfun.bvalgrid/Calculate (line 93)
obj.gridCalculations(@(catalog) do_calculation(catalog, @calculate_noboot));
出错 ZmapFunction/doIt (line 192)
obj.Calculate();
出错 XYfun.bvalgrid>@(varargin)obj.doIt(varargin{:}) (line 76)
zdlg.Create('Name', 'b-Value Grid Parameters', 'WriteToObj', obj, 'OkFcn', @obj.doIt);
出错 ZmapDialog/okDlg (line 980)
obj.OkFcn(); % call the function provided by the user upon dialog creation
出错 ZmapDialog>@(src,)obj.okDlg() (line 898))obj.okDlg());
'Callback',@(src,
计算 DestroyedObject Callback 时出错。
Expected behavior
A b-value map.
Screenshots
If applicable, add screenshots to help explain your problem.
**Additional contex
Add any other context about the problem here.
Undefined function 'fix' for input arguments of type 'datetime'.
Error in decyear (line 34)
leapy = rem(fix(date(:,1)),4) == 0 & rem(fix(date(:,1)),100) ~= 0 | rem(fix(date(:,1)),400)
== 0 ;
The current iteration of ZMAP assumes that any event window spans from min(longitude) to max(longitude). Therefore, if you are looking at events that span the international date line, they will be treated and plotted at the extreme east and west ends of the map.
Unable to save values to file while using Zmap with MATLAB 2019Rb
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A file to be saved
Unable to start Zmap
I am getting an error as follows
??? Undefined function or method 'eq' for input arguments of type 'cell'.
Error in ==> fullfile at 39
elseif (f(end)==fs) || (part(1)==fs || (bIsPC && (f(end)=='/' || part(1)=='/')) )
Error in ==> set_zmap_paths at 3
path_list = [
Error in ==> zmap at 64
set_zmap_paths;
Originally posted by @Shreyasvi in #13 (comment)
Good morning
When I use fractal dimension estimation key in timeplot tab, I receive this error. How can I fix it? Am I doing something wrongs?
Undefined function 'startfd' for input arguments of type 'double'.
Error in CumTimePlot/add_cumtimeplot_zmenu/cb_computefractal (line 412)
startfd(org);
Error in CumTimePlot>@(,)cb_computefractal(2) (line 354)
uimenu(op6,'Label','Compute the fractal dimension D' , msfield,
@(,)cb_computefractal(2));
Error while evaluating Menu Callback.
Good afternoon,
When I load my cataloge, I have the next error.
Error using table2zmapcatalogtable (line 20)
Unrecognized variable name 'Longitude'.
Can you help me? please.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Reference
If there is a citation or reference associated with this feature, please add it here.
Additional context
Add any other context or screenshots about the feature request here.
Hello.
I am using Zmap7 in Matlab R2019b but the 3D options are not available. I do appreciate your help with it.
Regards...
Hello
I have worked previously on older versions of Zmap. It is a wonderful tool. However, I was not able to upload a catalog to version 7. I have tried to upload it in ASCII format as .dat, .csv and .txt
All types returned error messages:
Could you please advice me.
Thanks
Dear Celso,
My name is Marisella Ortega, I work at the Universidad Austral de Chile and I'm trying to load a seismic catalog that I created in your program ZMAP version 7 in matlab2018a. I created a .dat file with the order that the data require, however, when trying to load the file there is an error that says: Unrecognized variable name 'Longitude'. I have checked the data and they are correct, could you help me and tell me what the problem might be? I attach the file and an image of the error. This is a great research project and your prompt help will be very welcome.
We have a local network catalog witch is contain seven different sub seismic network. we need to use Zmap to find identical events that recorded on both catalogs to unified all in one but I have an issue with compare catalogs part.
when I try to import data with this tool the Matlab responds an error that you can see in the following.
I try to use Zmap 7 in window 10 and Matlab 2018a. after that, I download all the sample mat files in Github but none of the themes does not attacher as well. I don't understand is it the bug problem or my steps are not right?
Dear all,
I am using ZMAP6 due to unavailability of latest Matlab version. I was trying to load .mat or ASCII data files which are in ZMAP format but it is not loading and even it does not showing any error. Please find the image below for your reference.
I hope someone could solve this issue. Your kind help shall be highly appreciated.
Thank you.
Hi, Many thanks for updating such nice tool.
Combining two different catalogs doesn't work with me. Any hint?
Thank you
Mohammad
I want to use GenAS algorithm of Habermann.
I can't find it anywhere in zmap7 windows
Is this function avialable ? May anyone kindly show me where it is.
AFTER I START ZMAP IN MY MATLAB2020, THE MAIN WINDOW APPEARS BUT THIS ERROR MESSAGE IS SEEN ON THE MATLAB WINDOW.
PLEASE TELL ME HOW CAN I SOLVE THIS
Error: File: calc_Omoricross.m Line: 10 Column: 34
Validator function must reference the 'MainShockSelection' property.
Error in ZmapMainWindow/create_all_menus/create_xsec_analysis_menu (line 152)
calc_Omoricross.AddMenuItem(submenu, @()obj.xsec_zap, 'Enable', 'off');
Error in ZmapMainWindow/create_all_menus (line 32)
create_xsec_analysis_menu();
Error in ZmapMainWindow/prepareMainFigure (line 860)
obj.create_all_menus(true); % plot_base_events(...) must have already been
called, in order to load the features from ZG
Error in ZmapMainWindow (line 224)
obj.prepareMainFigure();
Error in zmap (line 207)
ZmapMainWindow(cw, ZmapCatalog);
Dear Sir/ Madam,
I got some error message when changing the unit of the sampling grid.
The Matlab version is R2020b.
Yours faithfully.
Describe the bug
Can not change the unit while define sampling grid.
--------- Error Message ----------------
Not enough input arguments.
Error in grid_chooser/UpdateGridPoints (line 349)
if event.Source == app.dx
Error in grid_chooser/UnitsDropDownValueChanged (line 336)
app.UpdateGridPoints()
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 429)
Error while evaluating DropDown PrivateValueChangedFcn.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Change the unit to degree and get a sample grid.
Good evening.
I can't use the Gardner and Knopoff Declustering; And whenever I use the Resenberg method I get the same amount of events.
Exemple: I get this message:
The Declustering found 194 clusters of earthquakes, a total of 1097 events (out of 8500). The map window now displays the declustered catalog containing 8500 events.
No changes at all on the map.
Thank you
On the main map window, a cross-section is depicted by an line down the center, with a rectangle that encloses all the events within the "width". (Actually, they are all arcs. Thank you ellipsoid.) .
One option would be to resize the cross section by dragging on the rectangle, or by clicking on the rectangle to choose a new width.
Reasenberg declustering is not working properly
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The 2 events in screenshot should be in a cluster but they are not detected
Right now, the 'a' and 'b' keys are used to switch between selections. Both selections would be shown in the analysis panes (FMD, histograms, etc) after the user clicks in the map.
Ideally, there would be a better interface for selection, and some sort of ability to choose polygonal areas for further analysis.
General behavior summary
Currently, when you perform a calculation form the ƒ(x,y) menu, a new tab pops up with the results, and the panes are cleared out. So far, all as expected.
When you click in the results map, your click is registered at the nearest grid point. A circle is drawn at the radius used for the calculation, and the appropriate events are also highlighted. Press '?' to find out what other options are available.
Hello all,
I'm running ZMAP 7.1 on MATLAB R2019b (Mac OS 10.14) and it was working fine, when suddenly, after I'm loading the same catalog I've been working on daily, I get this error:
post load
Unable to perform assignment with 0 elements on the right-hand side.
Error in FancyColors.rgb (line 1798)
d=FancyColors.colors{FancyColors.name2idx(val),2};
Error in ZmapGrid/plot (line 428)
def_opts={'color', FancyColors.rgb(obj.PlotOpts.Color),...
Error in ZmapMainWindow/plotmainmap (line 87)
obj.Grid.plot(obj.map_axes, 'HitTest', 'off', 'ActiveOnly');
Error in ZmapMainWindow/replot_all (line 83)
obj.plotmainmap();
Error in ZmapMainWindow/prepareMainFigure (line 853)
obj.replot_all();
Error in ZmapMainWindow (line 224)
obj.prepareMainFigure();
Error in ZmapMainWindow/catalog_menu/cb_importer (line 233)
ZmapMainWindow(f);
Error in ZmapMainWindow/catalog_menu>@(s,v)cb_importer(s,v,@get_fdsn_data_from_web_callback)
(line 33)
MenuSelectedField(), @(s,v)cb_importer(s, v, @get_fdsn_data_from_web_callback));
Error while evaluating DestroyedObject Callback.
I tried rebooting ZMAP, MATLAB, my laptop, changing directories, loading other catalogs from both ASCI format and FSDN fetch service. I always get the same error.
Help please,
Harith.
While making the cross-sectional plot along a profile from the main catalogue, There should be an option to save that resultant sub catalogue in the form of ASCII and .mat format. with additional parameters like depth and the distance along the strike (km). Hope it will include in next update
Hi everybody,
I'm a new user of zmap, and I would want to compare two catalogs to identify identical events, but when I try to do this a MatLab several errors occur: "variable a not found" "error using comp2cat>my_loadcatalog (line 350), files not contain the expected variable name"; "error in comp2cat: (line 17) nie=my_loadcatalogue('First')"; "error in ZmapMainWindow_catalogue_menu>@ etc" (line 73).
I have attached a screenshot of my pc below.
cat_a_b
What can I do?
Thank you very much, I will really appreciate any help.
Hello,
I have a problem with imported catalog. I use Zmap version 7.1 on Matlab 2019a. By using funtction in zmap "Import data" I changed my catalog. The catalog look good, there wasn't any issues. When I try to use new catalog errors come out. The main issues are:
Error using ZmapCatalog.from (line 910)
There is no known method to create a ZmapCatalog from a ZmapData
Error in load_zmapfile>loadCatalog (line 118)
A = ZmapCatalog.from(A);
Error in load_zmapfile (line 64)
catalog=loadCatalog(path1, file1, S);
Error in ZmapImportManager (line 27)
[catalog,ok] = fun();
Error in ZmapMainWindow/catalog_menu/cb_importer (line 227)
ok=ZmapImportManager(fun);
Error in ZmapMainWindow/catalog_menu>@(s,v)cb_importer(s,v,@load_zmapfile) (line 28)
MenuSelectedField(), @(s,v)cb_importer(s, v, @load_zmapfile));
Error while evaluating Menu Callback.
It's first time when I use Zmap so it could happen cause my mistake. I look for some answers but I couldn't find one which can help solve my problem. Can you help me solve this or say what possibly I did wrong?
@CelsoReyes
Sir,
I created a spatial variation of b-value map in ZMap7. There are grey dots repeesentig the epicentres of the events in the catalogue plotted in it. This makes it difficult to see the variation of bvalue at that region. How can i remove thise grey dots?
Hi ! I'd like to know if it's possible to create a big number of random catalogues at once.
For instance: If I want to create 500 random catalogues, is it possible ?
I didn't find this option in the menu.
Thanks in advance.
Hello,
I'm trying to remove aftershocks from a seismic catalog and when I use ZMAP7.1 for matlab 2017b downloaded from this link https://gitlab.seismo.ethz.ch/reyesc/zmap I can read my data without problem, however, I can't use Reasenberg, the error comes out: Undefined function or variable 'ResenbergDeclusterClass'.
Error in ZmapMainWindow/create_all_menus>@(,)ResenbergDeclusterClass(obj.catalog)
Error while evaluating Menu Callback.
When I use ZMAP7 in matlab 2018a from the official page http://www.seismo.ethz.ch/en/research-and-teaching/products-software/software/ZMAP/ I can load the data that comes by default and it is possible to use Reasenberg to delete the aftershocks, however, I can't load my own data because there is an error where it doesn't read the longitude... I attach again my data and the image of the error in the length (data that the version in matlab 2017b reads).
I hope you can help me, thank you.
Marisella.
Catalogo_RegiondeLosRios_FormatoZMAP_.txt
I am using zmap 7.1
following error message is shown when I tried to compute fractal dimension
Undefined function 'startfd' for input arguments of type 'double'.
Error in CumTimePlot/add_cumtimeplot_zmenu/cb_computefractal (line 412)
startfd(org);
Error in CumTimePlot>@(,)cb_computefractal(5) (line 355)
uimenu(op6,'Label','Compute D for random catalog' , msfield,
@(,)cb_computefractal(5));
Error while evaluating Menu Callback.
Following is the error message displayed on matlab command window.
zmap
This is zmap.m - version 7.1
Unrecognized function or variable 'MenuSelectedField'.
Error in ResultsDisplay.Hdisplay.add_menus (line 735)
MenuSelectedField(),@(,)ZmapGridFunction.cb_shading(sop));
Error in ZmapMainWindow/create_all_menus/create_results_menu (line 184)
ResultsDisplay.Hdisplay.add_menus();
Error in ZmapMainWindow/create_all_menus (line 36)
create_results_menu();
Error in ZmapMainWindow/prepareMainFigure (line 860)
obj.create_all_menus(true); % plot_base_events(...) must have already been called, in order to load the
features from ZG
Error in ZmapMainWindow (line 224)
obj.prepareMainFigure();
Error in zmap (line 214)
ZmapMainWindow(cw, ZmapCatalog);
I haven't found a way to export a declustered catalogue with the same set of variables of the input one. Or, at least, to have included in the output the ID of each event, so that I can rebuild (e.g., by means of a GIS software) the declustered catalogue including all the variables that are lost in the ZMAP output format, which are clearly needed for presenting/redistributing the catalogue. It is too complicated for me to make a selection based on date and time. it would be much easier to have in output. after the declustering, the same formatted catalogue.
Thank you a lot for your effort to rejuvenate ZMAP! It is a really needed and much appreciated tool.
Ciao, Tiziano
Add ability to remove quarry blasts from catalog. Currently, ZMAP only takes the preliminary steps in the analysis.
References:
Wiemer, S. and Baer, M., 2000. Mapping and removing quarry blast events from seismicity catalogs. Bulletin of the Seismological Society of America, 90(2), pp.525-530
Gulia, L., 2010. Detection of quarry and mine blast contamination in European regional catalogues. Natural hazards, 53(2), pp.229-249.
Hello
I get the following message when I try to start zmap [Matlab 2018a, CentoS 7.6]
zmap
Error using jsondecode
Invalid default value for property 'Data' in class 'ZmapGlobal':
JSON syntax error at line 1, column 1 (character 1): expected value but found ' '.Error in defaults.readDefaults (line 5)
s=jsondecode(st);Error in ZmapData (line 179)
ZDefaults.(erase(def_files{i},'_defaults')) = defaults.readDefaults(def_files{i});Error in zmap (line 146)
ZG = ZmapGlobal.Data;
Originally posted by @mmesim in #13 (comment)
Describe the bug
After loading the catalog from the .csv format. ZMAP automatically shut down ( But it is showing the catalogue summary after the completion of catalog loading)
To Reproduce
Steps to reproduce the behavior:
Make a .csv formatted catalogue with headers.Load it using ASCII option from catalog submenu
Expected behavior
After loading the catalog
It is stuck with the "Drawing mainwindow"
Additional context
Add any other context about the problem here.
Dear ZMAP team,
First thank you for providing such utilities to analyze seismic data.
I planned to use ZMAP to retrieve principal stress directions from focal mechanisms through the grid-search inversion implemented in FMSI.
I tried to run the file zmap7-master/external/fmsi_ste_linuxg77.f unsuccessfully.
I am under Ubuntu 18.04 with a x64 bits architecture. I compiled the code as recommended in /external/INFO.txt :
g77 -o fmsi_ste_linuxg77.out fmsi_ste_linuxg77.f
It compiles without any error. But when executing it, it simply runs indefinitely without outputting any prompt.
But I had no problem while using the second FMSI code for formatting data (/external/datasetupDD_linuxg77.f) which compiles and is executed properly.
Could you write me back if I am doing anything the wrong way ?
Thank you so much in advance
Margot
Hi,
Once the catalogue is uploaded, the display by any of the parameters is not working. The events are not coloured by their magnitude/depth or date. The colorbar is added at one side of the main map but the events continue in black. I tried with the example catalogues to discard an error on mine and still happens, this is the screenshot :
Thanks for the help,
Describe the bug
I cannot open the cookbook PDF successfully. The graphics and embedded fonts are not properly functioning with my PDF reader softer, Chrome, or the MS-Edge product.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A beautiful document--filled with great information, examples, and documentation.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The MaxCurvature works well. However, the McEMR method does not work, and the error shows as below.
calc_Mc (line 71) this only works with full catalogs
Actually, the other methods do not work either, except the MaxCurvature.
What should I do? Thanks.
Describe the bug
I run Zmap7.0 on Mac with Matlab 2018b, could not able to compute stress inversion even I put dip direction, dip angle and rake into the input mat file. I tried with ascii file also which is not worked either.
Thanks & Regards
Hello,
I would like to ask for help with stress analysis. In particular, when I try to load the Junk7 sample file, Matlab gives me some error alerts (see below) and no catalog is loaded. The same when I try to import files in ASCI format that I processed with zmap6 with no problem.
Can someone help me?
Thanks
Luciano
Error using table2zmapcatalogtable/make_conformant (line 38)
Duplicate variable name: 'Dip'.
Error in table2zmapcatalogtable (line 16)
make_conformant(fn{i}, Candidates.(fn{i}))
Error in ZmapCatalog.fromTable (line 922)
other = table2zmapcatalogtable(other);
Error in ZmapCatalog.from (line 904)
obj = ZmapCatalog.fromTable(other);
Error in ascii_imp (line 20)
uOutput = ZmapCatalog.from(tb);
Error in import_start (line 92)
mCatalog = feval(cFilter{nFilter,2}, 1, newfile);
Error in zdataimport (line 9)
[catalog] = import_start(fullfile(ZmapGlobal.Data.hodi, 'importfilters'));
Error in ZmapImportManager (line 27)
[catalog,ok] = fun();
Error in ZmapMainWindow/catalog_menu/cb_importer (line 227)
ok=ZmapImportManager(fun);
Error in ZmapMainWindow/catalog_menu>@(s,v)cb_importer(s,v,@zdataimport) (line 31)
MenuSelectedField(), @(s,v)cb_importer(s, v, @zdataimport));
Error while evaluating Menu Callback.
Describe the bug
Hello. i have some question to use zmap7.
i want to use emr method.
but there is no way to how use emr method.
so i set up grid define and sample radius, but emr method doesn't work.
sample radius also didn't work properly.
And like same way above, plus set decluster.
but, emr does not work.
is there any way how can use emr method detail?
or
emr method did not working yet?
Add the ability to edit the fdsnservices.json
file to the ZMAP settings dialog. The json file might then need to be moved to the defaults location, and links may need to be updated.
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.