[Shake-dev] Run a scenario with a *_dat.xml file in input directory

Luis Mixco luimixco at gmail.com
Thu Aug 27 20:51:32 UTC 2015


Thank you very much! Bruce

This was exactly my mistake. I had forgotten to put the </stationlist> tag
at the end of XML.

Thanks again!


2015-08-27 14:21 GMT-06:00 Bruce Worden <cbworden at gmail.com>:

> Hi Luis,
>
> I don’t know if this is all that is wrong, but you need to add the closing
> </stationlist> tag before the XML will parse.
>
> Bruce
>
>
> On Aug 27, 2015, at 12:45 PM, Luis Mixco <lmixco at marn.gob.sv> wrote:
>
> Hello,
>
> I would like to know how to run a scenario using a *_dat.xml file, that
> has only two stations in it. This is my *_dat.xml file:
>
> *<?xml version="1.0" encoding="UTF-8" standalone="yes"?>*
> *<!DOCTYPE earthquake SYSTEM "stationlist.dtd">*
> *<stationlist created="" xmlns="ch.ethz.sed.shakemap.usgs.xml">*
> *<station code="SMIG" name="SMIG" insttype="Scenario" lat="13.439"
> lon="-88.159">*
> *<comp name="FWD">*
> *<acc value="1.8625023445 <1.8625023445>" flag="0"/>*
> *<vel value="1.1821450000" flag="0"/>*
> *<psa03 value="3.9630" flag="0"/>*
> *<psa10 value="1.6464" flag="0"/>*
> *<psa30 value="0.5304" flag="0"/>*
> *</comp>*
> *</station>*
> *<station code="UCHI" name="UCHI" insttype="Scenario" lat="13.512"
> lon="-88.349">*
> *<comp name="FWD">*
> *<acc value="0.8117246687" flag="0"/>*
> *<vel value="0.5022440000 <5022440000>" flag="0"/>*
> *<psa03 value="1.7330" flag="0"/>*
> *<psa10 value="0.7708" flag="0"/>*
> *<psa30 value="0.2526" flag="0"/>*
> *</comp>*
> *</station>*
>
> When I run the grind program, I get this message error:
>
> seiscomp at seiscomp3:/opt/shakemap/config$ grind -event
> 20111124211300_49_13310_-87947_20150826201900_se -xml -qtm -verbose
> -lonspan 10.0 -psa
> *grind: Running scenario 20111124211300_49_13310_-87947_20150826201900_se
> with flags: -event 20111124211300_49_13310_-87947_20150826201900_se -xml
> -qtm -verbose -lonspan 10.0 -psa*
> *grind: fwstatlist not defined, no forward modeling*
>
> *no element found at line 441, column 0, byte 1904 at
> /usr/lib/perl5/XML/Parser.pm line 187*
>
> Can someone give me an advice to get my scenario results.
>
> P.D.
> I checked the grind.conf file, and I found that for scenarios a
> forward.xml file I used, which corresponds to fwdata_file.
> Where I can find the forward.xml
>
> Greetings, thanks in advance
>
> Luis Mixco
> MARN-El Salvador
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> When I run normally,
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150827/ea789685/attachment.html>


More information about the Shake-dev mailing list