[Shake-dev] I just find two bugs
Bruce Worden
cbworden at caltech.edu
Thu Aug 26 16:40:32 UTC 2010
Hi Martin,
Thanks for the timezone fix. I'll have a look at it and incorporate it
in the next update.
As for the flags, 'shake' will only use the flags from the shake.conf
file the first time it runs a program. After that, it gets the flags
from the flags database in order to preserve any changes made by
manual runs from the command line. If we didn't do this, the next
automatic run via 'shake' would drop any customizations that were made
for a specific map (say, for instance, changing the latspan and
lonspan to show a larger or smaller area than the default). Some flags
are not preserved, like -verbose and -debug. If you want to change the
flags for a program that has already run, you can run the program
manually from the command line (hint: use 'shake -dryrun -event ...'
to get the basic commands), or you can go back to the default flags by
running shake with the -default flag.
Bruce
On Aug 25, 2010, at 2:12 AM, Martin wrote:
> Hello All,
>
> I am using the latest Shakemap3.5 on svn.
>
> 1. Timezone bug
> event.xml data
> <earthquake id="9583161" lat="34.5630" lon="-118.9000" mag="3.9"
> year="2000" month="10" day="12" hour="16" minute="51" second="19"
> timezone="GMT" depth="27.47" locstring="11.5 mi N of Fillmore, CA "
> created="982348863" />
>
> Map Header info is :
> Thu Oct 12, 2000 16:51:19 GMT M 3.9 N34.56 W118.90 Depth: 27.5km ID:
> 9583161
>
> If I change the timezone string from "GMT" to "ABC", Map Header info
> become:
> Thu Oct 12, 2000 16:51:19 ABC ABC M 3.9 N34.56 W118.90 Depth: 27.5km
> ID:9583161
>
> It shows timezone string twice.
>
> 2. I want to add back gsm flag, but I find it cannot change mapping
> flags
> in file <shake_home>/config/shake.conf
> default_flags : mapping -timestamp -itopo -verbose
>
> If I change these flags to any string, it will always run with
> flags: -timestamp -itopo
>
> I do re-run make.
>
> BTW: which DEM data format does shakemap use?
>
>
> Thank you.
>
>
>
>
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
More information about the Shake-dev
mailing list