resolve CLIMATE-260: trim any fractional seconds information from time variable before decoding

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515638 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 2873c1661edf010d2f7b9dcf878995e258dae349
CLIMATE-137 - Reintegrating refactoring branch into trunk.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515826 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 0fe44a97f4695ecfe72054ffdb2b54d2b9c63d9e
CLIMATE-266: Fixed the imports for local.py and test_local.py

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515880 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 86d8f063354f0e758c772088d8bec254fdd5b8b2
Cleaning up other import issues with modules not using the 'ocw' package name.

Added in __init__.py to make the data_source folder into a module.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515886 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 3307b492e19452e504eb1818eb46234145d0f830
CLIMATE-267 - Add input validation to Dataset

- Dataset checks that the input arrays have the proper shape and that
  the values array shape matches the lengths of the relevant component
  arrays.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515902 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 7036ac0b4d56d60950e736d8fb7c4dccb39e6333
CLIMATE-267 - Add tests for Dataset input validation

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515903 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: a7a967cba53c891d161e71f3dbb76b0c2c3944d3
CLIMATE-269 - Fix dataset_processor import

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515904 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: ead9146d2c1fe138631a6dd46d31d501348376f1
CLIMATE-272:  Updated the db.py code to use the local netCDF files from the local cache.
I also added in a small print statement to help users see RCMED data fetch processing.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1515981 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 7e66a568a0487b49fdceb8cca5a949b348e3f4ff
Now local.py can guard the 4D value array and convert it to 3D array. It can find the 'level' index in shpae of values and reshape it to (time, lat, lon)

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516182 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 43ec4df6bed313eb6e025991cb7cb540dd7156bc
CLIMATE-268:  In progress.  Adding the examples directory with the first example of an end-to-end use of the new OCW API.
This includes two NetCDF Files that are used by the code, and will provide input into how the new OCW data_source/local.py
should work with CORDEX data.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516188 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 77f9e739fe399ddb4a8adf8dd58990c6049bdfa5
Test for local.py now supports the changes in local.py such as testing values in 3D array. Also all the tests for functions that are not public have been removed. More test options will come soon.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516189 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 296f6ef770064eaf30259daa862210f69f53dd31
CLIMATE-273 - Fix bad data_source.local imports

- Change the invalid import of from data_source.local import * to the
  properly pathed import ocw.data_source.local as local.
- Fix the scoping of the load_file calls so they are referenced properly
  given the changed format of the local import.
- Fix the creation of datetime objects so their calls are properly
  scoped. Now they actually work instead of crashing out.

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516201 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 6e7b3d86cd513c260321fc998b2f5b3c5af9a4e0
CLIMATE-247: add divs to make the AngularJS UI easily skinnable 

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516521 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 09a587fd2cf5421e4787b79f7b786810326314fd
CLIMATE-275: Fix Timeline bug

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516527 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: a7dde5946a415950e06d80a665e6882379c4656a
CLIMATE-268: Cam, me and Mike improved local.py to guard the 4D array of values and convert that to 3D array, and also it checks for dimensions of lat, lon and time to make sure they are 1D array. The test_local.py has been updated and passes all tests 

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516637 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 6401acbc0a8252e45bde2e4ebae164a6f59c04dd
 CLIMATE-277 - service '/static/evalResults/' should take a path input

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1516640 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: bf128c83d32db7a1355b58eedad0963c3faf5a32
CLIMATE-136 - Remove RCMES references from Easy_RCMET

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1517591 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 4db5982a6b629d9b2f69ad300629f6a28059f7de
CLIMATE-274 Improve the Exceptions thrown by Dataset class

Now the Dataset class will throw an error with information about
why the error was thrown.  These are usually related to incoming
data being the wrong shape, or multi-dimensional data given in
the wrong order.



git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1517592 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 0c0bf0a5e96709cb1a7fc86a78dbf7174cf4afdc
CLIMATE-136 - Rename Easy RCMET to Easy OCW

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1517598 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 43e7531b1cf41fd0ba4006b8164bad5e39249ca5
CLIMATE-253 - Fix post-install instructions in Easy OCW

git-svn-id: https://svn.apache.org/repos/asf/incubator/climate/trunk@1517605 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 3a334d35d5cc67bd86c3eddaf26595989a9c4b10