[Shake-dev] Possible minor error in grind (sub get_ifunc)

Bruce Worden cbworden at caltech.edu
Tue Sep 14 14:43:28 UTC 2010


Hi Anton,

Thanks for the bug report. You are correct, the extra space should be  
removed. I've fixed it in the source, and it will be distributed with  
the next code update.

Thanks again,
Bruce


On Sep 13, 2010, at 10:25 PM, Anton Danet wrote:

> Hello,
>
> I'm am trying to produce  a customized earthquake report, based on  
> information
> in info.xml file  and other text files.
>
> I noticed that one can extract the value of any tag of a Info  
> object, using
> $info->value("$tag") ,   except  "mi2pgm" ; for this one you have to  
> write
> $info->value("mi2pgm ").
>
> The reason seems to be an (unintentionally left ) space character in  
> grind,
> (subroutine get_ifunc) line 2188;
>  $label = 'mi2pgm ';
> I removed it and now it works fine.
>
> Thank you,
>
> Anton
>
> Anton Danet
>
> National Institute for Earth Physics
> Bucharest - Romania
>
> _______________________________________________
> 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