Coder Social home page Coder Social logo

celsoreyes / zmap7 Goto Github PK

View Code? Open in Web Editor NEW
78.0 14.0 41.0 389.17 MB

ZMAP Seismology Software. V 7.x has been updated to MATLAB R2018a.

MATLAB 91.49% M 0.99% HTML 6.71% XSLT 0.01% Shell 0.04% Fortran 0.47% C 0.13% Makefile 0.01% Awk 0.01% POV-Ray SDL 0.12% Objective-C 0.04% CSS 0.01%
seismology matlab-gui statistical-seismology ethz

zmap7's Introduction

Zmap version 7.X Readme

About

ZMAP version7.X represents a major rework of ZMAP.

Requirements

ZMAP requires:

  • MATLAB R2018a (Version 9.4) or higher
  • Mapping Toolbox
  • Statistics and Machine Learning Toolbox

To leverage the parallel computing abilities:

  • Parallel Computing Toolbox

Some functions also require:

  • Optimization toolbox.

About ZMAP7

Nearly every aspect of the program has been modified, with the following goals in mind:

  • Make ZMAP compatible with modern MATLAB installations
  • Make it easer to add additional functionality
  • Make the user interfaces more consistent and interactive.
  • Make code more robust (leveraging MATLAB functions and objects)
  • Make existing code more readable and maintainable (reducing code duplication)
  • Retrieve event data from online services (FDSN web services)

Be aware, the changes in ZMAP are extensive, and not all previously existing features may still exist. Also, you may not be able to load existing save files. ZMAP7 should work from Matlab 2018a upwards.

Since this is an alpha version, expect that there are many areas that are still under construction. Menu items will likely move around, and figures will change. However, the basic functionality is there and should be able to help you start to explore your seismology data. We look forward to your feedback and idea for what we should include.

If (when) you run into bugs, feel free to report through creating a GitHub issue. (“Report a ZMAP issue” , under the “Help” menu on the ZMAP windows. Please, do not send reports through email, as the issue list will be accessible by both whomever continues to maintain this program and the community. The issues can be properly documented, prioritized, and addressed.

To get started with git, and ZMAP7, I created a few movies: https://www.youtube.com/playlist?list=PLXUrwVIXIt9wQ5gkCP5B96k8EHzAX6bJX [Note: these may already be severely out-of-date]

Getting Started

Quick Start

  1. Download or clone ZMAP 7 to your computer.
  2. Start MATLAB.
  3. Change directory to the zmap directory
  4. in the MATLAB command line, type "zmap"

some sample data for Switzerland can be found in the file zmap/resources/sample/SED_fdsn_2000_on.mat

Video: https://www.youtube.com/embed/gONcFBy4p8U?end=79

Work flow

Most work will happen in the Main ZMAP screen.

Loading data

From the main ZMAP window, choose the catalog menu, then select get/load catalog where you will be presented with several options including:

  • from (*.mat file) : retreive a catalog saved into a matlab data file. Some sample data can be found in zmap/resources/sample

  • from FDSN service : retrieve a catalog from an FDSN web service

  • from other formatted file : this contains mostly unmaintained functions to import from other sources.

Catalog Overview

Clicking on the see distributions button will show a few histograms that may help you decide where to set your parameters Catalog Overview With Distributions

The Main interfaces

Main Map Screen

Once a catalog is loaded, earthquakes will be plotted in the Main Window. MainMapScreen This is where most of the work will happen. The screen is divided into several sections. When first presented, all events will be hilighted, and the main map will take up the entirety of the left side of the window.

The plots on the right side of the screen will reflect statistics for the entire catalog.

map features

Several features are plotted on the map along with the earthquakes. Which ones are shown can be controlled from the Display menu. From here, you an also choose whether to view the map in 3D or toggle its aspect ratio to more-or-less match the geographic region.

Selecting data of interest

Select a region

Regions can be selected in a few ways. Start by right-clicking in the map. Several options related to regions will be presented including :

  • Select events in BOX : select a rectangular region by clicking on two corners to define a box.
  • Select events in POLYGON: select a region by creating a polygon with the mouse. Anything other than a "normal" click will close the polygon.
  • Select events in CIRCLE : Click and drag from the center of the circle out to some radius of interest.
  • Delete polygon : deletes the shape. all events are once again active.

When any of the above choices have been made, only the events within the region (or shape) will be colored. All other events become grey dots. The plots to the right will also change to reflect your selection.

While defining a circle, you'll see the radius. This circle is an oval because the map is distorted at this latitude. Define a Circle - in progress

Once a shape is defined, then all other events fade into the background. Define a Circle - done

Working with a region

Regions can be modified : scaled, dragged, points added, etc. by interacting with the shape itself.
See the menu item about editing polygons from the Sampling menu for a list of ways to interact with a polygon.

Cross Sections

Selecting cross sections

One or more cross sections can be created. Cross sections are defined along great-circle arcs, and therefore may not appear as straight lines on the map. To create a cross section, choose Define X-section from the map's context menu (that is, right click on the map). A dialog box will appear to allow the user to choose a width, specify cross-section labels, or override the color. Simple Labels are automatically generated. Map with Cross Sections

The primary map will then shrink to accomodate a cross-section plot that will appear beneath the map. In the above image, two cross sections were already made, and the third C-C' is in progress.

Notice, information about these cross sections appear on the plots to the right, with colors that match the cross section.

Interacting with cross sections

Both the tabs and the cross-section plots are fully interactive. Clicking on the tab for a cross-section provides the opportunity to see information about the cross section, or to change its width and color. The option Examine this area will change the shape to encompass the cross section. Deleting the cross section from this menu will also remove it from the map.

Right-Clicking on the axes labels will allow the axes to be changed to any of the available data fields associated with a catalog. Additionally, Right-clicking on the data will allow you to change the coloring and size schemes.

Histogram Plots

The binning for these plots can be changed through the axes' context menu.

  • FMD : frequency magnitude distribution plot. Information contained in here can be further analyzed via the context menu.

Cummulative plots

  • Cumplot : show cumulative event count through time
  • Moment : show cumulative moment through time
  • Time-Mag : plot of magnitudes through time. (does not reflect cross-sections)
  • Time-Depth : plot of depths through time (does not reflect cross-sections)

These plots can all be opened in another window, available for further analysis. To do so, right click on the data line of interest. Additionally, the axes scaling for many plots can be toggled between linear and logarithmic.

Other help pages

Adding Functionality

How Do I...?

zmap7's People

Contributors

celsoreyes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zmap7's Issues

unable to plot Mc map

After running "Mc, a-, b-value map" option I am unable to select Mc map in gridresults map window. How can I plot Mc map?
Screen Shot 2019-08-09 at 1 48 56 PM

Random catalogue menu

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.

Unable to save values to file while using Zmap with MATLAB 2019Rb

Unable to save values to file while using Zmap with MATLAB 2019Rb
To Reproduce
Steps to reproduce the behavior:

  1. Open MATLAB 2019 Rb
  2. Change the MATLAB® current folder to the zmap folder
  3. At the command prompt, type zmap, and then press enter
  4. Load a catalog [from the catalog menu]
  5. After the catalog is memorized, try saving values to a file by right clicking on the FMD diagram
  6. error appears

Expected behavior
A file to be saved

Screenshots
Screenshot (9)

Error in declustering

Reasenberg declustering is not working properly

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Get/load catalog/from fdsn website/IRISDMC'
  2. Click on 'select end date up to 1980 lat(0-40) long(60-100) and fetch'
  3. Scroll down to 'catalog/Decluster (reasenberg) with default input
  4. See error

Expected behavior
The 2 events in screenshot should be in a cluster but they are not detected

Screenshots
1

Figure out better ways to mark results for comparison

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.

Problem in Zmap main window

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);

Calculated methods of Mc do not work.

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.

I can't decluster a seismic catalog

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.
Error_zmap
Catalogo_RegiondeLosRios_FormatoZMAP_.txt

add FDSN services to the ZMAP settings

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.

fractal dimension

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.

Error after loading catalog

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.

JSON syntax error starting ZMAP

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)

error setting paths in zmap

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)

Error after import catalog

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?

image

ZMAP Fields and buttons not showing up, making it appear that no file was loaded

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.

Zmap

3D options in Zmap7

Hello.

I am using Zmap7 in Matlab R2019b but the 3D options are not available. I do appreciate your help with it.

Regards...

Stress inverse option

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

Wrong magnitude after Decluster a catalogue

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:

  1. Go to 'Catalogue', select 'get/load catalogue' --> from .mat file and select the attached USGS catalogue
  2. Go to 'Catalogue' select 'Decluster (Reasenberg)'
  3. Input the following parameters: 10, 20, 0.95, 0.5, 5.0, 10, 8, 7
  4. Click on "Replace clusters with equivalent event"
  5. Click "ok" in the result window
  6. Move to Matlab parent window and open manually the "declustered catalogue"
  7. Open the "Date" field and scroll to found the "2013-01-31 03:33:43" that would be the 42150 row
  8. Open the "Magnitude" field and scroll at the same row (42150th) and check the magnitude
  9. See error that original event of magnitude 6.1 has been replaced by 8.1 that is impossible that the equivalent magnitude of the cluster is 2.0 magnitude higher

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

Issue with uploading catalog

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:

image

  1. I have tried to save the catalog in a .mat and upload through Zmap, but got the following error message:

image

Could you please advice me.

Thanks

How do I use genAS function in zmap7

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.

I couldn't find an option to save the data of a plot into a .dat /text file. Am i missing something? or that feature is not enabled yet?

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.

To save the cross sectional sub catalog

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

Issue with catalog loading

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"

Screenshots
error

Additional context
Add any other context about the problem here.

Getting error when defining sampling grid

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:

  1. Go to 'Sampling'
  2. Click on 'Define Grid '
  3. Go to 'Units '
  4. Scroll down and click on 'degree ' or 'any other units'
  5. See error

Expected behavior
Change the unit to degree and get a sample grid.

Screenshots
EMRerror

EMR method does't work

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?

format of output catalogue

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

starting zmap

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


Name : ''
Filter : logical, 92702 are true cell>
IsSortedBy : 'Date'
SortDirection : 'ascend'
DecimalYear : [ 2005 to 2018 ]
DayOfYear : [ 1 to 366 ]
Count : 92702
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


Name : ''
Filter : logical, 92702 are true cell>
IsSortedBy : 'Date'
SortDirection : 'ascend'
DecimalYear : [ 2005 to 2018 ]
DayOfYear : [ 1 to 366 ]
Count : 92702
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


Name : ''
Filter : logical, 92702 are true cell>
IsSortedBy : 'Date'
SortDirection : 'ascend'
DecimalYear : [ 2005 to 2018 ]
DayOfYear : [ 1 to 366 ]
Count : 92702

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 ?

Change width of cross-section by clicking on enclosing rectangle

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.

unable to plot Fractal dimension

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.

Unable to start Zmap in Matlab2019b in windows 11. Unrecognized function or variable 'MenuSelectedField'.

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);

Does declustering work?

Celso:
I am happy to see ZMAP7 available for use. I was wondering if declustering algorithms are supposed to be in working condition? I get error messages when I try to use those.
screen shot 2018-10-16 at 10 41 48 am

issue with FMSI codes from the /external directory

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

The compare catalogs - find identical events under the catalog part do not work.

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?

2

After declustering the map shows the same amount of events

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

Error trying to load an ASCII catalog with strike, dip and rake

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.

Error loading seismic catalog Unrecognized variable name 'Longitude'.

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.
Error_zmap

Catalogo_RegiondeLosRios_FormatoZMAP_.txt

Can't get a b-value map.

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:

  1. Go to 'MAINMAP' window;
  2. Click on 'f(x,y)'
  3. Scroll down to 'Mc, a- and b- value map'
  4. See error

矩阵维度必须一致。

出错 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)
'Callback',@(src,
)obj.okDlg());

计算 DestroyedObject Callback 时出错。

Expected behavior
A b-value map.

Screenshots
If applicable, add screenshots to help explain your problem.
1

**Additional contex

Add any other context about the problem here.

Plot by magnitude/Date/Depth

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 :

Captura de pantalla 2019-11-28 a las 0 27 50

Thanks for the help,

Having trouble viewing the cookbook.

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:

  1. Go to Zmap_help/cookbook.pdf
  2. Click on cookbook.pdf
  3. cookbook.pdf opens but is either blank (with a couple of the readers mentioned above) or has corrupted graphics.
  4. Sorry to bother you about this--the old cookbook was really excellent and I wanted to review the one associated with this release.

Expected behavior
A beautiful document--filled with great information, examples, and documentation.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Additional context
Add any other context about the problem here.

Earhtquake epicenteres are plotted on b-value map

@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?
15952226495066295444176412865380

Unrecognized variable name 'Longitude'

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.

Add ability to remove quarry blasts

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.

variable not found comparing catalogs

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.