Reading CSV files#

Combine CSV and OPM Flow data.

Use plopm -cc to combine CSV and OPM Flow data.

plopm -v xco2l -i 'r1_Cart_10m/R1_CART_10M r1_Cart_10m/spe11b_spatial_map_500y' -cc ';1,2,5' -sg 2,1 -rdl 1 -r 100 -fs 10,3 -st 0 -t 'Simulation grid  Reporting grid' -cbp 0.35,0.97,0.3,0.02 -yu km -xu km -yf .1f -xf .1f -cbn 5 -xnt 8 -cbf .2f
../_images/spe11b_spatial_map_500y_xco2l_csv_t100.png

Compare a CSV series with an OPM summary vector.

plopm -i 'r1_Cart_10m/spe11b_time_series r1_Cart_10m/R1_CART_10M' -v ',BWPR:256,1,5' -cc '1,3;' -sf '1e-5,1' -ls 'solid,dotted' -lw '4,4' -yl 'Sensor pressure [bar]' -llb 'From CSV file  From OPM Flow output file' -c 'r,k'
../_images/spe11b_time_series_BWPR-1944.png

Compare several benchmark series.

../_images/spe11b_time_series_csv_ens.png

Compare several benchmark spatial maps.

../_images/spe11b_spatial_map_250y_csv_csv_t-1.png

Reproduce this example#

Run the complete workflow from the repository root:

. ./tests/scripts/docs_reading_csvs.sh

Back to the examples gallery