Skip to content

Commit 8db2db8

Browse files
jorgesicachanrroot
and
root
authored
Remove aggregate_map and migration_time (#137)
* Remove aggregate_map and migration_time * Remove Grid3dMigrationTime and Grid3dAggregateMap from forward_models/__init__-py * Remove Grid3dMigrationTime and Grid3dAggregateMap from forward_models/__init__-py * forward_models/Restore grid3d_average_map.py * Remove Grid3dMigrationTime and Grid3dAggregateMap from forward_models/__init__-py * Update README.md * Update documentation --------- Co-authored-by: root <root@NR-JKY93M3>
1 parent 0add100 commit 8db2db8

30 files changed

+2
-1690
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Various scripts for generating maps from 3D grid properties.
1313
|-------------------------|---------------------|
1414
| `grid3d_hc_thickness` | Make Hydrocarbon thickness maps from Eclipse and/or Roff input |
1515
| `grid3d_average_map` | Make average maps from a 3D grid parameter, Eclipse or Roff input |
16-
| `grid3d_aggregate_map` | Make aggregated maps (min/max/mean/sum) from a 3D grid parameter, Eclipse or Roff input |
17-
| `grid3d_migration_time` | Make migration time maps aimed at tracking plume migration in CCS applications |
16+
1817

1918
## Features
2019

docs/examples.rst

-51
Original file line numberDiff line numberDiff line change
@@ -269,54 +269,3 @@ required for average data, and properties must occur under ``properties:``
269269

270270
.. literalinclude:: ../docs/test_to_docs/avgdataio1a.yml
271271
:language: yaml
272-
273-
Aggregate example 1
274-
"""""""""""""""""""
275-
276-
Minimal aggregation example, doing a "maximum" aggregation across all layers
277-
278-
.. literalinclude:: ../tests/yaml/aggregate1.yml
279-
:language: yaml
280-
281-
Aggregate example 2
282-
"""""""""""""""""""
283-
284-
Example using "minimum" aggregation. Zonation is provided in a property file, and ``eclroot:`` is
285-
used as an alias
286-
287-
.. literalinclude:: ../tests/yaml/aggregate2.yml
288-
:language: yaml
289-
290-
Aggregate example 3
291-
"""""""""""""""""""
292-
293-
Example using "mean" aggregation and explicit map settings
294-
295-
.. literalinclude:: ../tests/yaml/aggregate3.yml
296-
:language: yaml
297-
298-
Aggregate example 4
299-
"""""""""""""""""""
300-
301-
Example using an interval-based zonation
302-
303-
.. literalinclude:: ../tests/yaml/aggregate4.yml
304-
:language: yaml
305-
306-
Aggregate example 5
307-
"""""""""""""""""""
308-
309-
Example using "mean" aggregation, with weights calculated from cell thickness. "folderroot"
310-
is used as an alias. The map settings are calculated automatically, with resolution
311-
determined by "pixel_to_cell_ratio".
312-
313-
.. literalinclude:: ../tests/yaml/aggregate5.yml
314-
:language: yaml
315-
316-
Aggregate example 6
317-
"""""""""""""""""""
318-
319-
Example using date and zone filters
320-
321-
.. literalinclude:: ../tests/yaml/aggregate6.yml
322-
:language: yaml

docs/howitworks.rst

-34
Original file line numberDiff line numberDiff line change
@@ -14,40 +14,6 @@ sum hc thickness map per zone or by all zones that are spesified.
1414

1515
For average maps, a thickness weighted average is computed.
1616

17-
This is not applicable to `grid3d_aggregate_map` and `grid3d_migration_time`,
18-
which uses a different approach for aggregating layers.
19-
20-
`grid3d_aggregate_map` and `grid3d_migration_time`
21-
--------------------------------------------------
22-
23-
`grid3d_aggregate_map` and `grid3d_migration_time` uses a different approach
24-
when aggregating values. In general, the main difference from
25-
`grid3d_hc_thickness` and `grid3d_average_map` is that the result will be less
26-
smooth. Secondly, gaps in the grid (typically caused by faults), will not be
27-
filled.
28-
29-
.. image:: images/grid_aggregation.jpg
30-
31-
Each map node is first connected to all cells whose (approximate) footprint
32-
overlaps the map node. An artificial set of connections are illustrated by
33-
colors in the figure above.
34-
35-
Once the connections are established, the value of each map node is calculated
36-
from all the connected grid cells via one of the specified aggregation
37-
methods:
38-
39-
- Maximum
40-
- Minimum
41-
- Mean
42-
- Sum
43-
44-
Layer information and lateral distance from map node to grid cell center is
45-
currently not used. However, filters can be used to apply this per zone etc.
46-
47-
One benefit of this approach is that the map-node-to-grid-cell connection
48-
information can be re-used across time steps and properties, as long as the
49-
grid geometry does not change. This is beneficial for performance.
50-
5117
Further details
5218
---------------
5319

docs/images/grid_aggregation.jpg

-192 KB
Binary file not shown.

docs/installation.rst

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The stable release is on /project/res, so scripts can be run as:
1414
1515
$ grid3d_hc_thickness <options>
1616
$ grid3d_average_map <options>
17-
$ grid3d_aggregate_map <options>
18-
$ grid3d_migration_time <options>
1917
2018
2119
From sources

docs/usage.rst

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ other makes average maps
1111

1212
grid3d_average_map --config myfile_avg.yml
1313

14-
In addition, there are scripts for general aggregation (min/max/mean/sum),
15-
"grid3d_aggregate_map" and CO2 plume migration time, "grid3d_migration_time".
16-
These scripts are invoked similarly to the two above, but may not support all
17-
the features described below.
18-
1914
-------------------------
2015
Override the Eclipse root
2116
-------------------------

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ Documentation = "https://equinor.github.io/grid3d-maps"
8585
[project.scripts]
8686
grid3d_hc_thickness = "grid3d_maps.avghc.grid3d_hc_thickness:main"
8787
grid3d_average_map = "grid3d_maps.avghc.grid3d_average_map:main"
88-
grid3d_aggregate_map = "grid3d_maps.aggregate.grid3d_aggregate_map:main"
89-
grid3d_migration_time = "grid3d_maps.aggregate.grid3d_migration_time:main"
88+
9089

9190
[project.entry-points.ert]
9291
grid3d_maps_jobs = "grid3d_maps.hook_implementations.jobs"

src/grid3d_maps/aggregate/__init__.py

-4
This file was deleted.

src/grid3d_maps/aggregate/_config.py

-116
This file was deleted.

0 commit comments

Comments
 (0)