civicmapper / bard-hydropower Goto Github PK
View Code? Open in Web Editor NEWEstimate the power potential of microhydropower installations using geodata.
Home Page: http://bard-hydropower.civicmapper.com
License: GNU General Public License v3.0
Estimate the power potential of microhydropower installations using geodata.
Home Page: http://bard-hydropower.civicmapper.com
License: GNU General Public License v3.0
Display delineated watershed on map. Make sure that layer is included in a layer list so it can be turned on/off.
Issue 1 Title of calculator should be “Microhydropower Calculator”
Why US DOE standardized on the term without the hyphen
https://energy.gov/energysaver/buying-and-making-electricity/microhydropower-systems )
What Change the title
For the demo, consider replacing existing ElevationProfile GP calls with a custom query to https://elevation.its.ny.gov/arcgis/rest/services/USGS_3County2014_1_meter/ImageServer/identify.
Why: A majority of the site visitors will be unfamiliar with the metric system
What: Switch out labels and reprogram the algorithms to return English system. Alternatively, make the measurement system user-selectable.
Also, label the “Environmental Flow” with its metric type (cubic feet per second, cubic meters per second, percent of stream flow, etc...)
About, Help, and How This Works tabs in the about modal need content.
I think with a hosted AGOL resource proxy, I can drop the Flask portion of this application and still use Esri premium services for the watershed and elevation profile fallback. That would vastly simplify builds, deployment, and hosting (I could even run it from a gh-pages
branch here).
It would require:
Other layers to include:
Depending on what's available for terrain, it may make sense to utilize a second basemap layer to overlay on the imagery, rather then pull in several separate and potentially heavy layers.
Layer control will also need to be implemented to turn these things on/off. Transparency adjustment is a plus.
Issue 4 Make finding a site easier
Why The site is for all New Yorkers. The current default view is a closeup of the Bard site with no easily
identifiable landmarks which is confusing perhaps even to Bard students/faculty.
What Use the Streets base map at Level 7 showing the entire state of New York. Add an address finder box which would
zoom to that location if found.
Client mentioned need to reflect disclaimer content that is on the main website here.
Consider a separate results modal that is enabled once the calculation is complete.
This could contain:
Lots of stuff here from the boilerplate code we started with that can go; particularly anything related to database or authentication, since we're not going to manage either of those things locally.
register
, login
, logout
, send_data
, login_required
, user_loader
bcrypt
, sqlalchemy
models.py
, forms.py
Enable this and display it...somewhere. Consider a separate results modal that is enabled once the calculation is complete (would also contain all the parameters used, maybe even an overview map of the watershed delineation)
Add Contours and Hillshade from available NYS GIS service endpoints.
Move calculator logic from client- to server-side; create an API endpoint from which it can be accessed; call that endpoint from within the client-side script.
This will enable us to expose the logic to the main Bard Hydro website, and also will make #3 easier to do.
(client request)
Issue 2: If a negative head is derived, use the absolute value of the head height.
Why: The visitor probably started at the upstream location when drawing their line. Showing a negative number makes the site seem unreliable which could to turn the visitor off to renewable energy or make it seem too hard to investigate further. What Also display a suggestion pop-up and switch the Head toggle from “Map” to “Form” if the result seems out-of-kilter.
Stand up new GP Services that utilize LiDAR from the Saw Kill Watershed. Point this map to those services instead.
Issue 5 Allow the base map to be toggled between Imagery and World Topographic at Level 18 during line drawing
Why Level 18 will give the visitor sufficient detail to place their line in order to gain more accuracy.
What Add a base map selector.
A
: calculated from watershed delineation GP service, but should be tweak-able by the userh
: calculated from the elev profile GP service but this could be messy/inaccurate if the topographic data is coarsex
: environmental flow requirement (default is 0.3
, range options from 0.1-0.5
)e
: efficiency. default is 0.7
, but they can put in whatever they want.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.