CelsoReyes / zmap7

ZMAP Seismology Software. V 7.x has been updated to MATLAB R2018a.
81 stars 40 forks source link

Error loading seismic catalog Unrecognized variable name 'Longitude'. #32

Open MarisellaOrtega opened 5 years ago

MarisellaOrtega commented 5 years ago

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_RegiondeLosRiosFormatoZMAP.txt

helenistica90 commented 5 years ago

Hi Marisella,

I'm also a new user of Zmap. I was using it with a trial version of the mapping toolbox and I created my input files in .csv format on what's called "old style" and it worked. Now, after expiring my trial version and reinstalled Matlab and downloaded new zmap package, I'm having same problem as you had. Did you solve it?

Regards,

Helena.

helenistica90 commented 5 years ago

Hi again Marisella,

I found what was wrong with my files. I had two files where the hour was 1000 and 2000 instead of 10,00 and 20,00. I was struggling to find the source of my error.

In your file, it is also a similar problem related to the format.

The first line of your file (.txt or .csv) has to have the next header :

Longitude,Latitude,year,month,day,magnitude,depth,hour,min,sec

Next lines should be like this one :

-2.0185,37.3228,2015,12,06,1.9,06,00,00,00

That format is what is called " old style"

I recommend you to have a look on the examples included in the ZMAP package. There is one called " sample_ascii_oldstyle_matrix.csv" that if you open with your text processor you will see the format that is required. Look for it on the folder : zmap7-master->resort->sample

All the best,

Helena.