climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huiky...@apache.org
Subject [1/2] climate git commit: CLIMATE-724 - Debugging load_dataset_from_multiple_netcdf_files
Date Mon, 25 Jan 2016 18:46:31 GMT
Repository: climate
Updated Branches:
  refs/heads/master c943988d2 -> a9dab5b49


CLIMATE-724 - Debugging load_dataset_from_multiple_netcdf_files

- ocw.data_source.local.load_dataset_from_multiple_netcdf_files has been fixed.


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

Branch: refs/heads/master
Commit: 70216edf039fe73a51aafd7dfc98e3b3147b4643
Parents: d9e3c7e
Author: huikyole <huikyole@argo.jpl.nasa.gov>
Authored: Mon Jan 25 10:37:57 2016 -0800
Committer: huikyole <huikyole@argo.jpl.nasa.gov>
Committed: Mon Jan 25 10:37:57 2016 -0800

----------------------------------------------------------------------
 ocw/data_source/local.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/70216edf/ocw/data_source/local.py
----------------------------------------------------------------------
diff --git a/ocw/data_source/local.py b/ocw/data_source/local.py
index 34738ac..2ae1fd1 100644
--- a/ocw/data_source/local.py
+++ b/ocw/data_source/local.py
@@ -406,9 +406,9 @@ def load_WRF_2d_files_RAIN(file_path=None,
     times2 = numpy.array(times2)
     return Dataset(lats, lons, times2, values, variable_name, units=variable_unit, name=name)
 
-def load_dataset_from_multiple_netcdf_files(file_list, variable_name,
+def load_dataset_from_multiple_netcdf_files(variable_name, 
                                             lat_name=None, lon_name=None, time_name=None,
-                                            name='', file_path=None, filename_pattern=None,
+                                            name='', file_list=None, file_path=None, filename_pattern=None,
                                             mask_file=None, mask_variable=None, mask_value=0):
     ''' Load multiple netCDF files from the same source (an observation or a model) into
a Dataset.
     The dataset can be spatially subset.


Mime
View raw message