Skip to content

Commit baddf74

Browse files
committed
Add measurements to pricing estimator
1 parent 7137219 commit baddf74

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

website/docs/pricing.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
This project is creating free and open-source software under the MIT license.
44
There are plenty of ways to run the workflow locally after downloading the [data](/background-gfm.html#data).
5-
However, the workflow can be also be executed with [openEO at EODC](https://editor.openeo.org/?server=openeo.eodc.eu%2Fopeneo%2F1.2.0%2F) by enabling experimental processes and searching for 'rqadeforestation'.
5+
However, the workflow can also be executed with [openEO at EODC](https://editor.openeo.org/?server=openeo.eodc.eu%2Fopeneo%2F1.2.0%2F) by enabling experimental processes and searching for 'rqadeforestation'.
66

77
## Price calculator
88

99
Please enter the spatio-temporal extent to be processed.
1010
The price will be estimated automatically.
1111

12-
Ressource estimation were based on the following assumptions:
12+
Resource estimations were based on the following assumptions:
1313

1414
- Sentinel-1 Sigma0 collection at 20m resolution in Equi7 projection
15-
- Satellite revisit period of 6 days, e.g., coverage in Europe
16-
- data is available in GeoTIFF format
17-
- files are located on a network share in the same data center
18-
- execution on a AMD EPIC MILAN CPU with 32GB RAM
19-
- execution of the Julia package within a REPL
15+
- Tile size is 15000x15000 pixels
16+
- Satellite revisit period of 6 days
17+
- Data is available in GeoTIFF format
18+
- Files are located on a network share in the same data center
19+
- Execution on an AMD EPIC MILAN CPU on 32 threads with 32GB RAM
20+
- 100% utilization of CPU and RAM (4 workers with 8 threads each)
21+
- execution of the Julia library [RQADeforestation.jl](https://github.com/EarthyScience/RQADeforestation.jl) within a REPL
2022

2123
<ClientOnly>
2224

@@ -48,13 +50,13 @@ Ressource estimation were based on the following assumptions:
4850

4951
<div v-if="error" style="color:#b00020;margin-top:0.4rem">{{ error }}</div>
5052

51-
<strong>Estimated runtime: {{ price }} min</strong>
53+
<strong>Estimated runtime: {{ runtime }} s</strong>
5254
</form>
5355
</ClientOnly>
5456

5557
<div class = "alert alert-warning">
5658
Please note that these results are not official offerings from any cloud provider.
57-
Estimates may vary depend on the area of interest, orbits to be analysed, and execution platform.
59+
Estimates may vary depending on the area of interest, orbits to be analysed, and execution platform.
5860
</div>
5961

6062
<script setup>
@@ -65,7 +67,7 @@ const end = ref('')
6567
const n_tiles = ref(1)
6668
const submitted = ref(false)
6769
const error = ref('')
68-
let price = 0
70+
let runtime = 0
6971

7072
const valid = computed(() => {
7173
if (!start.value || !end.value) return false
@@ -87,13 +89,11 @@ watch([start, end, n_tiles], () => {
8789
}
8890

8991

90-
const satellite_revisit_days = 6
91-
const runtime_per_tile = 0.12
92-
let duration_days = (Date.parse(end.value) - Date.parse(start.value)) * 1e-3 / 60 / 60 / 24
93-
let satellite_time_steps = duration_days / satellite_revisit_days
94-
95-
price = n_tiles.value * (satellite_time_steps^2) * runtime_per_tile
96-
price = Math.round(price * 10) / 10
92+
const runtime_per_year_per_tile_in_s = 384.673805
93+
const satellite_revisit_days = 6
94+
95+
let duration_years = (Date.parse(end.value) - Date.parse(start.value)) * 1e-3 / 60 / 60 / 24 / 365
96+
runtime = n_tiles.value * (duration_years*runtime_per_year_per_tile_in_s)^2
9797
})
9898

9999
onMounted(() => {

0 commit comments

Comments
 (0)