Cameron Goodale created CLIMATE-53:
--------------------------------------

             Summary: 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


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

Reply via email to