1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "assets": [
10 {
11 "lat": 37.187,
12 "lon": -86.1,
13 "label": "Mammoth Cave, KY - Mississippian limestone (karst hidden behind a generic generalized lithology)",
14 },
15 {
16 "lat": 36.38,
17 "lon": -120.75,
18 "label": "Clear Creek, CA - serpentinite (naturally-occurring asbestos)",
19 },
20 {
21 "lat": 42.15,
22 "lon": -123.7,
23 "label": "Josephine Ophiolite, OR - peridotite (ultramafic, hierarchy-only signal)",
24 },
25 {
26 "lat": 27.85,
27 "lon": -81.95,
28 "label": "Bone Valley, FL - phosphorite (radon parent rock)",
29 },
30 {
31 "lat": 39.9,
32 "lon": -102.5,
33 "label": "Eastern Colorado plains - Peoria loess (collapsible soil)",
34 },
35 {
36 "lat": 39.05,
37 "lon": -108.3,
38 "label": "Grand Mesa, CO - mapped landslide and colluvial deposits",
39 },
40 {
41 "lat": 32.4,
42 "lon": -87.3,
43 "label": "Alabama Black Belt - Mooreville Chalk, Coastal Plain Province",
44 },
45 {
46 "lat": 33.3,
47 "lon": -113.6,
48 "label": "La Posa Plain, AZ - playa and alluvial fines (soft compressible ground)",
49 },
50 {
51 "lat": 61.2,
52 "lon": -149.9,
53 "label": "Anchorage, AK - outside SGMC coverage (demonstrates the null-not-false contract)",
54 },
55 ],
56 "bufferMeters": 500,
57 "maxResults": 1000,
58}
59
60
61run = client.actor("malonestar/usgs-bedrock-geology-lithology-screener").call(run_input=run_input)
62
63
64print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
65for item in client.dataset(run["defaultDatasetId"]).iterate_items():
66 print(item)
67
68