[
https://issues.apache.org/jira/browse/CLIMATE-53?focusedWorklogId=14536&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-14536
]
Cameron Goodale logged work on CLIMATE-53:
------------------------------------------
Author: Cameron Goodale
Created on: 24/May/13 19:33
Start Date: 24/May/13 19:33
Worklog Time Spent: 0.5h
Issue Time Tracking
-------------------
Worklog Id: (was: 14536)
Time Spent: 0.5h
Remaining Estimate: 0.5h (was: 1h)
> db.extractData function should not change dir
> ---------------------------------------------
>
> Key: CLIMATE-53
> URL: https://issues.apache.org/jira/browse/CLIMATE-53
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: rcmet
> Affects Versions: 0.1-incubating
> Reporter: Cameron Goodale
> Assignee: Cameron Goodale
> Priority: Critical
> Fix For: 0.1-incubating
>
> Original Estimate: 1h
> Time Spent: 0.5h
> Remaining Estimate: 0.5h
>
> While testing my SubRegions support in issue CLIMATE-8 i found that using a
> relative file path in the SUB_REGION config section (example below) was
> actually being broken due to a previous function changing to a different
> directory which breaks the relative path.
> [SUB_REGION]
> # Sub Region(s) Full File Path
> subRegionFile=../rcmes/resources/cordexSubRegions.txt
> After some investigation i found that db.extractData was doing some os.chdir
> commands to make output directories to write out the NetCDF cache files.
> The plan is to remove the change dir commands and use absolute paths instead
> to check and mkdirs as needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira