Introduction
Images needed
Source_map
plot_srf_map.py src_model.srf
$plot_srf_map.py Ian02_s103245.srf
Source_square
plot_srf_square.py src_model.srfplot_srf_square.py Ian02_s103245.srf
Vs30StationMap
plot_vs30.py sim_folderplot_vs30.py /home/nesi00213/RealTime/20161213_Kaikoura_m7p8_201705301501
ObsTimeSeriesOnMap
plot_obs.py sim_folderplot_obs.py .
PNG_timeslices
plot_ts.py processesplot_ts.py 30
note: if files missing, try looking at the realtime sim wikipage referencing "plot_transfer.py auto"
important: the original plot_ts.py will combine all ts.png into a mov file and delete all the png files. MUST modify the code to plot specific time slices.Originalpool = mp.Pool(processes) pool.map(render_slice, xrange(xyts.t0, xyts.nt - xyts.t0)) print('FINISHED TIMESLICE SEGMENT IN %.2fs' % (time() - ts0)) print('AVERAGE TIMESLICE TIME %.2fs' % \ ((time() - ts0) / (xyts.nt - xyts.t0))) # images -> animation make_movie('%s/ts%%04d.png' % (png_dir), \ os.path.join(base_dir, 'animation.mov'), fps = 20) # temporary files can be quite large rmtree(gmt_temp) rmtree(png_dir)
*Comment out the unwanted lines
Modifiedpool = mp.Pool(processes) #pool.map(render_slice, xrange(xyts.t0, xyts.nt - xyts.t0)) pool.map(render_slice, [120,330,550,700,800,910,1000,1200,1500,1600]) print('FINISHED TIMESLICE SEGMENT IN %.2fs' % (time() - ts0)) print('AVERAGE TIMESLICE TIME %.2fs' % \ ((time() - ts0) / (xyts.nt - xyts.t0))) # images -> animation #make_movie('%s/ts%%04d.png' % (png_dir), \ # os.path.join(base_dir, 'animation.mov'), fps = 20) # temporary files can be quite large rmtree(gmt_temp) #rmtree(png_dir)
PGV and MMI
plot_ts_sum.pyplot_ts_sum.py
- Spacial Distribution
- Post-processing related plots
Running publish