File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " code" ,
5+ "execution_count" : null ,
6+ "metadata" : {},
7+ "outputs" : [],
8+ "source" : [
9+ " import malariagen_data"
10+ ]
11+ },
12+ {
13+ "cell_type" : " code" ,
14+ "execution_count" : null ,
15+ "metadata" : {},
16+ "outputs" : [],
17+ "source" : [
18+ " ag3 = malariagen_data.Ag3(\n " ,
19+ " \" simplecache::gs://vo_agam_release_master_us_central1\" ,\n " ,
20+ " simplecache=dict(cache_storage=\" ../gcs_cache\" ),\n " ,
21+ " )\n " ,
22+ " ag3"
23+ ]
24+ },
25+ {
26+ "cell_type" : " code" ,
27+ "execution_count" : null ,
28+ "metadata" : {},
29+ "outputs" : [],
30+ "source" : [
31+ " geojson = ag3.cohort_geometries(cohort_set=\" admin1_year\" )"
32+ ]
33+ },
34+ {
35+ "cell_type" : " code" ,
36+ "execution_count" : null ,
37+ "metadata" : {},
38+ "outputs" : [],
39+ "source" : [
40+ " type(geojson)"
41+ ]
42+ },
43+ {
44+ "cell_type" : " code" ,
45+ "execution_count" : null ,
46+ "metadata" : {},
47+ "outputs" : [],
48+ "source" : [
49+ " geojson.keys()"
50+ ]
51+ },
52+ {
53+ "cell_type" : " code" ,
54+ "execution_count" : null ,
55+ "metadata" : {},
56+ "outputs" : [],
57+ "source" : [
58+ " len(geojson[\" features\" ])"
59+ ]
60+ },
61+ {
62+ "cell_type" : " code" ,
63+ "execution_count" : null ,
64+ "metadata" : {},
65+ "outputs" : [],
66+ "source" : [
67+ " for f in geojson[\" features\" ][:3]:\n " ,
68+ " print(f[\" properties\" ])"
69+ ]
70+ }
71+ ],
72+ "metadata" : {
73+ "kernelspec" : {
74+ "display_name" : " Python 3 (ipykernel)" ,
75+ "language" : " python" ,
76+ "name" : " python3"
77+ },
78+ "language_info" : {
79+ "name" : " python" ,
80+ "version" : " 3.10.0"
81+ }
82+ },
83+ "nbformat" : 4 ,
84+ "nbformat_minor" : 4
85+ }
You can’t perform that action at this time.
0 commit comments