-
Notifications
You must be signed in to change notification settings - Fork 36
How to Link Obs Well and Aquifer Numbers
fieranmason edited this page Jan 4, 2018
·
5 revisions
Not all groundwater observation wells and aquifer numbers are available to link to so we must keep inclusion lists in the system so that we know when to provide a link to external systems. Here are the steps to obtain lists of wells and aquifers GWELLS can link to.
- Go to the Obs Well Interactive Map
- Zoom out to view all of B.C.
- Click on the 'Select' tool
- Using the select tool, highlight all active and inactive observation wells in B.C.
- Use the select tool options to export the data
- Export the data for both active and inactive wells as CSV
- For each of the generated CSVs extract the obswellcode field.
- With each of these columns generate a new CSV with the data including the header.
- Name these files featuresActiveReduced.csv and featuresInactiveReduced.csv
- Include these files in the database/external data folder of the gwells clone
- Clean up the data by hand ... do left padding of zeros and remove empty rows.
- Run database/cron/post-deploy.sh
- Go to the Aquifer Classification Database
- Add checkmarks to the aquifer number and aquifer description boxes
- Add % to the aquifer number field
- Click submit to see the full list
- Copy the list into a spreadsheet.
- Filter out row for which there is no report
- Copy the filtered row to a new sheet.
- Rename the Aq. No column to aquifer_id in the new sheet.
- Export the new sheet as a CSV
- Save the generated CSV to database/external-data in the gwells clone as AquiferWithDescription.csv
- Run database/cron/post-deploy.sh
All aquifers with a blank aquifer description field do not have a downloadable report.
- Working on GWELLS (full workflow from writing code to deploying to prod)
- Water terminologies
- Testing
- Swagger Documentation
- Restore a database backup manually
- (Archived) Manual Syncing of DEV to TEST to PROD
- (Archived) Setup GWells data migration for local dev test
- Update PostGres Oracle Foreign Data Wrapper image
- Increase PostgreSQL Database storage
- (Archived) Regular Corruption of the PostgreSQL DB
- (Archived) Recovering from a corrupt PostgreSQL Database