[
https://issues.apache.org/jira/browse/CLIMATE-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015880#comment-14015880
]
ASF GitHub Bot commented on CLIMATE-450:
----------------------------------------
GitHub user cgoodale opened a pull request:
https://github.com/apache/climate/pull/53
Climate 450
Simple fix for CLIMATE-450.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/climate CLIMATE-450
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/climate/pull/53.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #53
----
commit 6713d723ffea1ae28179a6b55b1078ea70cdd56a
Author: cgoodale <[email protected]>
Date: 2014-06-02T20:34:52Z
Fix model to model script to prevent re-downloading
commit 50cee8126f7e4a0b57570da5eb4cf120d02de03b
Author: cgoodale <[email protected]>
Date: 2014-06-02T20:38:35Z
Prevent re-downloading the model file
commit 00ff21bc8ff2a691075aea4447f568edb4641dc9
Author: cgoodale <[email protected]>
Date: 2014-06-02T20:41:36Z
Prevent re-downloading the model file
----
> OCW examples download remote netCDF files without checking if they exist
> ------------------------------------------------------------------------
>
> Key: CLIMATE-450
> URL: https://issues.apache.org/jira/browse/CLIMATE-450
> Project: Apache Open Climate Workbench
> Issue Type: Improvement
> Components: general
> Affects Versions: 0.3-incubating
> Environment: *nix
> Reporter: Cameron Goodale
> Assignee: Cameron Goodale
> Fix For: 0.4
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> I was just testing some of the scripts in the 'ocw/examples' folder and I
> noticed that the code will download the *.nc files each time you run the
> example.
> If someone wanted to play with the example code they shouldn't need to
> re-download the files.
> We need to add in a check if the files already exist in the examples folder,
> and only download if they are not local.
--
This message was sent by Atlassian JIRA
(v6.2#6252)