Dear All,
Can any one of you help me out.
prepare_tomo.py is writing "Grid.dat", However, it seems it is writing wrong minlat and minlon. In place of longitude it seems it is writing latitude. Station coordinates are correct in STACoord.dat. How X and
minlon = df[3].min() - xstep*1.5
maxlon = df[3].max() + xstep*1.5
minlat = df[2].min() - ystep*1.5
maxlat = df[2].max() + ystep*1.5
f.write("%f %f\n"%(minlon, maxlon)) # It is writing latitude
f.write("%f %f\n"%(minlat, maxlat)) # It is writing longitude
f.write("%f %f\n"%(xstep, ystep))
f.close
Somehow in the final tomographic plots (result_*), I am getting a a mirror image of expected image. (Latitude in x-axis and Longitude in Y-axis). If I change Grid.dat manually (by changing lat and lon) before running ANSWT.py, it is not working well.
Regards,
arun
Hi Thomas:
I define my own data structure in the config, but when I run the command "msnoise populate" it says:
(base) PS C:\Users\b2-2> msnoise populate
>> Populating the Station table
Can't parse the archive for format NET/STA/YEAR/NET.STA.YEAR.DAY.SAC !
trying to import local parser (should return a station dictionary)
Traceback (most recent call last):
File "c:\users\b2-2\anaconda3\lib\site-packages\msnoise\s002populate_station_table.py", line 127, in main
from custom import populate
ModuleNotFoundError: No module named 'custom'
No file named custom.py in the C:\Users\b2-2 folder
I tried to add a custom.py in the path saied above, it still wrong!