[Shake-dev] problem in genex

MacDonald, Tim tmacdonald at usgs.gov
Thu Jan 22 18:52:58 UTC 2015


Hi Sergio,

I am not sure they are related but I had a similar problem and the solution
was to remove some entries in the earthquake table that had null values for
tabsol and tzone. It happened to me because I ran a scenario and the
directory name for the input/event.xml file did not match the earthquake id
in the event.xml file and shake created 2 entries in the earthquake table,
one of which had the null values I described above.

So please take a look at your earthquake table for records with null values
for the 2 fields mentioned, and hopefully that is the issue.

Tim

On Thu, Jan 22, 2015 at 11:43 AM, Sergio Arregui <sarregui at cicese.mx> wrote:

> Hi All,
>
>    we are having problems in genex since last december, before this worked
> ok. Here is a sample of the output and the error, has anybody experienced
> something similar, does someone knows how to fix this?
>
> {shake at postproc:bin} ./shake -event 60029286 -verbose
> shake started event 60029286 at Thu Jan 22 18:26:25 2015
> 2015-01-22 18:26:25 : shake: Running: '/home/shake/sfw/shakemap/src/bin/../bin/retrieve
> -event 60029286'
> 2015-01-22 18:26:26 : db2xml: No amps available for event 60029286 in
> database rtdb2
> 2015-01-22 18:26:26 : db2xml: db2xml child 3: returned 1
> 2015-01-22 18:26:26 : db2xml: At least 23 stations available for event
> 60029286
> 2015-01-22 18:26:26 : shake: Running: '/home/shake/sfw/shakemap/src/bin/../bin/grind
> -event 60029286 -qtm -xml -boundcheck -gmpesc -lonspan 3.0'
> Uncertainty computation skipped (no Intensity > 6.0)
> 2015-01-22 18:26:34 : shake: Done with 'grind'
> 2015-01-22 18:26:34 : shake: Running: '/home/shake/sfw/shakemap/src/bin/../bin/tag
> -event 60029286'
> 2015-01-22 18:26:34 : shake: Done with 'tag'
> 2015-01-22 18:26:34 : shake: Running: '/home/shake/sfw/shakemap/src/bin/../bin/mapping
> -event 60029286 -timestamp -itopo'
> Printing grade - (-0.000)
> 2015-01-22 18:27:17 : shake: Done with 'mapping'
> 2015-01-22 18:27:17 : shake: Running: '/home/shake/sfw/shakemap/src/bin/../bin/genex
> -event 60029286 -zip -metadata -shape shape'
> The 'hour' parameter (undef) to DateTime::new was an 'undef', which is not
> one of the allowed types: scalar
>  at /usr/local/lib/perl/5.14.2/DateTime.pm line 195
>         DateTime::new(undef, 'year', undef, 'month', undef, 'day', undef,
> 'hour', undef, ...) called at /home/shake/sfw/shakemap/src/bin/../perl/lib/Genex/Html.pm
> line 741
>         Genex::Html::tabsol2dt(undef, undef) called at
> /home/shake/sfw/shakemap/src/bin/../perl/lib/Genex/ArchivePages.pm line
> 364
>         Genex::ArchivePages::set_params('Genex::ArchivePages=HASH(0x31a0e28)',
> 'HASH(0x2f8d908)') called at /home/shake/sfw/shakemap/src/bin/../perl/lib/Genex/Html.pm
> line 273
>         Genex::Html::fill_templates('HASH(0x2f8d908)') called at
> /home/shake/sfw/shakemap/src/bin/../bin/genex line 525
>         main::main() called at /home/shake/sfw/shakemap/src/bin/../bin/genex
> line 243
> Error in genex: 65280
>
> Thank you
>
> Cheers!
>
> Sergio Arregui
> CICESE
> Mexico
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>



-- 
Tim MacDonald
IT Specialist

Earthquake Science Center
U.S. Geological Survey
345 Middlefield Rd., MS-977
Menlo Park, CA 94025
(650) 329-5141
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150122/330e7275/attachment.html>


More information about the Shake-dev mailing list