[Shake-dev] Bls: Bls: Bls: Time Zone.pm

Bruce Worden cbworden at gmail.com
Mon May 7 15:14:05 UTC 2012


Hi Sigit,

I'm not sure what's happening with some of your testing. The test event (9583161) is a magnitude 3.9, so I'm not sure why grind is seeing it as an 8.5. Please check the file event.xml in the event's input directory and make sure the 'mag' attribute is 3.9.

If you run:

		./shake -event 9583161 -dryrun

you will get a list of commands that 'shake' would have run. You can run these commands one at a time to see where problems arise. In particular, when you run 'grind' add the -verbose flag. If you send along the output of these commands, I'll try to help diagnose your problem.

The error

	genex: Warning: insufficient files to make shapefile archive for hazus

happens when you run genex with the -hazus flag, but did not run grind with the -psa flag.

Bruce


On May 3, 2012, at 7:26 PM, sigit pramono wrote:

> Hi Bruce,
> 
> Shakemap is working now and output mapping is correct. About Time module I just use the package of Suse linux 11.3, just choice the Time Module and run it. But any notes like bellow after processing:
> 
> seistek at seistek:~/shakemap/bin> ./shake -event 9583161
> grind: Magnitude (8.5) exceeds cutoff (7.0); not computing bias.
> grind: Magnitude (8.5) exceeds cutoff (7.0); not flagging outliers.
> Printing grade F (1.496)
> plotregr: ----- Starting plotregr at 05/04/2012 02:16:34 -----
> GMT Fatal Error: GMT_log_array requesting negative n_items (-2147483646) - exceeding 32-bit counting?.....(What's gong on for this row?)
> GMT Fatal Error: GMT_log_array requesting negative n_items (-2147483646) - exceeding 32-bit counting?
> plotregr: ----- plotregr finished at 05/04/2012 02:16:56 -----
> genex: Warning: insufficient files to make shapefile archive for hazus .........(What's gong on for this row?)
> genex: Warning: insufficient files to make shapefile archive for hazus..........(What's gong on for this row?)
> transfer: ----- Starting Transfer at 05/04/2012 02:17:12 -----
> mkdir /srv/www/htdocs/seistek: Permission denied at /home/seistek/shakemap/bin/../bin/transfer line 883
> Error in transfer to localhost: returned 3328..( This is no problem, because I have configured yet for the path)
> transfer: ----- Transfer finished at 05/04/2012 02:17:12 -----
> 
> 
> 
> thank you.
> Sigit
> 
> Dari: Bruce Worden <cbworden at gmail.com>
> Kepada: sigit pramono <sigit_muslim at yahoo.com> 
> Cc: "Shake-dev at geohazards.usgs.gov" <shake-dev at geohazards.usgs.gov> 
> Dikirim: Kamis, 3 Mei 2012 15:09
> Judul: Re: Bls: Bls: [Shake-dev] Time Zone.pm
> 
> Hi Sigit,
> 
> "/src/lib/perl" doesn't seem to be in the @INC list from your original message. What is the full path name to the Timezone.pm module? If the path leading up to "Time/Timezone.pm" isn't in @INC, you need to add it.
> 
> Bruce
> 
> 
> On May 2, 2012, at 7:44 PM, sigit pramono wrote:
> 
>> Hi, Worden
>> 
>> Could you please to confirm which one perl program (module perl) is still trouble? or just trouble from linux sport of Suse Linux? Because Timezone.pm already exist in /src/lib/perl. Configuration perl location in /config/macro is correct.
>> 
>> Sigit
>> 
>> Dari: Bruce Worden <cbworden at gmail.com>
>> Kepada: sigit pramono <sigit_muslim at yahoo.com> 
>> Cc: "Shake-dev at geohazards.usgs.gov" <shake-dev at geohazards.usgs.gov> 
>> Dikirim: Rabu, 2 Mei 2012 19:51
>> Judul: Re: Bls: [Shake-dev] Time Zone.pm
>> 
>> Hi Sigit,
>> 
>> The Time/Timezone.pm module is part of the Time-modules package. Make sure Time-modules is installed on your machine and that the install location is in the @INC path of your perl program.
>> 
>> Bruce
>> 
>> On May 2, 2012, at 1:47 AM, sigit pramono wrote:
>> 
>>> Hello,
>>> 
>>> Anybody can help me?
>>> I have trouble when running shake application, like bellow of the message.
>>> May be any trouble or not complete for perl support? or any recommendation?
>>> 
>>> "seistek at seistek:~/shakemap/bin> ./shake -event 9583161
>>> Can't locate Time/Timezone.pm in @INC (@INC contains: /home/seistek/shakemap/bin/../perl/lib /home/seistek/shakemap/bin/../lib /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /home/seistek/shakemap/bin/../perl/lib/Shake/Timezone.pm line 39.
>>> BEGIN failed--compilation aborted at /home/seistek/shakemap/bin/../perl/lib/Shake/Timezone.pm line 39.
>>> Compilation failed in require at /home/seistek/shakemap/bin/../bin/grind line 24.
>>> BEGIN failed--compilation aborted at /home/seistek/shakemap/bin/../bin/grind line 24.
>>> shake: Error in grind: 512"
>>> 
>>> Thank you.
>>> Sigit
>>> Dari: Bruce Worden <cbworden at gmail.com>
>>> Kepada: ""Roviró Pou, Jordi"" <jroviro at igc.cat> 
>>> Cc: "Shake-dev at geohazards.usgs.gov" <Shake-dev at geohazards.usgs.gov> 
>>> Dikirim: Selasa, 1 Mei 2012 0:58
>>> Judul: Re: [Shake-dev] mapping module
>>> 
>>> Hi Jordi,
>>> 
>>> "netid" is the attribute that the network color applies to. "source" can be any text string, and is used to describe the station source (such as the name of the network).
>>> 
>>> So you need to set netid to IGC, IGN, BRGM, etc., for each station in your data file.
>>> 
>>> Bruce
>>> 
>>> 
>>> On Apr 27, 2012, at 1:07 AM, Roviró Pou, Jordi wrote:
>>> 
>>>> Hello,
>>>> I have some understanding problems with stations representation of the mapping module
>>>> I work with only two xml files at the input folder, the pgm and intensity. All the stations in the first one has different attributes source=”XXX” (where XXX are IGC, IGN, BRGM, OPM, IEA). The stations  on the second file has the attribute netid=”INTENSITY”.
>>>> I define the network_color parameters as:
>>>>  
>>>> network_color   : INTENSITY darkblue c 0.06
>>>> network_color   : IGC orange t 0.14
>>>> network_color   : IGN magenta t 0.14
>>>> network_color   : BRGM red t 0.14
>>>> network_color   : OMP green t 0.14
>>>> network_color   : IEA darkblue t 0.14
>>>>  
>>>> My problem is that the macroseismic data is represented correctly, but not the pgm data.
>>>> I try to run shakemap without intensity xml file, and it works correctly, also only with the intensity file works.
>>>> I try to run shakemap with both xml files, and have some troubles.
>>>> If the network_colors aren’t defined, the pgm stations are represented as a default colour, symbol and size. But defining the network_color parameters only the colours are well represented, so the symbol and the size are the same as the INTENSITY values.
>>>>  
>>>> I have revised the mapping.pm and I think the problem is on the line 1322. I made a test with an intensity and pgm station only, and the problem is that for the pgm the $symbol variable doesn’t changes in that line, although the network_color parameter are different.
>>>> I don't know how to solve it.
>>>>  
>>>> Thank you very much!
>>>> Jordi
>>>>  
>>>> _______________________________________________
>>>> Shake-dev mailing list
>>>> Shake-dev at geohazards.usgs.gov
>>>> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>>> 
>>> 
>>> _______________________________________________
>>> 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/20120507/e6275afe/attachment.html>


More information about the Shake-dev mailing list