[Shake-dev] Bls: Bls: Time Zone.pm
Bruce Worden
cbworden at gmail.com
Thu May 3 15:09:07 UTC 2012
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/20120503/4bba5c9a/attachment.html>
More information about the Shake-dev
mailing list