Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMR method does't work #60

Open
nnn991 opened this issue Jul 15, 2021 · 2 comments
Open

EMR method does't work #60

nnn991 opened this issue Jul 15, 2021 · 2 comments

Comments

@nnn991
Copy link

nnn991 commented Jul 15, 2021

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?

@VvanderHeiden
Copy link

Dear @CelsoReyes,

Currently, I am running the ZMAP 7.1 software package on a Linux machine in order to determine the Mc through the EMR method. When loading in my earthquake catalog I can see that my data is read in correctly because of hypocenter, magnitudes, and date times being correct. Moreover, the Mc determined by the MaxCurvature methods seems to work as well.
However, when wanting to run the EMR method through f(x,y) > Mc, a- and b- value map > Choose the calculation: "McEMR" the following error in the MatLab console is thrown:

Error using calc_Mc (line 71)
this only works with full catalogs

Error in XYfun.bvalgrid/Calculate (line 88)
            [~, mcCalculator] = calc_Mc([], obj.mc_choice, obj.fBinning, obj.fMccorr);

Error in ZmapFunction/doIt (line 192)
            obj.Calculate();

Error in XYfun.bvalgrid>@(varargin)obj.doIt(varargin{:}) (line 76)
            zdlg.Create('Name', 'b-Value Grid Parameters', 'WriteToObj', obj, 'OkFcn', @obj.doIt);

Error in ZmapDialog/okDlg (line 980)
            obj.OkFcn(); % call the function provided by the user upon dialog creation

Error in ZmapDialog>@(src,~)obj.okDlg() (line 898)
                        'Callback',@(src,~)obj.okDlg());
 
Error while evaluating DestroyedObject Callback.

Is this an issue related to the reworking of ZMAP 6 to 7.1?
or does this have to do with ZMAP not being fully compatible with Linux systems?

Looking forward to any updates on this bug.

@yeayzs123
Copy link

i have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants