subscript 0.17.1__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. {subscript-0.17.1 → subscript-1.1.0}/.flake8 +2 -0
  2. {subscript-0.17.1 → subscript-1.1.0}/.github/workflows/publish.yml +7 -3
  3. {subscript-0.17.1 → subscript-1.1.0}/.github/workflows/subscript.yml +2 -6
  4. {subscript-0.17.1 → subscript-1.1.0}/PKG-INFO +41 -2
  5. subscript-1.1.0/SECURITY.md +16 -0
  6. {subscript-0.17.1 → subscript-1.1.0}/docs/conf.py +1 -0
  7. subscript-1.1.0/docs/scripts/casegen_upcars.rst +271 -0
  8. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/co2_containment.rst +2 -3
  9. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/eclcompress.rst +1 -3
  10. subscript-1.1.0/docs/scripts/images/casegen_upcars_geometry.png +0 -0
  11. {subscript-0.17.1 → subscript-1.1.0}/pyproject.toml +12 -4
  12. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/__init__.py +3 -3
  13. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/check_swatinit/plotter.py +4 -4
  14. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/co2_containment/calculate.py +3 -3
  15. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/co2_containment/co2_calculation.py +22 -22
  16. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/co2_containment/co2_containment.py +11 -13
  17. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclcompress/allowlist.py +2 -0
  18. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclcompress/eclcompress.py +12 -47
  19. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmuobs/fmuobs.py +17 -0
  20. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/hook_implementations/jobs.py +6 -2
  21. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/merge_rft_ertobs/merge_rft_ertobs.py +23 -3
  22. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ofmvol2csv/ofmvol2csv.py +7 -19
  23. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/restartthinner/restartthinner.py +13 -13
  24. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ri_wellmod/ri_wellmod.py +1 -1
  25. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/flux_obj.py +14 -14
  26. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/flux_util.py +7 -7
  27. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/sector2fluxnum.py +13 -13
  28. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/summaryplot/summaryplot.py +13 -13
  29. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sw_model_utilities/sw_model_utilities.py +1 -1
  30. subscript-1.1.0/src/subscript/version.py +16 -0
  31. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/welltest_dpds/welltest_dpds.py +3 -3
  32. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/PKG-INFO +41 -2
  33. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/SOURCES.txt +2 -1
  34. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/requires.txt +2 -4
  35. {subscript-0.17.1 → subscript-1.1.0}/tests/test_check_swatinit_simulators.py +14 -0
  36. {subscript-0.17.1 → subscript-1.1.0}/tests/test_co2_calculate.py +2 -2
  37. {subscript-0.17.1 → subscript-1.1.0}/tests/test_eclcompress.py +0 -39
  38. {subscript-0.17.1 → subscript-1.1.0}/tests/test_merge_rft_ertobs.py +88 -0
  39. {subscript-0.17.1 → subscript-1.1.0}/tests/test_presentvalue.py +4 -4
  40. {subscript-0.17.1 → subscript-1.1.0}/tests/test_summaryplot.py +2 -2
  41. {subscript-0.17.1 → subscript-1.1.0}/tests/test_welltest_dpds.py +6 -6
  42. subscript-0.17.1/docs/scripts/casegen_upcars.rst +0 -9
  43. subscript-0.17.1/setup.py +0 -15
  44. subscript-0.17.1/src/subscript/version.py +0 -4
  45. {subscript-0.17.1 → subscript-1.1.0}/.github/workflows/codecov.yml +0 -0
  46. {subscript-0.17.1 → subscript-1.1.0}/.gitignore +0 -0
  47. {subscript-0.17.1 → subscript-1.1.0}/.pylintrc +0 -0
  48. {subscript-0.17.1 → subscript-1.1.0}/LICENSE +0 -0
  49. {subscript-0.17.1 → subscript-1.1.0}/README.md +0 -0
  50. {subscript-0.17.1 → subscript-1.1.0}/ci/testkomodo.sh +0 -0
  51. {subscript-0.17.1 → subscript-1.1.0}/docs/Makefile +0 -0
  52. {subscript-0.17.1 → subscript-1.1.0}/docs/_static/equinor-logo.png +0 -0
  53. {subscript-0.17.1 → subscript-1.1.0}/docs/_static/equinor-logo2.jpg +0 -0
  54. {subscript-0.17.1 → subscript-1.1.0}/docs/_static/equinor-logo2.png +0 -0
  55. {subscript-0.17.1 → subscript-1.1.0}/docs/_static/equinor_logo.jpg +0 -0
  56. {subscript-0.17.1 → subscript-1.1.0}/docs/_static/equinor_logo_only.jpg +0 -0
  57. {subscript-0.17.1 → subscript-1.1.0}/docs/_templates/layout.html +0 -0
  58. {subscript-0.17.1 → subscript-1.1.0}/docs/contributing.rst +0 -0
  59. {subscript-0.17.1 → subscript-1.1.0}/docs/history.rst +0 -0
  60. {subscript-0.17.1 → subscript-1.1.0}/docs/index.rst +0 -0
  61. {subscript-0.17.1 → subscript-1.1.0}/docs/make.bat +0 -0
  62. {subscript-0.17.1 → subscript-1.1.0}/docs/overview.rst +0 -0
  63. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/bjobsusers.rst +0 -0
  64. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/check_swatinit.rst +0 -0
  65. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/convert_grid_format.rst +0 -0
  66. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/csv2ofmvol.rst +0 -0
  67. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/csv_merge.rst +0 -0
  68. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/csv_stack.rst +0 -0
  69. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/ecldiff2roff.rst +0 -0
  70. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/fmu_copy_revision.rst +0 -0
  71. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/fmuobs.rst +0 -0
  72. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/Pack_sim_overview.png +0 -0
  73. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/Summaryplot-ensemble.png +0 -0
  74. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/Summaryplot-ert.png +0 -0
  75. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/Summaryplot-normalizeexample.png +0 -0
  76. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/Workflow_sector2fluxnum.png +0 -0
  77. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/check_swatinit_scatter.png +0 -0
  78. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/check_swatinit_volplot.png +0 -0
  79. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/co2_containment_A.png +0 -0
  80. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/ecl-swat-initialization.png +0 -0
  81. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/make_check_swatinit_images.sh +0 -0
  82. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/images/resinsight_wells_project_example.png +0 -0
  83. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/interp_relperm.rst +0 -0
  84. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/merge_rft_ertobs.rst +0 -0
  85. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/ofmvol2csv.rst +0 -0
  86. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/pack_sim.rst +0 -0
  87. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/params2csv.rst +0 -0
  88. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/presentvalue.rst +0 -0
  89. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/prtvol2csv.csv +0 -0
  90. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/prtvol2csv.rst +0 -0
  91. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/restartthinner.rst +0 -0
  92. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/ri_wellmod.rst +0 -0
  93. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/rmsecl_volumetrics.rst +0 -0
  94. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/runeclipse.rst +0 -0
  95. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/runrms.rst +0 -0
  96. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/sector2fluxnum.rst +0 -0
  97. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/summaryplot.rst +0 -0
  98. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/sunsch.rst +0 -0
  99. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/sw_model_utilities.rst +0 -0
  100. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/vfp2csv.rst +0 -0
  101. {subscript-0.17.1 → subscript-1.1.0}/docs/scripts/welltest_dpds.rst +0 -0
  102. {subscript-0.17.1 → subscript-1.1.0}/docs/usage.rst +0 -0
  103. {subscript-0.17.1 → subscript-1.1.0}/setup.cfg +0 -0
  104. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/bjobsusers/__init__.py +0 -0
  105. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/bjobsusers/bjobsusers.py +0 -0
  106. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/casegen_upcars/__init__.py +0 -0
  107. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/casegen_upcars/casegen_upcars.py +0 -0
  108. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/casegen_upcars/model.py +0 -0
  109. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/casegen_upcars/udf.py +0 -0
  110. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/casegen_upcars/udf_arg_parser.py +0 -0
  111. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/check_swatinit/__init__.py +0 -0
  112. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/check_swatinit/check_swatinit.py +0 -0
  113. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/check_swatinit/constants.py +0 -0
  114. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/check_swatinit/pillarmodel.py +0 -0
  115. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/co2_containment/__init__.py +0 -0
  116. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/CHECK_SWATINIT +0 -0
  117. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/CSV2OFMVOL +0 -0
  118. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/CSV_STACK +0 -0
  119. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/ECLCOMPRESS +0 -0
  120. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/ECLDIFF2ROFF +0 -0
  121. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/ECLGRID2ROFF +0 -0
  122. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/ECLINIT2ROFF +0 -0
  123. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/ECLRST2ROFF +0 -0
  124. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/INTERP_RELPERM +0 -0
  125. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/MERGE_RFT_ERTOBS +0 -0
  126. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/OFMVOL2CSV +0 -0
  127. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/PARAMS2CSV +0 -0
  128. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/PRTVOL2CSV +0 -0
  129. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/RI_WELLMOD +0 -0
  130. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/SUNSCH +0 -0
  131. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/config_jobs/WELLTEST_DPDS +0 -0
  132. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/convert_grid_format/__init__.py +0 -0
  133. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/convert_grid_format/convert_grid_format.py +0 -0
  134. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv2ofmvol/__init__.py +0 -0
  135. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv2ofmvol/csv2ofmvol.py +0 -0
  136. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv_merge/__init__.py +0 -0
  137. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv_merge/csv_merge.py +0 -0
  138. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv_stack/__init__.py +0 -0
  139. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/csv_stack/csv_stack.py +0 -0
  140. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclcompress/__init__.py +0 -0
  141. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ecldiff2roff/__init__.py +0 -0
  142. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ecldiff2roff/ecldiff2roff.py +0 -0
  143. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclgrid2roff/eclgrid2roff.py +0 -0
  144. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclinit2roff/eclinit2roff.py +0 -0
  145. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/eclrst2roff/eclrst2roff.py +0 -0
  146. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmu_copy_revision/__init__.py +0 -0
  147. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmu_copy_revision/fmu_copy_revision.py +0 -0
  148. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmuobs/__init__.py +0 -0
  149. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmuobs/parsers.py +0 -0
  150. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmuobs/util.py +0 -0
  151. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/fmuobs/writers.py +0 -0
  152. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/hook_implementations/__init__.py +0 -0
  153. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/interp_relperm/__init__.py +0 -0
  154. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/interp_relperm/interp_relperm.py +0 -0
  155. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/duf +0 -0
  156. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/eclmanual +0 -0
  157. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/ertwatch +0 -0
  158. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/list_rms_usage +0 -0
  159. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/nosim +0 -0
  160. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/legacy/runeclipse +0 -0
  161. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/merge_rft_ertobs/__init__.py +0 -0
  162. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ofmvol2csv/__init__.py +0 -0
  163. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/pack_sim/__init__.py +0 -0
  164. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/pack_sim/pack_sim.py +0 -0
  165. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/params2csv/__init__.py +0 -0
  166. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/params2csv/params2csv.py +0 -0
  167. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/presentvalue/__init__.py +0 -0
  168. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/presentvalue/presentvalue.py +0 -0
  169. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/prtvol2csv/__init__.py +0 -0
  170. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/prtvol2csv/prtvol2csv.py +0 -0
  171. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/restartthinner/__init__.py +0 -0
  172. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/ri_wellmod/__init__.py +0 -0
  173. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/rmsecl_volumetrics/__init__.py +0 -0
  174. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/rmsecl_volumetrics/rmsecl_volumetrics.py +0 -0
  175. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/runrms/__init__.py +0 -0
  176. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/runrms/runrms.py +0 -0
  177. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/__init__.py +0 -0
  178. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/completions.py +0 -0
  179. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/datafile_obj.py +0 -0
  180. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sector2fluxnum/fluxfile_obj.py +0 -0
  181. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/summaryplot/__init__.py +0 -0
  182. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sunsch/__init__.py +0 -0
  183. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sunsch/sunsch.py +0 -0
  184. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sunsch/time_vector.py +0 -0
  185. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/sw_model_utilities/__init__.py +0 -0
  186. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/vfp2csv/__init__.py +0 -0
  187. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/vfp2csv/vfp2csv.py +0 -0
  188. {subscript-0.17.1 → subscript-1.1.0}/src/subscript/welltest_dpds/__init__.py +0 -0
  189. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/dependency_links.txt +0 -0
  190. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/entry_points.txt +0 -0
  191. {subscript-0.17.1 → subscript-1.1.0}/src/subscript.egg-info/top_level.txt +0 -0
  192. {subscript-0.17.1 → subscript-1.1.0}/tests/__init__.py +0 -0
  193. {subscript-0.17.1 → subscript-1.1.0}/tests/conftest.py +0 -0
  194. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.faults +0 -0
  195. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.grid +0 -0
  196. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.multflt +0 -0
  197. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.multz +0 -0
  198. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.perm +0 -0
  199. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/grid/reek.poro +0 -0
  200. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/let-sgof.txt +0 -0
  201. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/let-swof.txt +0 -0
  202. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/reek.endpoints +0 -0
  203. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/reek.pvt +0 -0
  204. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/reek.swatinit +0 -0
  205. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/sgof.txt +0 -0
  206. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/swof.inc +0 -0
  207. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/props/swof.txt +0 -0
  208. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/regions/reek.eqlnum +0 -0
  209. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/regions/reek.fipnum +0 -0
  210. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/schedule/reek_history.sch +0 -0
  211. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/solution/reek.equil +0 -0
  212. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/include/summary/reek.smry +0 -0
  213. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.DATA +0 -0
  214. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.ECLEND +0 -0
  215. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.EGRID +0 -0
  216. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.INIT +0 -0
  217. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.LOG +0 -0
  218. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.PRT +0 -0
  219. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.RFT +0 -0
  220. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.SMSPEC +0 -0
  221. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.UNRST +0 -0
  222. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/2_R001_REEK-0.UNSMRY +0 -0
  223. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/eclipse/model/parameters.txt +0 -0
  224. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/parameters.txt +0 -0
  225. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/rms/README +0 -0
  226. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/rms/reek.rms10.1.3/.master +0 -0
  227. {subscript-0.17.1 → subscript-1.1.0}/tests/data/reek/rms/reek.rms11.1.0/.master +0 -0
  228. {subscript-0.17.1 → subscript-1.1.0}/tests/data/vfp/GasProd.VFP +0 -0
  229. {subscript-0.17.1 → subscript-1.1.0}/tests/data/vfp/pd2.VFP +0 -0
  230. {subscript-0.17.1 → subscript-1.1.0}/tests/data/welltest/eclipse/model/DROGON_DST_PLT-0.SMSPEC +0 -0
  231. {subscript-0.17.1 → subscript-1.1.0}/tests/data/welltest/eclipse/model/DROGON_DST_PLT-0.UNSMRY +0 -0
  232. {subscript-0.17.1 → subscript-1.1.0}/tests/test_bjobsusers.py +0 -0
  233. {subscript-0.17.1 → subscript-1.1.0}/tests/test_casegen_upcars.py +0 -0
  234. {subscript-0.17.1 → subscript-1.1.0}/tests/test_check_swatinit.py +0 -0
  235. {subscript-0.17.1 → subscript-1.1.0}/tests/test_co2_containment.py +0 -0
  236. {subscript-0.17.1 → subscript-1.1.0}/tests/test_convert_grid_format.py +0 -0
  237. {subscript-0.17.1 → subscript-1.1.0}/tests/test_csv2ofmvol.py +0 -0
  238. {subscript-0.17.1 → subscript-1.1.0}/tests/test_csv_merge.py +0 -0
  239. {subscript-0.17.1 → subscript-1.1.0}/tests/test_csv_stack.py +0 -0
  240. {subscript-0.17.1 → subscript-1.1.0}/tests/test_docs.py +0 -0
  241. {subscript-0.17.1 → subscript-1.1.0}/tests/test_ecldiff2roff.py +0 -0
  242. {subscript-0.17.1 → subscript-1.1.0}/tests/test_fmu_copy_revision.py +0 -0
  243. {subscript-0.17.1 → subscript-1.1.0}/tests/test_fmuobs.py +0 -0
  244. {subscript-0.17.1 → subscript-1.1.0}/tests/test_fmuobs_parsers.py +0 -0
  245. {subscript-0.17.1 → subscript-1.1.0}/tests/test_fmuobs_writers.py +0 -0
  246. {subscript-0.17.1 → subscript-1.1.0}/tests/test_hook_implementations.py +0 -0
  247. {subscript-0.17.1 → subscript-1.1.0}/tests/test_interp_relperm.py +0 -0
  248. {subscript-0.17.1 → subscript-1.1.0}/tests/test_ofmvol2csv.py +0 -0
  249. {subscript-0.17.1 → subscript-1.1.0}/tests/test_pack_sim.py +0 -0
  250. {subscript-0.17.1 → subscript-1.1.0}/tests/test_params2csv.py +0 -0
  251. {subscript-0.17.1 → subscript-1.1.0}/tests/test_prtvol2csv.py +0 -0
  252. {subscript-0.17.1 → subscript-1.1.0}/tests/test_restartthinner.py +0 -0
  253. {subscript-0.17.1 → subscript-1.1.0}/tests/test_ri_wellmod.py +0 -0
  254. {subscript-0.17.1 → subscript-1.1.0}/tests/test_rmsecl_volumetrics.py +0 -0
  255. {subscript-0.17.1 → subscript-1.1.0}/tests/test_runrms.py +0 -0
  256. {subscript-0.17.1 → subscript-1.1.0}/tests/test_sector2fluxnum.py +0 -0
  257. {subscript-0.17.1 → subscript-1.1.0}/tests/test_subscriptlogger.py +0 -0
  258. {subscript-0.17.1 → subscript-1.1.0}/tests/test_sunsch.py +0 -0
  259. {subscript-0.17.1 → subscript-1.1.0}/tests/test_sw_model_utilities.py +0 -0
  260. {subscript-0.17.1 → subscript-1.1.0}/tests/test_vfp2csv.py +0 -0
  261. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_casegen_upcars/demo_large_scale.yaml +0 -0
  262. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_casegen_upcars/demo_small_scale.yaml +0 -0
  263. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_casegen_upcars/dump_value.tmpl +0 -0
  264. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_casegen_upcars/upcars_eclipse_ref_lg.tmpl +0 -0
  265. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_casegen_upcars/upcars_eclipse_ref_ss.tmpl +0 -0
  266. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_eclcompress/permxyz.grdecl +0 -0
  267. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/drogon_wbhp_rft_wct_gor_tracer_4d.obs +0 -0
  268. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/ert-doc.csv +0 -0
  269. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/ert-doc.obs +0 -0
  270. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/ert-doc.yml +0 -0
  271. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/fmu-ensemble-obs.yml +0 -0
  272. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/hist_obs_wells.txt +0 -0
  273. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_fmuobs/ri-obs.csv +0 -0
  274. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/cfg.yml +0 -0
  275. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/sgof_base.inc +0 -0
  276. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/sgof_opt.inc +0 -0
  277. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/sgof_pes.inc +0 -0
  278. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/swof_base.inc +0 -0
  279. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/swof_opt.inc +0 -0
  280. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_interp_relperm/swof_pes.inc +0 -0
  281. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/gendata_rft.csv +0 -0
  282. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A2.obs +0 -0
  283. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A2.txt +0 -0
  284. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A3.obs +0 -0
  285. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A3.txt +0 -0
  286. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A4.txt +0 -0
  287. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A4_1.obs +0 -0
  288. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A5.obs +0 -0
  289. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A5.txt +0 -0
  290. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A6.obs +0 -0
  291. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/R_A6.txt +0 -0
  292. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_merge_rft_ertobs/drogon/rft/well_date_rft.txt +0 -0
  293. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ofmvol2csv/fileA.vol +0 -0
  294. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ofmvol2csv/fileB.vol +0 -0
  295. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ofmvol2csv/fileC.vol +0 -0
  296. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ofmvol2csv/ofm_example.vol +0 -0
  297. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_include/grid/drogon.grid.grdecl +0 -0
  298. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_include/grid/drogon.ntg.grdecl +0 -0
  299. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_include/grid/drogon.perm.grdecl +0 -0
  300. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_trajectories/rft_wells.dat +0 -0
  301. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_trajectories/wells.dat +0 -0
  302. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/drogon_wells_noicd.rsp +0 -0
  303. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/reek_trajectories/reek_wells.dat +0 -0
  304. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_ri_wellmod/ri_reek_wells.rsp +0 -0
  305. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_runrms/runrms.yml +0 -0
  306. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/DUMPFLUX_TEST.DATA +0 -0
  307. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/DUMPFLUX_TEST.EGRID +0 -0
  308. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/DUMPFLUX_TEST.FLUX +0 -0
  309. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/OUT_COARSE.FLUX +0 -0
  310. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/TEST.DATA +0 -0
  311. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/TEST.EGRID +0 -0
  312. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/TEST.INIT +0 -0
  313. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sector2fluxnum/TEST.UNRST +0 -0
  314. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/config_v2.yml +0 -0
  315. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/emptyinit.sch +0 -0
  316. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/foo1.sch +0 -0
  317. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/footemplate.sch +0 -0
  318. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/initwithdates.sch +0 -0
  319. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/merge2.sch +0 -0
  320. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/mergeme.sch +0 -0
  321. {subscript-0.17.1 → subscript-1.1.0}/tests/testdata_sunsch/options3.sch +0 -0
@@ -1,3 +1,5 @@
1
1
  [flake8]
2
2
  max-line-length = 88
3
3
  ignore = E203, W503
4
+ exclude =
5
+ src/subscript/version.py
@@ -1,9 +1,8 @@
1
1
  name: Publish to PyPI
2
2
 
3
3
  on:
4
- push:
5
- tags:
6
- - '*'
4
+ release:
5
+ types: [published]
7
6
 
8
7
  jobs:
9
8
  pypi-publish:
@@ -26,6 +25,11 @@ jobs:
26
25
  with:
27
26
  python-version: 3.8
28
27
 
28
+ - name: Install build dependencies
29
+ run: |
30
+ pip install -U pip
31
+ pip install build
32
+
29
33
  - name: Build distributions
30
34
  run: python -m build
31
35
 
@@ -66,7 +66,7 @@ jobs:
66
66
 
67
67
  - name: Lint with black
68
68
  if: ${{ always() }}
69
- run: black --check *.py src tests
69
+ run: black --check src tests
70
70
 
71
71
  - name: Lint with flake8
72
72
  if: ${{ always() }}
@@ -78,11 +78,7 @@ jobs:
78
78
 
79
79
  - name: Run tests
80
80
  if: ${{ always() }}
81
- run: |
82
- pytest -n auto tests
83
- # Check that repository is untainted by test code:
84
- git status --porcelain
85
- test -z "$(git status --porcelain)"
81
+ run: pytest -n auto tests
86
82
 
87
83
  - name: Syntax check documentation
88
84
  if: ${{ always() }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: subscript
3
- Version: 0.17.1
3
+ Version: 1.1.0
4
4
  Summary: Equinor's collection of subsurface reservoir modelling scripts
5
5
  Author-email: Equinor <rnyb@equinor.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -696,9 +696,48 @@ Classifier: Natural Language :: English
696
696
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
697
697
  Requires-Python: >=3.8
698
698
  Description-Content-Type: text/markdown
699
+ License-File: LICENSE
700
+ Requires-Dist: configsuite
701
+ Requires-Dist: resdata
702
+ Requires-Dist: ecl2df
703
+ Requires-Dist: ert>=2.38.0b7
704
+ Requires-Dist: fmu-tools
705
+ Requires-Dist: matplotlib
706
+ Requires-Dist: numpy<2
707
+ Requires-Dist: opm>=2021.10
708
+ Requires-Dist: pandas
709
+ Requires-Dist: pyscal
710
+ Requires-Dist: pyyaml
711
+ Requires-Dist: rips
712
+ Requires-Dist: scipy
713
+ Requires-Dist: seaborn
714
+ Requires-Dist: segyio
715
+ Requires-Dist: shapely
716
+ Requires-Dist: urllib3<2
717
+ Requires-Dist: xlrd
718
+ Requires-Dist: xtgeo
699
719
  Provides-Extra: tests
720
+ Requires-Dist: black; extra == "tests"
721
+ Requires-Dist: flake8; extra == "tests"
722
+ Requires-Dist: isort; extra == "tests"
723
+ Requires-Dist: mypy; extra == "tests"
724
+ Requires-Dist: pytest; extra == "tests"
725
+ Requires-Dist: pytest-cov; extra == "tests"
726
+ Requires-Dist: pytest-mock; extra == "tests"
727
+ Requires-Dist: pytest-xdist; extra == "tests"
728
+ Requires-Dist: rstcheck; extra == "tests"
729
+ Requires-Dist: rstcheck-core; extra == "tests"
730
+ Requires-Dist: types-Jinja2; extra == "tests"
731
+ Requires-Dist: types-PyYAML; extra == "tests"
732
+ Requires-Dist: types-python-dateutil; extra == "tests"
700
733
  Provides-Extra: docs
701
- License-File: LICENSE
734
+ Requires-Dist: autoapi; extra == "docs"
735
+ Requires-Dist: sphinx; extra == "docs"
736
+ Requires-Dist: sphinx-argparse; extra == "docs"
737
+ Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
738
+ Requires-Dist: sphinx-copybutton; extra == "docs"
739
+ Requires-Dist: sphinx-togglebutton; extra == "docs"
740
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
702
741
 
703
742
  # subscript
704
743
 
@@ -0,0 +1,16 @@
1
+ If you discover a security vulnerability in this project, please follow these steps to responsibly disclose it:
2
+
3
+ 1. **Do not** create a public GitHub issue for the vulnerability.
4
+ 2. Follow our guideline for Responsible Disclosure Policy at [https://www.equinor.com/about-us/csirt](https://www.equinor.com/about-us/csirt) to report the issue
5
+
6
+ The following information will help us triage your report more quickly:
7
+
8
+ - Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
9
+ - Full paths of source file(s) related to the manifestation of the issue
10
+ - The location of the affected source code (tag/branch/commit or direct URL)
11
+ - Any special configuration required to reproduce the issue
12
+ - Step-by-step instructions to reproduce the issue
13
+ - Proof-of-concept or exploit code (if possible)
14
+ - Impact of the issue, including how an attacker might exploit the issue
15
+
16
+ We prefer all communications to be in English.
@@ -48,6 +48,7 @@ release = version
48
48
  extensions = [
49
49
  "autoapi.sphinx",
50
50
  "sphinx_copybutton",
51
+ "sphinx_togglebutton",
51
52
  "sphinx.ext.autodoc",
52
53
  "sphinx.ext.autosummary",
53
54
  "sphinx.ext.inheritance_diagram",
@@ -0,0 +1,271 @@
1
+
2
+ CASEGEN_UPCARS
3
+ ==============
4
+
5
+ casegen_upcars is a script to generate simple conceptual models at different
6
+ scales, containing different types of heterogeneity e.g. matrix, fracture, vug,
7
+ fault, super-K layers etc. The script is developed as part of UpCaRs (Upscaling
8
+ in complex carbonate reservoirs) project.
9
+
10
+ Output from casegen_upcars is in the form of Eclipse simulation models. These
11
+ models can be run to investigate the impact of changing geological properties on
12
+ fluid flow.
13
+
14
+ The script can generate various types of grid structures (tilting, dome, and
15
+ hull) and throws. The input file is in yaml format.
16
+
17
+ .. figure:: images/casegen_upcars_geometry.png
18
+ :align: center
19
+ :width: 90%
20
+
21
+ |
22
+
23
+ .. admonition:: Example of configuration file
24
+ :class: dropdown
25
+
26
+ .. code:: yaml
27
+
28
+ # UpCaRs Case Generator Configuration File
29
+ General:
30
+ # Path to Eclipse template file ('--et','--ET','--eclTemplate')
31
+ TemplateFile : upcars_eclipse_ref_ss.tmpl
32
+ # BaseName of generated simulation files
33
+ #BaseName : AHM_<nCells>_LXY_<lx>_X_<ly>_M_GXY_<geometryFacX>_<geometryFacY>
34
+ BaseName : SMALL_SCALE
35
+ Seed : 12345
36
+
37
+ Geometry:
38
+ # Number of matrix/main element grid cells, x-direction ('--nMatrixX','--NMATRIXX','--nMatrixX')
39
+ CellMatrixX : [25,25]
40
+
41
+ # Increment in x-direction ('--dx','--DX','--incX')
42
+ dx : 0.08
43
+
44
+ # Number of matrix/main element grid cells, y-direction ('--nMatrixY','--NMATRIXY','--nMatrixY')
45
+ CellMatrixY : [25, 25]
46
+
47
+ # Increment in y-direction ('--dy','--DY','--incY')
48
+ dy : 0.08
49
+
50
+ # Top point of the model ('--top')
51
+ top : 1500.0
52
+
53
+ # Parameters describing the shape of model
54
+ # Formula for top depth is defined as:
55
+ # z : radius_z*(1.0 - (x-xo)² / radius_x² - (y-yo)² / radius_y²)^0.5 + (x - xo) * tan(tilt)
56
+ # For slab, set radius_z to 0
57
+ # For hull, set either radius_x or radius_y to very high number e.g. 1E999
58
+
59
+ # Curvature radius in x-direction for dome/hull shape ('--radiusX')
60
+ radius_x : 9000.0
61
+ # Curvature radius in y-direction for dome/hull shape ('--radiusY')
62
+ radius_y : 9000.0
63
+ # Curvature radius in z-direction for home/hull shape, set to zero for slab ('--radiusZ')
64
+ radius_z : 0.0
65
+ # Tilting angle in degree (relative to x-axis) ('--tilt')
66
+ tilt : 0.0
67
+ # Location of dome/hull top point, fraction to length of the model in X-direction ('--centroidX', '--centroid_x')
68
+ centroid_x : 0.5
69
+ # Location of dome/hull top point, fraction to length of the model in Y-direction ('--centroidY', '--centroid_y')
70
+ centroid_y : 0.5
71
+
72
+ Layers:
73
+ Background Matrix:
74
+ NZ : 50 # Total number of cells in z-direction, including heterogeneous layers ('--matrix_nz)
75
+ dz : 0.02 # Cell size in z-direction, only applied to background matrix ('--matrix_dz')
76
+ Porosity: 0.09 # background matrix porosity ('--matrix_poro')
77
+ Permeability: 5.0 # background matrix permeability ('--matrix_perm')
78
+ MULTX: 1.0 # background MULTX ('--matrix_multx')
79
+ MULTY: 1.0 # background MULTY ('--matrix_multy')
80
+ MULTPV: 1.0 # background MULTPV ('--matrix_multpv')
81
+ FIPNUM: 1 # background FIPNUM ('--matrix_fipnum')
82
+ SATNUM: 1 # background SATNUM ('--matrix_satnum')
83
+ SWATINIT: 0.2 # background SWATINIT ('--matrix_swatinit')
84
+ Streaks:
85
+ k: [25] # Streak start index ('--streak_k')
86
+ NZ: 1 # Streak NZ, can be constant for all streaks or specified for each streak ('--streak_nz')
87
+ dz: 0.05 # Streak dz, can be constant for all streaks or specified for each streak ('--streak_dz')
88
+ Porosity: 0.1 # Streak porosity, can be constant for all streaks or specified for each streak ('--streak_poro')
89
+ Permeability: 500.0 # Streak permeability, can be constant for all streaks or specified for each streak ('-streak_perm')
90
+ MULTX: 1.0 # Streak MULTX, can be constant for all streaks or specified for each streak ('--streak_multx')
91
+ MULTY: 1.0 # Streak MULTY, can be constant for all streaks or specified for each streak ('--streak_multy')
92
+ MULTPV: 1.0 # Streak MULTPV, can be constant for all streaks or specified for each streak ('--streak_multpv')
93
+ FIPNUM: 3 # Streak FIPNUM, can be constant for all streaks or specified for each streak ('--streak_fipnum')
94
+ SATNUM: 2 # Streak SATNUM, can be constant for all streaks or specified for each streak ('--streak_satnum')
95
+ SWATINIT: 0.2 # Streak SWATINIT, can be constant for all streaks or specified for each streak ('--streak_swatinit')
96
+ BoundingBox: # Streak bounding box [i1, i2, j1, j2], can be single box for all streaks or specified for each streak
97
+
98
+ Throws:
99
+ # Define throws, can be left empty. Use '--throw' to specify the list of throws and '--no_throw' to remove all specified throws
100
+ # Start_region_in_x-_direction
101
+ i1 : []
102
+ # End_region_in_x-_direction
103
+ i2 : []
104
+ # Start_region in_y-_direction
105
+ j1 : []
106
+ # End_region_in_y-_direction
107
+ j2 : []
108
+ # Shift_amount_in_z-_direction
109
+ dz : []
110
+
111
+ Fracture:
112
+ # Flag to remove fracture at boundary ('--noBoundaryFracture', '--BoundaryFracture')
113
+ NoBoundaryFracture : No
114
+ # Fracture thickness ('--ft','--FT','--fractureThickness')
115
+ FractureThickness : 0.05
116
+ # Number of cells in fracture ('--ndz','--NDZ','--cellsDamageZone')
117
+ FractureCells : 1
118
+
119
+ # Properties for fracture along x-axis
120
+ FractureX:
121
+ # Length of the fracture in fraction of model lx ('--fLengthX', '--FLENGTHX', '--flengthx')
122
+ Length: 1.0
123
+ # Offset of the fracture in fraction of model lx, will be adjusted to honor length ('--fOffsetX', '--FOFFSETX', '--foffsetx')
124
+ Offset: 0.0
125
+ # Height of the fracture in fraction of model lz ('--fHeightX', '--FHEIGHTX', '--fheightx')
126
+ Height: 1.0
127
+ # Z-offset of the fracture in fraction of model lz, will be adjusted to honor height ('--fVertOffsetX', '--FVERTOFFSETX', '--fvertoffsetx')
128
+ ZOffset: 0.0
129
+ # Fracture permeability for x-direction faults, can be a single value or list of values ('--fracPermX', '--FRACPERMX', '--fracpermx')
130
+ Permeability: 780.0
131
+
132
+ FractureY:
133
+ # Length of the fracture in fraction of model ly ('--fLengthY', '--FLENGTHY', '--flengthy')
134
+ Length: 1.0
135
+ # Offset of the fracture in fraction of model ly, will be adjusted to honor length ('--fOffsetY', '--FOFFSETY', '--foffsety')
136
+ Offset: 0
137
+ # Height of the fracture in fraction of model lz ('--fHeightY', '--FHEIGHTY', '--fheighty')
138
+ Height: 1.0
139
+ # Z-offset of the fracture in fraction of model lz, will be adjusted to honor height ('--fVertOffsetY', '--FVERTOFFSETY', '--fvertoffsety')
140
+ ZOffset: 0.0
141
+ # Fracture permeability for y-direction faults, can be a single value or list of values ('--fracPermY', '--FRACPERMY', '--fracpermy')
142
+ Permeability: 780.0
143
+
144
+ # Fracture porosity ('--porf','--PORF','--poroFracture')
145
+ Porosity : 0.1
146
+ # Fracture transmissibility multiplier in x- direction ('--multx','--MULTX','--multx')
147
+ MULTX : 1
148
+ # Fracture transmissibility multiplier in y- direction ('--multy','--MULTY','--multy')
149
+ MULTY : 1
150
+ # Fracture pore volume multiplier ('--pvDamage','--PVDAMAGE','--pvDamage')
151
+ MULTPV : 1
152
+ # Fracture FIPNUM ('--fipnumf','--FIPNUMF','--fipnumF')
153
+ FIPNUM : 2
154
+ # Fracture SATNUM ('--satnumf','--SATNUMF','--satnumF')
155
+ SATNUM : 2
156
+ # Fracture SWATINIT ('--swatinitf', '--SWATINITF', '--swatinitF')
157
+ SWATINIT : 1.0
158
+
159
+ Near Fracture Vug:
160
+ # Specify how many cells between fracture and vugs, put 0 to allow connection between fracture and vugs
161
+ Distance_to_fracture: 0
162
+ # Fraction of vugs to matrix, between 0 and 1 ('--vug1volume', '--VUG1VOLUME', '--vug1Volume')
163
+ Fraction :
164
+ Min : 0.0
165
+ Max : 0.0
166
+ # Spreading factor for near fracture vug. Small value will make vug concentrated near fracture ('--vug1Spread', '--VUG1SPREAD','--vug1_spread')
167
+ SpreadingFactor: 2.0
168
+ # Vug porosity interval, uniformly distributed ('--vug1Poro','--VUG1PORO','--vug1Poro')
169
+ Porosity :
170
+ Min : 0.1
171
+ Max : 0.1
172
+ # Vug permeability interval, uniformly distributed ('--vug1Perm','--VUG1PERM','--vug1Perm')
173
+ Permeability :
174
+ Min : 1000
175
+ Max : 10000
176
+ # Vugs transmissibility multiplier in x- direction ('--vug1MULTX', '--vug1multx')
177
+ MULTX : 1
178
+ # Vugs transmissibility multiplier in y- direction ('--vug1MULTY', '--vug1multy')
179
+ MULTY : 1
180
+ # Vugs pore volume multiplier ('--vug1MULTPV', '--vug1multpv')
181
+ MULTPV : 1
182
+ # Vugs FIPNUM ('--vug1FIPNUM', '--vug1fipnum')
183
+ FIPNUM : 3
184
+ # Vugs SATNUM ('--vug1SATNUM', '--vug1satnum')
185
+ SATNUM : 2
186
+ # Vugs initial water saturation ('--vug1SWATINIT', '--vug1swatinit')
187
+ SWATINIT : 1.0
188
+
189
+ Random Vug:
190
+ # Fraction of vugs to matrix, between 0 and 1 ('--vug2Volume', '--VUG2VOLUME', '--vug2Volume')
191
+ Fraction :
192
+ Min : 0.0
193
+ Max : 0.0
194
+ # Vug porosity interval, uniformly distributed ('--vug2Poro','--VUG2PORO','--vug2Poro')
195
+ Porosity :
196
+ Min : 0.1
197
+ Max : 0.1
198
+ # Vug permeability interval, uniformly distributed ('--vug2Perm','--VUG2PERM','--vug2Perm')
199
+ Permeability :
200
+ Min : 1000.0
201
+ Max : 10000.0
202
+ # Vugs transmissibility multiplier in x- direction ('--vug2MULTX', '--vug2multx')
203
+ MULTX : 1.0
204
+ # Vugs transmissibility multiplier in y- direction ('--vug2MULTY', '--vug2multy')
205
+ MULTY : 1.0
206
+ # Vugs pore volume multiplier ('--vug2MULTPV', '--vug2multpv')
207
+ MULTPV : 1.0
208
+ # Vugs FIPNUM ('--vug2FIPNUM', '--vug2fipnum')
209
+ FIPNUM : 4
210
+ # Vugs SATNUM ('--vug2SATNUM', '--vug2satnum')
211
+ SATNUM : 2
212
+ # Vugs initial water saturation.('--vug2SWATINIT', '--vug2swatinit')
213
+ SWATINIT : 1.0
214
+
215
+ Near Streak Vug:
216
+ # Specify how many cells between streak and vug, put 0 to allow connection between streak and vugs
217
+ Distance_to_streak: 1
218
+ # Fraction of vugs to matrix, between 0 and 1 ('--vug3volume', '--VUG3VOLUME', '--vug3Volume')
219
+ Fraction :
220
+ Min : 0.0
221
+ Max : 0.0
222
+ # Spreading factor for near fracture vug. Small value will make vug concentrated near fracture ('--vug3Spread', '--VUG3SPREAD','--vug3_spread')
223
+ SpreadingFactor: 2.0
224
+ # Vug porosity interval, uniformly distributed ('--vug3Poro','--VUG3PORO','--vug3Poro')
225
+ Porosity :
226
+ Min : 0.1
227
+ Max : 0.1
228
+ # Vug permeability interval, uniformly distributed ('--vug3Perm','--VUG3PERM','--vug3Perm')
229
+ Permeability :
230
+ Min : 1000
231
+ Max : 10000
232
+ # Vugs transmissibility multiplier in x- direction ('--vug3MULTX', '--vug3multx')
233
+ MULTX : 1
234
+ # Vugs transmissibility multiplier in y- direction ('--vug3MULTY', '--vug3multy')
235
+ MULTY : 1
236
+ # Vugs pore volume multiplier ('--vug3MULTPV', '--vug3multpv')
237
+ MULTPV : 1
238
+ # Vugs FIPNUM ('--vug3FIPNUM', '--vug3fipnum')
239
+ FIPNUM : 4
240
+ # Vugs SATNUM ('--vug3SATNUM', '--vug3satnum')
241
+ SATNUM : 2
242
+ # Vugs initial water saturation ('--vug3SWATINIT', '--vug3swatinit')
243
+ SWATINIT : 0.0
244
+
245
+ Variables:
246
+ # Optional variables that can be used as expression in template file
247
+ # Can be added/changed in command line using ('--var', '--VAR', '--Var')
248
+ # for example --var nx_prod 2
249
+
250
+ # Number of perforated blocks for production well in x-direction
251
+ nx_prod : 2
252
+ # Number of perforated blocks for injection well in y-direction
253
+ nx_inj : 3
254
+ # Permeability anisotropy
255
+ kvkh : 1
256
+ # Injection rate
257
+ injRate : 0.01
258
+ # Production rate
259
+ prodRate : 0.01
260
+
261
+ There is an ERT workflow which utilized casegen_upcars for sensitivity study.
262
+ More information can be found in `wiki page <https://wiki.equinor.com/wiki/index.php/UpCaRs_Upscaling_casegenERT>`_
263
+
264
+ Command line syntax
265
+ -------------------
266
+
267
+ .. argparse::
268
+ :module: subscript.casegen_upcars.casegen_upcars
269
+ :func: get_parser
270
+ :prog: casegen_upcars
271
+
@@ -12,9 +12,8 @@ Calculates the amount of CO\ :sub:`2` inside and outside a given perimeter, and
12
12
  The most common use of the script is to calculate CO\ :sub:`2` mass. Options for calculation type input:
13
13
 
14
14
  * "mass": CO\ :sub:`2` mass (kg), the default option
15
- * "volume_extent": CO\ :sub:`2` volume (m\ :sup:`3`), a simple calculation finding the grid cells with some CO\ :sub:`2` and summing the volume of those cells
16
- * "volume_actual": CO\ :sub:`2` volume (m\ :sup:`3`), an attempt to calculate a more precise representative volume of CO\ :sub:`2`
17
- * "volume_actual_simple": CO\ :sub:`2` volume (m\ :sup:`3`), simplified version of "volume_actual"
15
+ * "cell_volume": CO\ :sub:`2` volume (m\ :sup:`3`), a simple calculation finding the grid cells with some CO\ :sub:`2` and summing the volume of those cells
16
+ * "actual_volume": CO\ :sub:`2` volume (m\ :sup:`3`), an attempt to calculate a more precise representative volume of CO\ :sub:`2`
18
17
 
19
18
  CSV file example
20
19
  ----------------------------
@@ -76,9 +76,7 @@ Notes
76
76
  compressed file into account.
77
77
  - Eclipse loading time of the compressed file is probably reduced by the
78
78
  same factor as the compression factor.
79
- - Only known compressable keywords are compressed by default. If you wish
80
- to specify particular keywords or a regex instead this can be provided
81
- directly through the command line.
79
+ - Only known compressable keywords are compressed.
82
80
 
83
81
 
84
82
  Possible improvements
@@ -36,16 +36,14 @@ classifiers = [
36
36
  dynamic = ["version"]
37
37
  dependencies = [
38
38
  "configsuite",
39
- "ecl",
39
+ "resdata",
40
40
  "ecl2df",
41
41
  "ert>=2.38.0b7",
42
42
  "fmu-tools",
43
43
  "matplotlib",
44
44
  "numpy<2",
45
45
  "opm>=2021.10",
46
- "packaging",
47
46
  "pandas",
48
- "protobuf",
49
47
  "pyscal",
50
48
  "pyyaml",
51
49
  "rips",
@@ -72,7 +70,6 @@ tests = [
72
70
  "rstcheck-core",
73
71
  "types-Jinja2",
74
72
  "types-PyYAML",
75
- "types-pkg_resources",
76
73
  "types-python-dateutil",
77
74
  ]
78
75
  docs = [
@@ -81,6 +78,7 @@ docs = [
81
78
  "sphinx-argparse",
82
79
  "sphinx-autodoc-typehints",
83
80
  "sphinx-copybutton",
81
+ "sphinx-togglebutton",
84
82
  "sphinx_rtd_theme",
85
83
  ]
86
84
 
@@ -127,6 +125,16 @@ CsvStack = "subscript.csv_stack.csv_stack"
127
125
  FmuObs = "subscript.fmuobs.fmuobs"
128
126
  Params2Csv = "subscript.params2csv.params2csv"
129
127
 
128
+ [tool.setuptools]
129
+ script-files = [
130
+ "src/subscript/legacy/duf",
131
+ "src/subscript/legacy/eclmanual",
132
+ "src/subscript/legacy/ertwatch",
133
+ "src/subscript/legacy/list_rms_usage",
134
+ "src/subscript/legacy/nosim",
135
+ "src/subscript/legacy/runeclipse",
136
+ ]
137
+
130
138
  [tool.black]
131
139
  line-length = 88
132
140
 
@@ -2,10 +2,10 @@ import logging
2
2
  import sys
3
3
 
4
4
  try:
5
- import pkg_resources
5
+ from importlib import metadata
6
6
 
7
- __version__ = pkg_resources.get_distribution(__name__).version
8
- except pkg_resources.DistributionNotFound:
7
+ __version__ = metadata.version(__name__)
8
+ except metadata.PackageNotFoundError:
9
9
  pass
10
10
 
11
11
 
@@ -88,7 +88,7 @@ def visual_depth(qc_frame: pd.DataFrame) -> float:
88
88
 
89
89
 
90
90
  def swat_depth(
91
- qc_frame: pd.DataFrame, axis: pyplot.Axes = None, hue: str = "QC_FLAG"
91
+ qc_frame: pd.DataFrame, axis: Optional[pyplot.Axes] = None, hue: str = "QC_FLAG"
92
92
  ) -> None:
93
93
  """Make a SWAT vs depth plot on current axis"""
94
94
  if axis is None:
@@ -103,7 +103,7 @@ def swat_depth(
103
103
 
104
104
 
105
105
  def swatinit_depth(
106
- qc_frame: pd.DataFrame, axis: pyplot.Axes = None, hue: str = "QC_FLAG"
106
+ qc_frame: pd.DataFrame, axis: Optional[pyplot.Axes] = None, hue: str = "QC_FLAG"
107
107
  ) -> None:
108
108
  """Make a swatinit vs depth plot on current axis"""
109
109
  if axis is None:
@@ -118,7 +118,7 @@ def swatinit_depth(
118
118
 
119
119
 
120
120
  def pressure_depth(
121
- qc_frame: pd.DataFrame, axis: pyplot.Axes = None, hue: str = "QC_FLAG"
121
+ qc_frame: pd.DataFrame, axis: Optional[pyplot.Axes] = None, hue: str = "QC_FLAG"
122
122
  ) -> None:
123
123
  """Make a pressure vs. depth plot on current axis"""
124
124
  if axis is None:
@@ -133,7 +133,7 @@ def pressure_depth(
133
133
 
134
134
 
135
135
  def pc_depth(
136
- qc_frame: pd.DataFrame, axis: pyplot.Axes = None, hue: str = "QC_FLAG"
136
+ qc_frame: pd.DataFrame, axis: Optional[pyplot.Axes] = None, hue: str = "QC_FLAG"
137
137
  ) -> None:
138
138
  """Make a pc vs depth plot on current axis"""
139
139
  if axis is None:
@@ -60,7 +60,7 @@ def calculate_co2_containment(
60
60
  hazardous_polygon (Union[Polygon,Multipolygon]): The polygon that defines
61
61
  the hazardous area
62
62
  calc_type (CalculationType): Which calculation is to be performed
63
- (mass / volume_extent / volume_actual / volume_actual_simple)
63
+ (mass / cell_volume / actual_volume / actual_volume_simplified)
64
64
 
65
65
  Returns:
66
66
  List[ContainedCo2]
@@ -85,7 +85,7 @@ def calculate_co2_containment(
85
85
  is_inside = [x if not y else False for x, y in zip(is_contained, is_hazardous)]
86
86
  is_outside = [not x and not y for x, y in zip(is_contained, is_hazardous)]
87
87
  if co2_data.zone is None:
88
- if calc_type == CalculationType.VOLUME_EXTENT:
88
+ if calc_type == CalculationType.CELL_VOLUME:
89
89
  return [
90
90
  c
91
91
  for w in co2_data.data_list
@@ -131,7 +131,7 @@ def calculate_co2_containment(
131
131
  ]
132
132
  ]
133
133
  zone_map = {z: co2_data.zone == z for z in np.unique(co2_data.zone)}
134
- if calc_type == CalculationType.VOLUME_EXTENT:
134
+ if calc_type == CalculationType.CELL_VOLUME:
135
135
  return [
136
136
  c
137
137
  for w in co2_data.data_list