CLIMATE-948 cleanup podaac_datasource to accomodate Podaacpy 2.1.0

Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/fd8ca98c
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/fd8ca98c
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/fd8ca98c

Branch: refs/heads/master
Commit: fd8ca98c558bbcb68aa0cd6c236f0a81c0fcb47c
Parents: 5d980b4 ad5757d
Author: Lewis John McGibbney <lewis.mcgibb...@gmail.com>
Authored: Mon Jun 4 14:24:10 2018 -0700
Committer: Lewis John McGibbney <lewis.mcgibb...@gmail.com>
Committed: Mon Jun 4 14:24:10 2018 -0700

----------------------------------------------------------------------
 ocw/data_source/podaac_datasource.py | 24 ++++++++++--------------
 ocw/tests/test_podaac.py             |  4 ++--
 2 files changed, 12 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/fd8ca98c/ocw/data_source/podaac_datasource.py
----------------------------------------------------------------------
diff --cc ocw/data_source/podaac_datasource.py
index 252b199,3002567..1efbd2c
--- a/ocw/data_source/podaac_datasource.py
+++ b/ocw/data_source/podaac_datasource.py
@@@ -54,9 -54,9 +54,10 @@@ def list_available_level4_extract_granu
  
      '''
      podaac_utils = PodaacUtils()
-     return podaac_utils.list_all_available_extract_granule_dataset_ids()
+     return podaac_utils.list_level4_dataset_ids()
  
- def subset_granule(variable, dataset_id='', name='', path='/tmp', 
input_file_path=''):
++
+ def subset_granule(variable, name='', path='/tmp', input_file_path=''):
      '''Subset Granule service allows users to Submit subset jobs. \
          Use of this service should be preceded by a Granule Search in \
          order to identify and generate a list of granules to be subsetted.

Reply via email to