[
https://issues.apache.org/jira/browse/CLIMATE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CLIMATE-53 started by Cameron Goodale.
> 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
> Remaining Estimate: 1h
>
> While testing my SubRegions support in issue CLIMATE-6 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