First draft of a color scalebar that queries ncWMS for the image and bounds and draws an element on the map
Update hydro portal metadata
Fix metadata headers
Use metadata filename attribute to define download/metadata links
Second revision of the color scalebar control for the pdp raster portal:
+ Modified it to use pdp_util.raster.RasterMetadata app instead of ncWMS
+ hooked up the layer event handler to refresh the scale bar with the layer changes
+ added the div to the main map template
+ initialized the control on the bc_prism map
Fixed the styling to not show the element border unless the control has been initialized
Changed the colorbar control's metadata URL to be relative to the present page (such that it will work for all pdp pages)
Enabled check for log scale when computing the scale's midpoint
Added raster metadata apps to the vic_gen1, bccaq_extremes, and bcsd_downscale apps as well as enabling the colorbar in their *_map.js files
Merge branch 'feature/2.2.0-dev_color_scalebar' into cleanup
Added EnsembleMemberLister subclasses to portal specific modules
Added a variable names map to the PRISM controls js page
Wrote static error pages for three cases: server maintenance, services (database, disks) unavailable, internal server error
Re-style the colorbar
Bump version to 2.2.0-rc1
Added a mod_python error handler script
+ apache can be configured to use this
+ differentiates between classes of errors
+ displays the error pages
Updated tests/test_error.py to adhere to the new error conventions for missing resource files (503 Service Unavailable error)
Added code in the error handling middleware to ensure that we log tracebacks to all exceptions and added one tests case for the general Exception on app instantiation
Moved all of the error handling pages/code that are used for configuring apache into a root level "apache" directory
Merge branch 'feature/2.2.0-error_handling' into dev