@@ -8,8 +8,15 @@ However, the workflow can be also be executed with [openEO at EODC](https://edit
88
99Please enter the spatio-temporal extent to be processed.
1010The price will be estimated automatically.
11- Please note that these results are not official offerings from any cloud provider.
12- Ressource estimation were based on the Sentinel-1 Sigma0 collection at 20m resolution in Equi7 projection at the EODC cloud.
11+
12+ Ressource estimation were based on the following assumptions:
13+
14+ - 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
1320
1421<ClientOnly >
1522
@@ -41,29 +48,15 @@ Ressource estimation were based on the Sentinel-1 Sigma0 collection at 20m resol
4148
4249 <div v-if =" error " style =" color :#b00020 ;margin-top :0.4rem " >{{ error }}</div >
4350
44- <tbody class =" form-floating mt-3 " >
45- <tr>
46- <td>
47- <strong>Estimated memory usage:</strong>
48- </td>
49- <td>
50- {{ price }} GB
51- </td>
52- </tr>
53- <tr>
54- <td>
55- <strong>Estimated runtime on one vCPU:</strong>
56- </td>
57- <td>
58- {{ price }} min
59- </td>
60- </tr >
61- </tbody >
51+ <strong >Estimated runtime: {{ price }} min</strong >
6252</form >
63-
64-
6553</ClientOnly >
6654
55+ <div class = " alert alert-warning " >
56+ 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.
58+ </div >
59+
6760<script setup >
6861import { ref , computed , onMounted , watch } from ' vue'
6962
@@ -72,7 +65,7 @@ const end = ref('')
7265const n_tiles = ref (1 )
7366const submitted = ref (false )
7467const error = ref (' ' )
75- let price = 1337
68+ let price = 0
7669
7770const valid = computed (() => {
7871 if (! start .value || ! end .value ) return false
@@ -82,18 +75,25 @@ const valid = computed(() => {
8275})
8376
8477watch ([start, end, n_tiles], () => {
85- error .value = ' '
78+ error .value = " "
8679 if (start .value && end .value && start .value > end .value ) {
87- error .value = ' Start date must be on or before end date.'
80+ error .value = " Start date must be on or before end date."
81+ }
82+ if (Date .parse (start .value ) < Date .parse (" 2014-10-01" )) {
83+ error .value = " Data only available after Oct 2014"
8884 }
8985 if (! Number .isInteger (n_tiles .value )) {
90- error .value = ' Count must be an integer.'
86+ error .value = " Count must be an integer."
9187 }
9288
93- let days = (Date .parse (end .value ) - Date .parse (start .value )) * 1e-3 / 60 / 60 / 24 / 365
9489
95- price = n_tiles .value * days * 100 * 1.00123
96- price = Math .round (price * 100 ) / 100
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
9797})
9898
9999onMounted (() => {
0 commit comments