This repository was archived by the owner on Aug 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelly_loadFromURL.html
More file actions
48 lines (36 loc) · 1.5 KB
/
welly_loadFromURL.html
File metadata and controls
48 lines (36 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
<py-env>
- pandas
- 'https://files.pythonhosted.org/packages/bf/5d/b1b7297c38c9fb1c9bbd9d00e30dad413b9951e2a62f9a49dc5dc1dfb4a2/welly-0.5.2-py3-none-any.whl'
- 'https://files.pythonhosted.org/packages/a3/f6/5e9fd182a0ab82bc76d2d1a3e8102db48325fc4dece54fb7848ca87272eb/lasio-0.29-py2.py3-none-any.whl'
</py-env>
</head>
<body>
<p>Hello, this is a test page</p>
<p>It may be helpful to watch what is happening in the browser's console. Right click and select inspector.</p>
<div id="altair" style="width: 100%; height: 100%"></div>
<py-script output="altair">
<!-- from datetime import datetime
now = datetime.now()
now.strftime("%m/%d/%Y, %H:%M:%S") -->
<!-- import lasio
import lasio.examples
las = lasio.examples.open("1001178549.las")
well_test = las.well
print("well", well_test)
-->
import welly as welly
from welly import Well, Project
text = welly.las.file_from_url("https://raw.githubusercontent.com/JustinGOSSES/MannvilleGroup_Strat_Hackathon/master/SPE_006_originalData/OilSandsDB/Logs/00-10-20-072-14W4-0.LAS")
print("text",text)
<!-- w = Well.from_las("00-01-01-073-05W5-0.LAS") -->
<!-- print(f"A: {w}") -->
<!-- gr = w.data['GR'] # One log...
gr.plot() # ...with some superpowers! -->
print("this is a test statement from Python that will print if no errors above")
</py-script>
</body>
</html>