{"id":20885324,"url":"https://github.com/lab11/powerwatch-site-selection","last_synced_at":"2026-04-19T16:37:18.995Z","repository":{"id":83356385,"uuid":"196309011","full_name":"lab11/powerwatch-site-selection","owner":"lab11","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-20T14:16:01.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-19T10:43:32.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-11T02:53:36.000Z","updated_at":"2019-08-21T01:04:04.000Z","dependencies_parsed_at":"2023-03-12T18:07:38.443Z","dependency_job_id":null,"html_url":"https://github.com/lab11/powerwatch-site-selection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerwatch-site-selection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerwatch-site-selection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerwatch-site-selection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fpowerwatch-site-selection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/powerwatch-site-selection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243267284,"owners_count":20263799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:13:09.047Z","updated_at":"2025-12-26T17:03:29.104Z","avatar_url":"https://github.com/lab11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# powerwatch-site-selection\nTreatment and control site selection starter guide\n\nThis guide is aimed to set up the requirements for building a low voltage distribution line network and execture the code which generates treatment and control sites\n\nSystem requirements:\nArcmap is required to run each of the programs\nArcGIS license can be obtained through UC Berkeley\nArcGIS runs exclusively on windows. Running in a Mac requires either a virtual machine or a remote desktop\nIf running on a personal Mac, setting up a remote desktop through AWS is preferrable as it does not require an external hard drive or partitioning\n\n\nSteps to install ArcGIS:\nDownload ArcGIS through the UC Berkeley software portal\nObtain software license through the Berkeley Geospatial Innovaition Facility (GIF). This can be done over email\n\tGIF is a local resource which can help troubleshoot GIS problems\n\tAppointments for consultation can be set up through the GIF online portal http://gif.berkeley.edu/support/office_hours.html\nInstall ArcGIS Suite and enter license\nExtensions required for the analysis are the Network Analyst and Spatial Analyst\n\n\nLoading desired files into ArcMap:\nLaunch ArcMap and create a blank document\nIn the launch window, you can select the default geodatabase where all of the intermadiate files are stored. The default is the ArcGIS default geodatabase\nIn the ArcCatalog window, connect to the root folder where the desired Accra shapefiles are saved. Here you can browse files and add data to the workspace window\nLocate the files by either dragging files from the Catalog window into the workspace or using the \"Add Data\" feature and locating the files\n\nIf a network dataset for a district in question exists, loading the network dataset into the workspace (dataframe) will prompt asking to load the associated feature classes (shapefiles). Agree to this\nWhen running the python script for the analysis, variables associated with layers can either be set by locating their path or by referring to loaded layers by their name in single quotes i.e 'Existing_transformers'\n\n\nRunning python scripts:\nThe python script window allows you to run essential ArcMap functions. Arcpy functions essentially choose ArcGIS tools, set the inputs, outputs, and settings, and then run the function\nOpen Python window in ArcMap\nAlternatively, you can use the python console, but this requires additional setup to integrate with ArcMap which is not covered in this tutorial\nIn this window you can write or paste any code from the programs provided\nBefore running the script, you can check each command, and a description of the command and inputs will appear in the console to the right\n\n# To Access Encrypted Data\n\nThere is a keybase encrypted data repository that we use internally. It is\nplaced as a submodule of this repo. To access it you must first be part of the\ngridwatch keybase team, then run:\n\n```\n$ git config --global --add protocol.keybase.allow always\n```\n\nin your terminal to enable git to transport keybase repos as submodules.\n\nIf you do both of these things then\n\n```\n$ git clone --recursive git@github.com:lab11/powerwatch-site-selection\n```\nshould work as expected. If you already have the repository you can run:\n\n```\n$ git submodule update --init --recursive\n```\n\nto get the submodule.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fpowerwatch-site-selection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fpowerwatch-site-selection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fpowerwatch-site-selection/lists"}