Author: joyce
Date: Wed May 29 22:34:02 2013
New Revision: 1487658
URL: http://svn.apache.org/r1487658
Log:
Resolves CLIMATE-40 - Add regrid attribute when adding datasets
- Adds "regrid" attribute to dataset object when the user adds a new
dataset. This will be used to indicate what dataset spatial regridding
should be based off of.
Modified:
incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js
Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js
URL:
http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js?rev=1487658&r1=1487657&r2=1487658&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/app.js Wed May 29 22:34:02
2013
@@ -28,6 +28,8 @@ angular.module('rcmes', []).
// All datasets need a shouldDisplay attribute
that is used when rendering
// the overlays on the map!
dataset.shouldDisplay = true;
+ // The regrid attribute indicates which dataset
should be used for spatial regridding
+ dataset.regrid = false;
datasets.push(dataset);
},