You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Goodale, Cameron E (398J)" <ca...@jpl.nasa.gov> on 2013/05/06 04:00:50 UTC

FW: Pull RCMES code from Apache Now

Moving this to Apache List now.

Kyo,

Can you please provide the full path to there you are calling rcmet.py
from?  One other request is can you also copy and paste the error here.
My Mail client has shrunken the screenshot, and Google will index the
pasted errors nicely for others to find.

Thanks Kyo and I know we can get this issue resolved.



-Cameron

On 5/5/13 3:34 PM, "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>
wrote:

>
>
>
>Hi Mazi,
>
>
>My PYTHONPATH includes
>/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes where the
>downloaded files are located.
>
>
>Thanks,
>Kyo
>
>
>
>On May 5, 2013, at 3:24 PM, Boustani, Maziyar (398F) wrote:
>
>
>Hi Kyo,
>
>
>Did you change the PYTHONPATH in .bachrc file to the new rcmes directory?
>That might be one of the solution to solve this issue.
>
>
>Best,
>Mazi
>
>On May 5, 2013, at 3:19 PM, Lee, Kyo (3246-Affiliate) wrote:
>
>
>Hi Cam,
>
>
>I downloaded RCMES codes from the Apache trunk but now I cannot run it on
>Argo or any other workstations.
>The attached is screen captured errors when I run RCMES.
>Could you check what problems are, please?
>
>
>Thanks,
>Kyo
>
>
>On May 2, 2013, at 10:18 PM, Goodale, Cameron E (398J) wrote:
>
>
>Hey Team,
>
>I just worked on merging the latest JPL trunk into the ASF Climate trunk.
>The two are now the same.  This will be changing very soon as I continue
>my development at Apache.  I strongly suggest you do the same.
>
>If you have any questions or just want help getting code onto your
>machine, or want to know what you should do with existing code changes on
>your machine, please let us know.  If there is enough interest, maybe we
>can carve out time to have a little hack-a-thon where we get together and
>help each other move to the Apache code base.
>
>Apache Open Climate Workbench Repo:
>https://svn.apache.org/repos/asf/incubator/climate/trunk/
>
>
>Enjoy!
>
>
>_Cameron
>
>
>
>
>
>
><Screen Shot 2013-05-05 at 3.11.17 PM.png>
>
>
>
>
>
>
>
>
>
>
>


Re: Pull RCMES code from Apache Now

Posted by Cameron Goodale <go...@apache.org>.
Kyo,

You have stumbled upon an issue where the code has already imported
SubRegions back in rcmet.py and it is trying to do it again in misc.  I
will open a JIRA issue about it, provide a patch and close it out in a bit.


I solved this issue back when I was porting other code into my local copy.
 Good catch.  Once I have the patch up, or when I commit just run svn up to
grab the fix.

Thanks for bringing this up.



-Cameron


On Mon, May 6, 2013 at 8:16 AM, Lee, Kyo (3246-Affiliate) <
Huikyo.Lee@jpl.nasa.gov> wrote:

> Sorry Cam. I misunderstood your previous email so I copied and pasted the
> screen captured file.
>
> Kyo
>
> [argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$ python
> rcmet.py -c ./resources/cordexAF.cfg
> Traceback (most recent call last):
>   File "rcmet.py", line 15, in <module>
>     from toolkit import do_data_prep, process, metrics
>   File
> "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/toolkit/do_data_prep.py",
> line 10, in <module>
>     from storage import db, files
>   File
> "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/db.py", line
> 11, in <module>
>     from classes import RCMED
>   File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/classes.py",
> line 6, in <module>
>     import storage.files as files
>   File
> "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/files.py",
> line 22, in <module>
>     from utils import misc
>   File
> "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/utils/misc.py", line
> 15, in <module>
>     from classes import SubRegion
> ImportError: cannot import name SubRegion
> [argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$
> On May 6, 2013, at 7:01 AM, Cameron Goodale wrote:
>
> > Kyo,
> >
> > Can you please paste the error you are seeing here on the email list?
> >
> > Cheers!
> >
> >
> > -Cam
> >
> >
> > On Sun, May 5, 2013 at 8:02 PM, Lee, Kyo (3246-Affiliate) <
> > Huikyo.Lee@jpl.nasa.gov> wrote:
> >
> >> Hi Cam,
> >>
> >> As you see, I have rcmet.py file in
> >> /home/huikyole/work/RCMES/rcmet/src/main/python/bin
> >> Everything had worked well until last Thursday.
> >>
> >> Thanks,
> >> Kyo
> >>
> >> On May 5, 2013, at 7:00 PM, "Goodale, Cameron E (398J)" <
> >> cameron.e.goodale@jpl.nasa.gov> wrote:
> >>
> >> Moving this to Apache List now.
> >>
> >> Kyo,
> >>
> >> Can you please provide the full path to there you are calling rcmet.py
> >> from?  One other request is can you also copy and paste the error here.
> >> My Mail client has shrunken the screenshot, and Google will index the
> >> pasted errors nicely for others to find.
> >>
> >> Thanks Kyo and I know we can get this issue resolved.
> >>
> >>
> >>
> >> -Cameron
> >>
> >> On 5/5/13 3:34 PM, "Lee, Kyo (3246-Affiliate)" <Huikyo.Lee@jpl.nasa.gov
> >
> >> wrote:
> >>
> >>
> >>
> >>
> >> Hi Mazi,
> >>
> >>
> >> My PYTHONPATH includes
> >> /home/huikyole/work/RCMES/rcmet/src/main/python/rcmes where the
> >> downloaded files are located.
> >>
> >>
> >> Thanks,
> >> Kyo
> >>
> >>
> >>
> >> On May 5, 2013, at 3:24 PM, Boustani, Maziyar (398F) wrote:
> >>
> >>
> >> Hi Kyo,
> >>
> >>
> >> Did you change the PYTHONPATH in .bachrc file to the new rcmes
> directory?
> >> That might be one of the solution to solve this issue.
> >>
> >>
> >> Best,
> >> Mazi
> >>
> >> On May 5, 2013, at 3:19 PM, Lee, Kyo (3246-Affiliate) wrote:
> >>
> >>
> >> Hi Cam,
> >>
> >>
> >> I downloaded RCMES codes from the Apache trunk but now I cannot run it
> on
> >> Argo or any other workstations.
> >> The attached is screen captured errors when I run RCMES.
> >> Could you check what problems are, please?
> >>
> >>
> >> Thanks,
> >> Kyo
> >>
> >>
> >> On May 2, 2013, at 10:18 PM, Goodale, Cameron E (398J) wrote:
> >>
> >>
> >> Hey Team,
> >>
> >> I just worked on merging the latest JPL trunk into the ASF Climate
> trunk.
> >> The two are now the same.  This will be changing very soon as I continue
> >> my development at Apache.  I strongly suggest you do the same.
> >>
> >> If you have any questions or just want help getting code onto your
> >> machine, or want to know what you should do with existing code changes
> on
> >> your machine, please let us know.  If there is enough interest, maybe we
> >> can carve out time to have a little hack-a-thon where we get together
> and
> >> help each other move to the Apache code base.
> >>
> >> Apache Open Climate Workbench Repo:
> >> https://svn.apache.org/repos/asf/incubator/climate/trunk/
> >>
> >>
> >> Enjoy!
> >>
> >>
> >> _Cameron
> >>
> >>
> >>
> >>
> >>
> >>
> >> <Screen Shot 2013-05-05 at 3.11.17 PM.png>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
>

Re: Pull RCMES code from Apache Now

Posted by "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>.
Sorry Cam. I misunderstood your previous email so I copied and pasted the screen captured file.

Kyo

[argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$ python rcmet.py -c ./resources/cordexAF.cfg
Traceback (most recent call last):
  File "rcmet.py", line 15, in <module>
    from toolkit import do_data_prep, process, metrics
  File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/toolkit/do_data_prep.py", line 10, in <module>
    from storage import db, files
  File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/db.py", line 11, in <module>
    from classes import RCMED
  File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/classes.py", line 6, in <module>
    import storage.files as files
  File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/storage/files.py", line 22, in <module>
    from utils import misc
  File "/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes/utils/misc.py", line 15, in <module>
    from classes import SubRegion
ImportError: cannot import name SubRegion
[argo:/home/huikyole/work/RCMES/rcmet/src/main/python/bin]$
On May 6, 2013, at 7:01 AM, Cameron Goodale wrote:

> Kyo,
> 
> Can you please paste the error you are seeing here on the email list?
> 
> Cheers!
> 
> 
> -Cam
> 
> 
> On Sun, May 5, 2013 at 8:02 PM, Lee, Kyo (3246-Affiliate) <
> Huikyo.Lee@jpl.nasa.gov> wrote:
> 
>> Hi Cam,
>> 
>> As you see, I have rcmet.py file in
>> /home/huikyole/work/RCMES/rcmet/src/main/python/bin
>> Everything had worked well until last Thursday.
>> 
>> Thanks,
>> Kyo
>> 
>> On May 5, 2013, at 7:00 PM, "Goodale, Cameron E (398J)" <
>> cameron.e.goodale@jpl.nasa.gov> wrote:
>> 
>> Moving this to Apache List now.
>> 
>> Kyo,
>> 
>> Can you please provide the full path to there you are calling rcmet.py
>> from?  One other request is can you also copy and paste the error here.
>> My Mail client has shrunken the screenshot, and Google will index the
>> pasted errors nicely for others to find.
>> 
>> Thanks Kyo and I know we can get this issue resolved.
>> 
>> 
>> 
>> -Cameron
>> 
>> On 5/5/13 3:34 PM, "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>
>> wrote:
>> 
>> 
>> 
>> 
>> Hi Mazi,
>> 
>> 
>> My PYTHONPATH includes
>> /home/huikyole/work/RCMES/rcmet/src/main/python/rcmes where the
>> downloaded files are located.
>> 
>> 
>> Thanks,
>> Kyo
>> 
>> 
>> 
>> On May 5, 2013, at 3:24 PM, Boustani, Maziyar (398F) wrote:
>> 
>> 
>> Hi Kyo,
>> 
>> 
>> Did you change the PYTHONPATH in .bachrc file to the new rcmes directory?
>> That might be one of the solution to solve this issue.
>> 
>> 
>> Best,
>> Mazi
>> 
>> On May 5, 2013, at 3:19 PM, Lee, Kyo (3246-Affiliate) wrote:
>> 
>> 
>> Hi Cam,
>> 
>> 
>> I downloaded RCMES codes from the Apache trunk but now I cannot run it on
>> Argo or any other workstations.
>> The attached is screen captured errors when I run RCMES.
>> Could you check what problems are, please?
>> 
>> 
>> Thanks,
>> Kyo
>> 
>> 
>> On May 2, 2013, at 10:18 PM, Goodale, Cameron E (398J) wrote:
>> 
>> 
>> Hey Team,
>> 
>> I just worked on merging the latest JPL trunk into the ASF Climate trunk.
>> The two are now the same.  This will be changing very soon as I continue
>> my development at Apache.  I strongly suggest you do the same.
>> 
>> If you have any questions or just want help getting code onto your
>> machine, or want to know what you should do with existing code changes on
>> your machine, please let us know.  If there is enough interest, maybe we
>> can carve out time to have a little hack-a-thon where we get together and
>> help each other move to the Apache code base.
>> 
>> Apache Open Climate Workbench Repo:
>> https://svn.apache.org/repos/asf/incubator/climate/trunk/
>> 
>> 
>> Enjoy!
>> 
>> 
>> _Cameron
>> 
>> 
>> 
>> 
>> 
>> 
>> <Screen Shot 2013-05-05 at 3.11.17 PM.png>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 


Re: Pull RCMES code from Apache Now

Posted by Cameron Goodale <go...@apache.org>.
Kyo,

Can you please paste the error you are seeing here on the email list?

Cheers!


-Cam


On Sun, May 5, 2013 at 8:02 PM, Lee, Kyo (3246-Affiliate) <
Huikyo.Lee@jpl.nasa.gov> wrote:

>  Hi Cam,
>
>  As you see, I have rcmet.py file in
> /home/huikyole/work/RCMES/rcmet/src/main/python/bin
> Everything had worked well until last Thursday.
>
>  Thanks,
> Kyo
>
>  On May 5, 2013, at 7:00 PM, "Goodale, Cameron E (398J)" <
> cameron.e.goodale@jpl.nasa.gov> wrote:
>
> Moving this to Apache List now.
>
> Kyo,
>
> Can you please provide the full path to there you are calling rcmet.py
> from?  One other request is can you also copy and paste the error here.
> My Mail client has shrunken the screenshot, and Google will index the
> pasted errors nicely for others to find.
>
> Thanks Kyo and I know we can get this issue resolved.
>
>
>
> -Cameron
>
> On 5/5/13 3:34 PM, "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>
> wrote:
>
>
>
>
> Hi Mazi,
>
>
> My PYTHONPATH includes
> /home/huikyole/work/RCMES/rcmet/src/main/python/rcmes where the
> downloaded files are located.
>
>
> Thanks,
> Kyo
>
>
>
> On May 5, 2013, at 3:24 PM, Boustani, Maziyar (398F) wrote:
>
>
> Hi Kyo,
>
>
> Did you change the PYTHONPATH in .bachrc file to the new rcmes directory?
> That might be one of the solution to solve this issue.
>
>
> Best,
> Mazi
>
> On May 5, 2013, at 3:19 PM, Lee, Kyo (3246-Affiliate) wrote:
>
>
> Hi Cam,
>
>
> I downloaded RCMES codes from the Apache trunk but now I cannot run it on
> Argo or any other workstations.
> The attached is screen captured errors when I run RCMES.
> Could you check what problems are, please?
>
>
> Thanks,
> Kyo
>
>
> On May 2, 2013, at 10:18 PM, Goodale, Cameron E (398J) wrote:
>
>
> Hey Team,
>
> I just worked on merging the latest JPL trunk into the ASF Climate trunk.
> The two are now the same.  This will be changing very soon as I continue
> my development at Apache.  I strongly suggest you do the same.
>
> If you have any questions or just want help getting code onto your
> machine, or want to know what you should do with existing code changes on
> your machine, please let us know.  If there is enough interest, maybe we
> can carve out time to have a little hack-a-thon where we get together and
> help each other move to the Apache code base.
>
> Apache Open Climate Workbench Repo:
> https://svn.apache.org/repos/asf/incubator/climate/trunk/
>
>
> Enjoy!
>
>
> _Cameron
>
>
>
>
>
>
> <Screen Shot 2013-05-05 at 3.11.17 PM.png>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

Re: Pull RCMES code from Apache Now

Posted by "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>.
Hi Cam,

As you see, I have rcmet.py file in /home/huikyole/work/RCMES/rcmet/src/main/python/bin
Everything had worked well until last Thursday.

Thanks,
Kyo
[cid:D03C10AA-0B44-480B-80F8-207E6A89ADB3]

On May 5, 2013, at 7:00 PM, "Goodale, Cameron E (398J)" <ca...@jpl.nasa.gov>> wrote:

Moving this to Apache List now.

Kyo,

Can you please provide the full path to there you are calling rcmet.py
from?  One other request is can you also copy and paste the error here.
My Mail client has shrunken the screenshot, and Google will index the
pasted errors nicely for others to find.

Thanks Kyo and I know we can get this issue resolved.



-Cameron

On 5/5/13 3:34 PM, "Lee, Kyo (3246-Affiliate)" <Hu...@jpl.nasa.gov>>
wrote:




Hi Mazi,


My PYTHONPATH includes
/home/huikyole/work/RCMES/rcmet/src/main/python/rcmes where the
downloaded files are located.


Thanks,
Kyo



On May 5, 2013, at 3:24 PM, Boustani, Maziyar (398F) wrote:


Hi Kyo,


Did you change the PYTHONPATH in .bachrc file to the new rcmes directory?
That might be one of the solution to solve this issue.


Best,
Mazi

On May 5, 2013, at 3:19 PM, Lee, Kyo (3246-Affiliate) wrote:


Hi Cam,


I downloaded RCMES codes from the Apache trunk but now I cannot run it on
Argo or any other workstations.
The attached is screen captured errors when I run RCMES.
Could you check what problems are, please?


Thanks,
Kyo


On May 2, 2013, at 10:18 PM, Goodale, Cameron E (398J) wrote:


Hey Team,

I just worked on merging the latest JPL trunk into the ASF Climate trunk.
The two are now the same.  This will be changing very soon as I continue
my development at Apache.  I strongly suggest you do the same.

If you have any questions or just want help getting code onto your
machine, or want to know what you should do with existing code changes on
your machine, please let us know.  If there is enough interest, maybe we
can carve out time to have a little hack-a-thon where we get together and
help each other move to the Apache code base.

Apache Open Climate Workbench Repo:
https://svn.apache.org/repos/asf/incubator/climate/trunk/


Enjoy!


_Cameron






<Screen Shot 2013-05-05 at 3.11.17 PM.png>