[jira] [Commented] (CLIMATE-866) Create ocw conda package against Python3.x as well as Python 2.7
[ https://issues.apache.org/jira/browse/CLIMATE-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974091#comment-15974091 ] Lewis John McGibbney commented on CLIMATE-866: -- OK [~agoodman] please resolve once this is addressed. Thanks. > Create ocw conda package against Python3.x as well as Python 2.7 > > > Key: CLIMATE-866 > URL: https://issues.apache.org/jira/browse/CLIMATE-866 > Project: Apache Open Climate Workbench > Issue Type: Task > Components: conda >Affects Versions: 1.1.0 >Reporter: Lewis John McGibbney >Assignee: Alex Goodman >Priority: Critical > Fix For: 1.2.0 > > > Hi [~agoodman], I recently tried to use the conda package to install OCW. I > am using Miniconda3 and therefore Python3. When I run the conda install, I > get the following > {code} > lmcgibbn@LMC-032857 /usr/local/climate(master) $ conda install -c agoodman ocw > Fetching package metadata . > Solving package specifications: > The following specifications were found to be in conflict: > - ocw > - python 3.5* > Use "conda info " to see the dependencies for each package. > {code} > This is because the packages are built using Python 2.7 as per > https://anaconda.org/agoodman/ocw/files. > Seeing as all of our CI and smoke testing now runs off of Python 3.X, I > wonder if you are able to push an update to the conda files which compile > against Python3? -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Resolved] (CLIMATE-866) Create ocw conda package against Python3.x as well as Python 2.7
[ https://issues.apache.org/jira/browse/CLIMATE-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Goodman resolved CLIMATE-866. -- Resolution: Later See this PR: https://github.com/conda-forge/ocw-feedstock/pull/6 Builds are passing using the latest code from master, so this proves that this is possible. The actual packages will be put on conda-forge when 1.2.0 is released. > Create ocw conda package against Python3.x as well as Python 2.7 > > > Key: CLIMATE-866 > URL: https://issues.apache.org/jira/browse/CLIMATE-866 > Project: Apache Open Climate Workbench > Issue Type: Task > Components: conda >Affects Versions: 1.1.0 >Reporter: Lewis John McGibbney >Assignee: Alex Goodman >Priority: Critical > Fix For: 1.2.0 > > > Hi [~agoodman], I recently tried to use the conda package to install OCW. I > am using Miniconda3 and therefore Python3. When I run the conda install, I > get the following > {code} > lmcgibbn@LMC-032857 /usr/local/climate(master) $ conda install -c agoodman ocw > Fetching package metadata . > Solving package specifications: > The following specifications were found to be in conflict: > - ocw > - python 3.5* > Use "conda info " to see the dependencies for each package. > {code} > This is because the packages are built using Python 2.7 as per > https://anaconda.org/agoodman/ocw/files. > Seeing as all of our CI and smoke testing now runs off of Python 3.X, I > wonder if you are able to push an update to the conda files which compile > against Python3? -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Resolved] (CLIMATE-909) An example script to evaluate joint PDF of precipitation intensity and duration
[ https://issues.apache.org/jira/browse/CLIMATE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Huikyo Lee resolved CLIMATE-909. Resolution: Fixed > An example script to evaluate joint PDF of precipitation intensity and > duration > --- > > Key: CLIMATE-909 > URL: https://issues.apache.org/jira/browse/CLIMATE-909 > Project: Apache Open Climate Workbench > Issue Type: Improvement >Reporter: Huikyo Lee >Assignee: Huikyo Lee > Fix For: 1.2.0 > > > The new example script will calculate the JPDF with sample observation and > model datasets and compare the two JPDF. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CLIMATE-909) An example script to evaluate joint PDF of precipitation intensity and duration
[ https://issues.apache.org/jira/browse/CLIMATE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973587#comment-15973587 ] ASF GitHub Bot commented on CLIMATE-909: Github user asfgit closed the pull request at: https://github.com/apache/climate/pull/436 > An example script to evaluate joint PDF of precipitation intensity and > duration > --- > > Key: CLIMATE-909 > URL: https://issues.apache.org/jira/browse/CLIMATE-909 > Project: Apache Open Climate Workbench > Issue Type: Improvement >Reporter: Huikyo Lee >Assignee: Huikyo Lee > Fix For: 1.2.0 > > > The new example script will calculate the JPDF with sample observation and > model datasets and compare the two JPDF. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[GitHub] climate pull request #436: CLIMATE-909 - An example script to evaluate joint...
Github user asfgit closed the pull request at: https://github.com/apache/climate/pull/436 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Assigned] (CLIMATE-907) Fix VisibleDeprecationWarning's in ocw.tests.test_dataset_processor.TestTemporalSubset
[ https://issues.apache.org/jira/browse/CLIMATE-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney reassigned CLIMATE-907: Assignee: Huikyo Lee > Fix VisibleDeprecationWarning's in > ocw.tests.test_dataset_processor.TestTemporalSubset > -- > > Key: CLIMATE-907 > URL: https://issues.apache.org/jira/browse/CLIMATE-907 > Project: Apache Open Climate Workbench > Issue Type: Improvement > Components: regridding/data processing, tests >Reporter: Lewis John McGibbney >Assignee: Huikyo Lee > Fix For: 1.2.0 > > > {code} > test_temporal_subset_attributes > (ocw.tests.test_dataset_processor.TestTemporalSubset) ... > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:7801: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > result = self._func.__call__(*args, **params).view(MaskedArray) > /usr/local/climate/ocw/dataset_processor.py:90: VisibleDeprecationWarning: > using a non-integer number instead of an integer will result in an error in > the future > averaged_time.append(new_dataset.times[center_index]) > /usr/local/climate/ocw/dataset_processor.py:92: VisibleDeprecationWarning: > using a non-integer number instead of an integer will result in an error in > the future > nmonth * iyear: nmonth * iyear + nmonth, :], axis=0) > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3263: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _data[indx] = dval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3266: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _mask[indx] = mval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3289: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _data[indx] = dval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3290: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _mask[indx] = mval > ok > test_temporal_subset_equal_start_end_month > (ocw.tests.test_dataset_processor.TestTemporalSubset) ... > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:7801: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > result = self._func.__call__(*args, **params).view(MaskedArray) > /usr/local/climate/ocw/dataset_processor.py:90: VisibleDeprecationWarning: > using a non-integer number instead of an integer will result in an error in > the future > averaged_time.append(new_dataset.times[center_index]) > /usr/local/climate/ocw/dataset_processor.py:92: VisibleDeprecationWarning: > using a non-integer number instead of an integer will result in an error in > the future > nmonth * iyear: nmonth * iyear + nmonth, :], axis=0) > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3263: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _data[indx] = dval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3266: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _mask[indx] = mval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3289: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _data[indx] = dval > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:3290: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > _mask[indx] = mval > ok > test_temporal_subset_with_average_time > (ocw.tests.test_dataset_processor.TestTemporalSubset) ... > /Users/lmcgibbn/miniconda3/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py:7801: > VisibleDeprecationWarning: using a non-integer number instead of an integer > will result in an error in the future > result = self._func.__call__(*args, **params).view(MaskedArray) > /usr/local/climate/ocw/dataset_processor.py:90: VisibleDeprecationWarning: > using a non-integer number instead of an integer will result
[jira] [Updated] (CLIMATE-885) Upgrade to Podaacpy 1.9.0
[ https://issues.apache.org/jira/browse/CLIMATE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney updated CLIMATE-885: - Description: Podaacpy 1.9.0 is out so this should upgrade the dependency and also utilize granule subset functionality as well. (was: Podaacpy 1.7.0 is out so this should upgrade the dependency and also utilize granule subset functionality as well.) > Upgrade to Podaacpy 1.9.0 > - > > Key: CLIMATE-885 > URL: https://issues.apache.org/jira/browse/CLIMATE-885 > Project: Apache Open Climate Workbench > Issue Type: Improvement > Components: data sources >Reporter: Lewis John McGibbney >Assignee: Lewis John McGibbney > Fix For: 1.2.0 > > > Podaacpy 1.9.0 is out so this should upgrade the dependency and also utilize > granule subset functionality as well. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Resolved] (CLIMATE-905) Box whisker plot to evaluate simulate trends
[ https://issues.apache.org/jira/browse/CLIMATE-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney resolved CLIMATE-905. -- Resolution: Fixed > Box whisker plot to evaluate simulate trends > > > Key: CLIMATE-905 > URL: https://issues.apache.org/jira/browse/CLIMATE-905 > Project: Apache Open Climate Workbench > Issue Type: New Feature > Components: visualization >Affects Versions: 1.1.0 >Reporter: Huikyo Lee >Assignee: Huikyo Lee > Fix For: 1.2.0 > > > A new module to draw a box whisker plot and evaluate trends simulated by > multiple models will be added. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CLIMATE-906) Fix tests in master (podaacpy integrtion)
[ https://issues.apache.org/jira/browse/CLIMATE-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney updated CLIMATE-906: - Summary: Fix tests in master (podaacpy integrtion) (was: Fix tests in master) > Fix tests in master (podaacpy integrtion) > - > > Key: CLIMATE-906 > URL: https://issues.apache.org/jira/browse/CLIMATE-906 > Project: Apache Open Climate Workbench > Issue Type: Bug > Components: data sources >Reporter: Lewis John McGibbney >Assignee: Lewis John McGibbney > Fix For: 1.2.0 > > > It looks like the tests broke a while back in master. > {code} > == > ERROR: test_temporal_subset_attributes > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 67, in test_temporal_subset_attributes > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_equal_start_end_month > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 82, in test_temporal_subset_equal_start_end_month > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_with_average_time > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 50, in test_temporal_subset_with_average_time > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_with_average_values > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 57, in test_temporal_subset_with_average_values > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test suite for > -- > Traceback (most recent call last): > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 210, in run > self.setUp() > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 293, in setUp > self.setupContext(ancestor) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 316, in setupContext > try_run(context, names) > File >
[jira] [Updated] (CLIMATE-906) Fix tests in master (podaacpy integration)
[ https://issues.apache.org/jira/browse/CLIMATE-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney updated CLIMATE-906: - Summary: Fix tests in master (podaacpy integration) (was: Fix tests in master (podaacpy integrtion)) > Fix tests in master (podaacpy integration) > -- > > Key: CLIMATE-906 > URL: https://issues.apache.org/jira/browse/CLIMATE-906 > Project: Apache Open Climate Workbench > Issue Type: Bug > Components: data sources >Reporter: Lewis John McGibbney >Assignee: Lewis John McGibbney > Fix For: 1.2.0 > > > It looks like the tests broke a while back in master. > {code} > == > ERROR: test_temporal_subset_attributes > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 67, in test_temporal_subset_attributes > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_equal_start_end_month > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 82, in test_temporal_subset_equal_start_end_month > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_with_average_time > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 50, in test_temporal_subset_with_average_time > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test_temporal_subset_with_average_values > (ocw.tests.test_dataset_processor.TestTemporalSubset) > -- > Traceback (most recent call last): > File > "/home/travis/build/apache/climate/ocw/tests/test_dataset_processor.py", line > 57, in test_temporal_subset_with_average_values > average_each_year=True) > File "/home/travis/build/apache/climate/ocw/dataset_processor.py", line 83, > in temporal_subset > averaged_values = ma.zeros([nyear, ny, nx]) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/numpy/ma/core.py", > line 7887, in __call__ > result = self._func.__call__(*args, **params).view(MaskedArray) > TypeError: 'float' object cannot be interpreted as an integer > == > ERROR: test suite for > -- > Traceback (most recent call last): > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 210, in run > self.setUp() > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 293, in setUp > self.setupContext(ancestor) > File > "/home/travis/miniconda/envs/test-environment/lib/python3.5/site-packages/nose/suite.py", > line 316, in setupContext > try_run(context, names) > File >
[jira] [Resolved] (CLIMATE-893) Debugging wet_spell_analysis
[ https://issues.apache.org/jira/browse/CLIMATE-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney resolved CLIMATE-893. -- Resolution: Fixed > Debugging wet_spell_analysis > > > Key: CLIMATE-893 > URL: https://issues.apache.org/jira/browse/CLIMATE-893 > Project: Apache Open Climate Workbench > Issue Type: Bug >Reporter: Huikyo Lee >Assignee: Huikyo Lee > Fix For: 1.2.0 > > > There are errors in ocw.metrics.wet_spell_analysis. > For example, numpy library should not be abbreviated as np. > There are missing parenthesis when reshaping rainfall input array. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CLIMATE-885) Upgrade to Podaacpy 1.9.0
[ https://issues.apache.org/jira/browse/CLIMATE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lewis John McGibbney updated CLIMATE-885: - Summary: Upgrade to Podaacpy 1.9.0 (was: Upgrade to Podaacpy 1.7.0) > Upgrade to Podaacpy 1.9.0 > - > > Key: CLIMATE-885 > URL: https://issues.apache.org/jira/browse/CLIMATE-885 > Project: Apache Open Climate Workbench > Issue Type: Improvement > Components: data sources >Reporter: Lewis John McGibbney >Assignee: Lewis John McGibbney > Fix For: 1.2.0 > > > Podaacpy 1.7.0 is out so this should upgrade the dependency and also utilize > granule subset functionality as well. -- This message was sent by Atlassian JIRA (v6.3.15#6346)