CLIMATE-770 - Make boundary checking optional in spatial_regridã - A new optional key, monotonic_grids, in run_RCMES configuration files - boundary_check becomes optional in dataset_processor.spatial_regrid
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/9779eeb5 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/9779eeb5 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/9779eeb5 Branch: refs/heads/master Commit: 9779eeb5eeae57facc3d02ab00b13a96bbcb6284 Parents: d10bc1e Author: huikyole <[email protected]> Authored: Tue Mar 1 19:35:00 2016 -0800 Committer: huikyole <[email protected]> Committed: Tue Mar 1 19:35:00 2016 -0800 ---------------------------------------------------------------------- RCMES/run_RCMES.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/9779eeb5/RCMES/run_RCMES.py ---------------------------------------------------------------------- diff --git a/RCMES/run_RCMES.py b/RCMES/run_RCMES.py index bbbb84b..4500fb6 100644 --- a/RCMES/run_RCMES.py +++ b/RCMES/run_RCMES.py @@ -94,7 +94,8 @@ if 'longitude_name' in model_data_info.keys(): model_lon_name = model_data_info['longitude_name'] boundary_check_model = True if 'GCM_data' in model_data_info.keys(): - boundary_check_model = ~model_data_info['GCM_data'] + if model_data_info['GCM_data']: + boundary_check_model = False print 'Loading model datasets:\n',model_data_info if model_data_info['data_source'] == 'local': model_datasets, model_names = local.load_multiple_files(file_path = model_data_info['path'],
