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)
zmap
Error using zmap (line 65)
Invalid default value for property 'Data' in class 'ZmapGlobal':
Invalid default value for property 'ref_ellipsoid' in class 'ZmapData':
Undefined function 'referenceEllipsoid' for input arguments of type 'char'.
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});
Hi @eugenor, I realize this is extremely late, but I finally have time to work on ZMAP related issues again. While revisiting this issue, it occurred to me that you might not have the necessary toolboxes installed. That would explain both types of errors that you've seen, since range is a part of the Statistics and Machine Learning Toolbox, and referenceEllipsoid is part of the Mapping Toolbox.
This would be verified by typing ver, and seeing if both toolboxes are listed.
Warning: could not find the default catalog file
/Users/lydiabrown/Desktop/zmap7-master/../my_zmap_files/zmap7/working/lastcatalog.mat
In ZmapData (line 225)
In zmap (line 146)
This is zmap.m - version 7.1
Loading borders:
url: {2×1 cell}
date: '2017-07-10'
ref: 'Wessel, P., and W. H. F. Smith, A Global Self-consistent, Hierarchical, High-resolution Shoreline Database, J. Geophys. Res., 101, 8741-8743, 1996'
desc: 'borders'
resolution: 'high'
reference_ellipsoid: 'wgs84'
Error using load
Unable to read file 'features/continents_h.mat'. No such file or directory.
Error in load_coastline (line 6)
tmp=load(filename, 'data', 'metadata');
Error in ZmapData>@()fnname(level) (line 334)
loadfn = @()fnname(level);
Error in MapFeature/load (line 251)
item = obj.Loadfn(varargin{:});
Error in MapFeature.foreach_waitbar (line 401)
ftr.(funcname)(varargin{:});
Error in ZmapMainWindow/plot_base_events (line 91)
MapFeature.foreach_waitbar(theFeatures(~wereLoaded), 'load');
Error in ZmapMainWindow/prepareMainFigure (line 849)
obj.plot_base_events(obj.maintab, obj.FeaturesToPlot);
Error in ZmapMainWindow (line 224)
obj.prepareMainFigure();
Error in zmap (line 207)
ZmapMainWindow(cw, ZmapCatalog);
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 ?
Sorry for the delay, this has been quite a month. I just updated the master branch with a series of other fixes. does it work now?
No problem. Thank you. I'll try it next days.
On Tue, 4 Dec 2018 at 22:11, Celso notifications@github.com wrote:
Thank you. No problem. I will try it next days.
Hi, Just checking. Is this working for you? -Celso
No, it does not work. I think I'll give up.
here is the error message:
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;
Hello
I get the following message when I try to start zmap [Matlab 2018a, CentoS 7.6]
Hi @eugenor, I realize this is extremely late, but I finally have time to work on ZMAP related issues again. While revisiting this issue, it occurred to me that you might not have the necessary toolboxes installed. That would explain both types of errors that you've seen, since
range
is a part of the Statistics and Machine Learning Toolbox, andreferenceEllipsoid
is part of the Mapping Toolbox.This would be verified by typing ver, and seeing if both toolboxes are listed.
Sincerely, Celso
I have a problem aswell when loading zmap
catalog: [1×1 struct] cross_section: [1×1 struct] general: [1×1 struct] grid: [1×1 struct] mainmap: [1×1 struct] result: [1×1 struct] sampling: [1×1 struct]
Warning: could not find the default catalog file /Users/lydiabrown/Desktop/zmap7-master/../my_zmap_files/zmap7/working/lastcatalog.mat
Error using load Unable to read file 'features/continents_h.mat'. No such file or directory.
Error in load_coastline (line 6) tmp=load(filename, 'data', 'metadata');
Error in ZmapData>@()fnname(level) (line 334) loadfn = @()fnname(level);
Error in MapFeature/load (line 251) item = obj.Loadfn(varargin{:});
Error in MapFeature.foreach_waitbar (line 401) ftr.(funcname)(varargin{:});
Error in ZmapMainWindow/plot_base_events (line 91) MapFeature.foreach_waitbar(theFeatures(~wereLoaded), 'load');
Error in ZmapMainWindow/prepareMainFigure (line 849) obj.plot_base_events(obj.maintab, obj.FeaturesToPlot);
Error in ZmapMainWindow (line 224) obj.prepareMainFigure();
Error in zmap (line 207) ZmapMainWindow(cw, ZmapCatalog);
Please could you help