This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| from ghapi.all import GhApi | |
| #import os | |
| import math | |
| #github_token = os.getenv('GITHUB_TOKEN') | |
| api = GhApi(token='GITHUB_TOKEN') | |
| current_user_object = api.users.get_authenticated() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| camp | located_in | group_targetted | lat | lon | exact_coords_yes_no | |
|---|---|---|---|---|---|---|
| Shawai Nala (Muzaffarabad) | POJK | Lashkar-e-Taiba | 34.39671119032907 | 73.47788485554182 | no | |
| Syedna Bilal (Muzaffarabad) | POJK | Jaish-e-Mohammed | 34.38587774351754 | 73.45700614555966 | yes | |
| Maskar Raheel Shahid (Gulpur-Kotli) | POJK | Hizbul Mujahideen | 33.4198011247363 | 73.8644775159725 | no | |
| Markaz Ahle Hadith (Barnala-Bhimber) | POJK | Lashkar-e-Taiba | 32.8678076691259 | 74.2564162574358 | yes | |
| Markaz Abbas (Kotli) | POJK | Jaish-e-Mohammed | 33.508449951916454 | 73.90642197835867 | yes | |
| Markaz Subhan Allah (Bahawalpur) | Pakistan | Jaish-e-Mohammed | 29.373529612846593 | 71.61818511212849 | yes | |
| Markaz Taiba (Muridke) | Pakistan | Lashkar-e-Taiba | 31.838321171857793 | 74.2597458813008 | yes | |
| Tehra Kalan (Sarjal) | Pakistan | Jaish-e-Mohammed | 32.360344435076456 | 75.12502040292317 | yes | |
| Mehmoona Joya (Sialkot) | Pakistan | Hizbul Mujahideen | 32.6171140707177 | 74.50562724774151 | yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| date | temp_avg | |
|---|---|---|
| 19740101 | 13.8 | |
| 19740102 | 10.0 | |
| 19740103 | 12.0 | |
| 19740104 | 12.6 | |
| 19740105 | 13.6 | |
| 19740106 | 14.7 | |
| 19740107 | 13.3 | |
| 19740108 | 15.3 | |
| 19740109 | 14.8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # contents of bbc_update_urls.csv | |
| # show,episode_url,episode_date | |
| # radio2_folk_show,https://www.bbc.co.uk/sounds/play/m001v4yp,2024-01-17 | |
| # radio6_new_music,https://www.bbc.co.uk/sounds/play/m001v50p,2024-01-19 | |
| # radio3_music_planet,https://www.bbc.co.uk/sounds/play/m001v3yn,2024-01-13 | |
| # radio1_best_new_pop,https://www.bbc.co.uk/sounds/play/m001v4rp,2024-01-19 | |
| # radio1_rock_show,https://www.bbc.co.uk/sounds/play/m001v2mp,2024-01-15 | |
| # radio6_the_morning_after_mix,https://www.bbc.co.uk/sounds/play/m001v4jv,2024-01-14 | |
| # radio1_the_chillest_show,https://www.bbc.co.uk/sounds/play/m001v2r0,2024-01-14 | |
| # radio6_gilles_peterson_show,https://www.bbc.co.uk/sounds/play/m001v4hp,2024-01-13 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| authority_level | local_body_name | district | rise_in_2pm_temp | |
|---|---|---|---|---|
| municipality | Erattupetta | Kottayam | 1.7 | |
| municipality | Thrikkakara | Ernakulam | 1.6 | |
| municipality | Thodupuzha | Idukki | 1.6 | |
| municipality | Muvattupuzha | Ernakulam | 1.5 | |
| municipality | Perumbavoor | Ernakulam | 1.4 | |
| municipality | Pala | Kottayam | 1.4 | |
| municipality | Ettumanoor | Kottayam | 1.4 | |
| municipality | Paravur | Ernakulam | 1.4 | |
| municipal_corporation | Kollam | Kollam | 1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # the lulc class codes will be in the 'class_new' band. What those codes represent can be seen in the url below | |
| # https://bhuvan-vec2.nrsc.gov.in/bhuvan/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=application/json&WIDTH=20&HEIGHT=20&LAYER=lulc:KL_LULC50K_1112 | |
| # use the 'red_new', 'green_new' and 'blue_new' bands to visualise the data | |
| # Be aware there will be a bhuvan watermark, usually bottom-right, tried to encode it as white (255,255,255) | |
| # and lulc class code 99 | |
| from rasterio.io import MemoryFile | |
| import requests | |
| import json | |
| import rioxarray |